High-fidelity embedded gas sensing: a unified deep learning framework for simultaneous identification and quantification
- 9 January 2026
- journal article
- Published by IOP Publishing in Measurement Science and Technology
- Vol. 37 (3) , 035109
Abstract
Electronic nose systems are a transformative technology, enabling low-cost, real-time gas analysis for critical applications in environmental monitoring, industrial safety, and medical diagnostics. However, their practical performance is fundamentally limited by the computational challenge of analyzing time-series data from their sensor arrays. Conventional machine learning (ML) pipelines rely on lossy feature engineering and employ separate, inefficient models for gas classification and concentration regression, a methodology that fundamentally limits predictive accuracy. This paper presents a unified multitask deep learning model that solves these problems through three key innovations. First, the model learns features directly from the complete, raw sensor time-series using a convolutional neural network, avoiding information loss from pre-processing. Second, a novel attention mechanism links the classification and regression tasks, allowing the model to use the identified gas type to improve its concentration estimate. Third, a custom loss function was developed to ensure high accuracy across a wide range of gas concentrations, a critical challenge in chemical sensing. Using 5-fold cross-validation, the model achieved 100% accuracy in gas classification and a mean absolute percentage error (MAPE) of 6.61% for concentration regression, results that significantly outperform classical ML benchmarks. We also demonstrated the model’s efficiency by deploying it on 10 different STM32 microcontrollers, confirming its suitability for real-time embedded applications. This work provides a robust framework for developing high-performance, AI-based chemical sensors and offers a foundational methodology for future analysis of complex gas mixtures. The source code and data are provided in this GitHub repo: https://github.com/quenx-rd/gas_identifier_public .Keywords
Funding Information
- Ministry of Science and Technology of Vietnam (KC.06.04/21-30)
This publication has 45 references indexed in Scilit:
- Transformer-based odor recognition on E-nose platformsResults in Engineering, 2025
- SARS-CoV-2 detecting rapid metasurface-based sensorDiamond and Related Materials, 2022
- A new sensor fault diagnosis method for gas leakage monitoring based on the naive Bayes and probabilistic neural network classifierMeasurement, 2022
- MoS2 nanosheets-decorated SnO2 nanofibers for enhanced SO2 gas sensing performance and classification of CO, NH3 and H2 gasesAnalytica Chimica Acta, 2021
- Effective monitoring and classification of hydrogen and ammonia gases with a bilayer Pt/SnO2 thin film sensorInternational Journal of Hydrogen Energy, 2020
- Electronic Nose and Its Applications: A SurveyInternational Journal of Automation and Computing, 2019
- Detection and classification of diesel-biodiesel blends by LDA, QDA and SVM approaches using an electronic noseFuel, 2019
- Electronic Noses: From Advanced Materials to Sensors Aided with Data ProcessingAdvanced Materials Technologies, 2018
- Semiconductor metal oxide gas sensors: A reviewMaterials Science and Engineering: B, 2018
- Review of Electronic-nose Technologies and Algorithms to Detect Hazardous Chemicals in the EnvironmentProcedia Technology, 2012