TinyML-Based Real-Time Drift Compensation for Gas Sensors Using Spectral–Temporal Neural Networks

The implementation of low-cost sensitive and selective gas sensors for monitoring fruit ripening and quality strongly depends on their long-term stability. Gas sensor drift undermines the long-term reliability of low-cost sensing platforms, particularly in precision agriculture. We present a real-ti...

Full description

Saved in:
Bibliographic Details
Main Authors: Adir Krayden, M. Avraham, H. Ashkar, T. Blank, S. Stolyarova, Yael Nemirovsky
Format: Article
Language:English
Published: MDPI AG 2025-06-01
Series:Chemosensors
Subjects:
Online Access:https://www.mdpi.com/2227-9040/13/7/223
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:The implementation of low-cost sensitive and selective gas sensors for monitoring fruit ripening and quality strongly depends on their long-term stability. Gas sensor drift undermines the long-term reliability of low-cost sensing platforms, particularly in precision agriculture. We present a real-time drift compensation framework based on a lightweight Temporal Convolutional Neural Network (TCNN) combined with a Hadamard spectral transform. The model operates causally on incoming sensor data, achieving a mean absolute error below 1 mV on long-term recordings (equivalent to <1 particle per million (ppm) gas concentration). Through quantization, we compress the model by over 70%, without sacrificing accuracy. Demonstrated on a combustion-type gas sensor system (dubbed GMOS) for ethylene monitoring, our approach enables continuous, drift-corrected operation without the need for recalibration or dependence on cloud-based services, offering a generalizable solution for embedded environmental sensing—in food transportation containers, cold storage facilities, de-greening rooms and directly in the field.
ISSN:2227-9040