Purpose
The purpose of this paper is to design and validate an electronic nose (E-nose) prototype using commercially available metal oxide gas sensors (MOX). This prototype has a sensor array board that integrates eight different MOX gas sensors to handle multi-purpose applications. The number of sensors can be adapted to match different requirements and classification cases. The paper presents the validation of this E-nose prototype when used to identify three gas samples, namely, alcohol, butane and cigarette smoke. At the same time, it discusses the discriminative abilities of the prototype for the identification of alcohol, acetone and a mixture of them. In this respect, the selection of the appropriate type and number of gas sensors, as well as obtaining excellent discriminative abilities with a miniaturized design and minimal computation time, are all drivers for such implementation.
Design/methodology/approach
The suggested prototype contains two main parts: hardware (low-cost components) and software (Machine Learning). An interconnection printed circuit board, a Raspberry Pi and a sensor chamber with the sensor array board make up the first part. Eight sensors were put to the test to see how effective and feasible they were for the classification task at hand, and then the bare minimum of sensors was chosen. The second part consists of machine learning algorithms designed to ensure data acquisition and processing. These algorithms include feature extraction, dimensionality reduction and classification. To perform the classification task, two features taken from the sensors’ transient response were used.
Findings
Results reveal that the system presents high discriminative ability. The K-nearest neighbor (KNN) and support vector machine radial basis function based (SVM-RBF) classifiers both achieved 97.81% and 98.44% mean accuracy, respectively. These results were obtained after data dimensionality reduction using linear discriminant analysis, which is more effective in terms of discrimination power than principal component analysis. A repeated stratified K-cross validation was used to train and test five different machine learning classifiers. The classifiers were each tested on sets of data to determine their accuracy. The SVM-RBF model had high, stable and consistent accuracy over many repeats and different data splits. The total execution time for detection and identification is about 10 s.
Originality/value
Using information extracted from transient response of the sensors, the system proved to be able to accurately classify the gas types only in three out of the eight MQ-X gas sensors. The training and validation results of the SVM-RBF classifier show a good bias-variance trade-off. This proves that the two transient features are sufficiently efficient for this classification purpose. Moreover, all data processing tasks are performed by the Raspberry Pi, which shows real-time data processing with miniaturized architecture and low prices.