Yuanhu Zeng , Zhencheng Liu , Zhenyu Liu , Xiaoyan Peng , Hao Cui , Jia Yan , Shukai Duan , Lidan Wang , Jin Chu
{"title":"A lightweight gas classification and concentration prediction method based on PTQ-CNN by using an electronic nose system","authors":"Yuanhu Zeng , Zhencheng Liu , Zhenyu Liu , Xiaoyan Peng , Hao Cui , Jia Yan , Shukai Duan , Lidan Wang , Jin Chu","doi":"10.1016/j.sna.2025.116382","DOIUrl":null,"url":null,"abstract":"<div><div>As a device for gas detection, electronic nose (E-nose) has been widely used in many fields. In recent years, the emergence of deep learning has greatly improved the gas detection accuracy. However, numerous parameters make it difficult to deploy deep learning algorithms, hindering the real-world application of the E-nose. In this work, we designed a convolutional neural network (CNN) and post-training quantization (PTQ) was used to compress the model size to obtain a lightweight model. First, we designed an E-nose and an efficient gas data acquisition platform to collect sufficient gas data containing four different categories of gas for model training. In the process of designing the CNN, the effects of batch size, data length and number of convolutional kernels on the performance of the model have been discussed to obtain the best performance of the CNN. Then, using the PTQ to compress the CNN model, a lightweight model PTQ-CNN is obtained. The experimental results show that CNN still maintains a high accuracy in performing the tasks of concentration prediction and gas classification after being compressed by 3.75 × . Specifically, the average values of R<sup>2</sup>, MAE and MSE of PTQ-CNN for gas concentration prediction were 0.993, 1.524 and 5.856, respectively, and the classification accuracy of the gas reached 99.89 %.</div></div>","PeriodicalId":21689,"journal":{"name":"Sensors and Actuators A-physical","volume":"386 ","pages":"Article 116382"},"PeriodicalIF":4.1000,"publicationDate":"2025-02-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Sensors and Actuators A-physical","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0924424725001888","RegionNum":3,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ENGINEERING, ELECTRICAL & ELECTRONIC","Score":null,"Total":0}
引用次数: 0
Abstract
As a device for gas detection, electronic nose (E-nose) has been widely used in many fields. In recent years, the emergence of deep learning has greatly improved the gas detection accuracy. However, numerous parameters make it difficult to deploy deep learning algorithms, hindering the real-world application of the E-nose. In this work, we designed a convolutional neural network (CNN) and post-training quantization (PTQ) was used to compress the model size to obtain a lightweight model. First, we designed an E-nose and an efficient gas data acquisition platform to collect sufficient gas data containing four different categories of gas for model training. In the process of designing the CNN, the effects of batch size, data length and number of convolutional kernels on the performance of the model have been discussed to obtain the best performance of the CNN. Then, using the PTQ to compress the CNN model, a lightweight model PTQ-CNN is obtained. The experimental results show that CNN still maintains a high accuracy in performing the tasks of concentration prediction and gas classification after being compressed by 3.75 × . Specifically, the average values of R2, MAE and MSE of PTQ-CNN for gas concentration prediction were 0.993, 1.524 and 5.856, respectively, and the classification accuracy of the gas reached 99.89 %.
期刊介绍:
Sensors and Actuators A: Physical brings together multidisciplinary interests in one journal entirely devoted to disseminating information on all aspects of research and development of solid-state devices for transducing physical signals. Sensors and Actuators A: Physical regularly publishes original papers, letters to the Editors and from time to time invited review articles within the following device areas:
• Fundamentals and Physics, such as: classification of effects, physical effects, measurement theory, modelling of sensors, measurement standards, measurement errors, units and constants, time and frequency measurement. Modeling papers should bring new modeling techniques to the field and be supported by experimental results.
• Materials and their Processing, such as: piezoelectric materials, polymers, metal oxides, III-V and II-VI semiconductors, thick and thin films, optical glass fibres, amorphous, polycrystalline and monocrystalline silicon.
• Optoelectronic sensors, such as: photovoltaic diodes, photoconductors, photodiodes, phototransistors, positron-sensitive photodetectors, optoisolators, photodiode arrays, charge-coupled devices, light-emitting diodes, injection lasers and liquid-crystal displays.
• Mechanical sensors, such as: metallic, thin-film and semiconductor strain gauges, diffused silicon pressure sensors, silicon accelerometers, solid-state displacement transducers, piezo junction devices, piezoelectric field-effect transducers (PiFETs), tunnel-diode strain sensors, surface acoustic wave devices, silicon micromechanical switches, solid-state flow meters and electronic flow controllers.
Etc...