Next Article in Journal
Efficient Lane Boundary Detection with Spatial-Temporal Knowledge Filtering
Next Article in Special Issue
Electronic Nose Testing Procedure for the Definition of Minimum Performance Requirements for Environmental Odor Monitoring
Previous Article in Journal
Regular Deployment of Wireless Sensors to Achieve Connectivity and Information Coverage
Previous Article in Special Issue
Valid Probabilistic Predictions for Ginseng with Venn Machines Using Electronic Nose
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Optimization Technique to Improve Gas Recognition by Electronic Noses Based on the Enhanced Krill Herd Algorithm

College of Electronic and Information Engineering, Southwest University, Chongqing 400715, China
*
Author to whom correspondence should be addressed.
Sensors 2016, 16(8), 1275; https://doi.org/10.3390/s16081275
Submission received: 27 April 2016 / Revised: 6 August 2016 / Accepted: 9 August 2016 / Published: 12 August 2016
(This article belongs to the Special Issue E-noses: Sensors and Applications)

Abstract

:
An electronic nose (E-nose) is an intelligent system that we will use in this paper to distinguish three indoor pollutant gases (benzene (C6H6), toluene (C7H8), formaldehyde (CH2O)) and carbon monoxide (CO). The algorithm is a key part of an E-nose system mainly composed of data processing and pattern recognition. In this paper, we employ support vector machine (SVM) to distinguish indoor pollutant gases and two of its parameters need to be optimized, so in order to improve the performance of SVM, in other words, to get a higher gas recognition rate, an effective enhanced krill herd algorithm (EKH) based on a novel decision weighting factor computing method is proposed to optimize the two SVM parameters. Krill herd (KH) is an effective method in practice, however, on occasion, it cannot avoid the influence of some local best solutions so it cannot always find the global optimization value. In addition its search ability relies fully on randomness, so it cannot always converge rapidly. To address these issues we propose an enhanced KH (EKH) to improve the global searching and convergence speed performance of KH. To obtain a more accurate model of the krill behavior, an updated crossover operator is added to the approach. We can guarantee the krill group are diversiform at the early stage of iterations, and have a good performance in local searching ability at the later stage of iterations. The recognition results of EKH are compared with those of other optimization algorithms (including KH, chaotic KH (CKH), quantum-behaved particle swarm optimization (QPSO), particle swarm optimization (PSO) and genetic algorithm (GA)), and we can find that EKH is better than the other considered methods. The research results verify that EKH not only significantly improves the performance of our E-nose system, but also provides a good beginning and theoretical basis for further study about other improved krill algorithms’ applications in all E-nose application areas.

1. Introduction

An electronic nose (E-nose) is a device composed of a gas sensor array and an artificial intelligence algorithm. It is effective in dealing with odor analysis problems [1,2,3], and during the past decades, much work has been done to prove the efficiency of E-nose technology in many fields such as environmental monitoring [4,5], food engineering [6,7,8], disease diagnosis [9,10,11,12], explosives detection [13,14,15] and spaceflight applications [16]. This paper is mainly about E-nose research in indoor pollutant gas detection.
With the modern improvement of life quality, people demand higher indoor air quality. Because most of the time during a person’s life is spent indoors, it is necessary for people’s health to be able to detect indoor pollutant gases, which mainly dfff4 include benzene (C6H6), toluene (C7H8), and so on. They are hard to detect, and will do the body harm after long-term intake, so a high recognition rate of gas detection equipment is vital. Consequently, there has been a resurgence of interest in developing measuring techniques for air quality monitoring. Our previous work has proved that E-noses are an effective way to classify indoor pollutant gases [17,18].
When an E-nose is applied to detect an indoor pollutant gas, in addition to some factors like the quality of samples, the parameter settings of the algorithm system also plays a significant role in the performance of the E-nose. In this paper, we employ support vector machine (SVM) to distinguish indoor pollutant gases and two of its parameters need to be optimized for this purpose. To make the performance of E-nose ideal, some optimization algorithms need be employed to set the value of its parameters.
Genetic algorithm (GA) is a robust and frequently-used stochastic meta-heuristic search method for global optimization in a large search space. The genetic information is encoded as a genome. The genome is implemented in an uncommon way that permits asexual reproduction which leads to offspring that are genetically the same as the parent. Meanwhile asexual reproduction can exchange and reorder chromosomes, giving birth to offspring containing a hybridization of genetic information from all parents. This operation is frequently called crossover because of the chromosomes’ crossover when swapping genetic information. To evade premature convergence, mutation emerges to increase the diversity of the population. Particle swarm optimization (PSO) is an evolutionary computation algorithm based on swarm intelligence theory. The algorithm comes from the simulation of the bird predation behavior, and its emphases lie in the cooperation and competition between individuals. Quantum-behaved particle swarm optimization (QPSO) is a new PSO algorithm and is inspired by the consideration of quantum mechanics with the PSO algorithms. It is superior to the traditional PSO algorithm not only in search ability, but also in its accuracy. Particles of this model based on a delta potential well can appear in any point of search space with a certain probability.
According to the research on optimization algorithms during the past twenty years, there are some optimization methods which have been introduced to E-nose research. They mainly include GA [19,20,21], PSO [22,23] and QPSO [24,25]. A new integer-based GA approach [19] was used to enhance the performance of E-noses by sensor selection. The PSO [22] was posed to analyze signals of wound infection detection based on an E-nose. A new feature selection method based on QPSO was proposed to optimize the gas sensor array and reduce the dimensions of the feature matrix [24]. Furthermore, an enhanced QPSO based on genetic algorithm (G-QPSO) [25] was employed to improve the performance of the sensor array and the E-nose classifier. However, up to now, we haven’t seen anyone apply the krill algorithm (KH) to E-noses. Considering the good performance of KH in global optimization, we propose to apply it to the E-nose in indoor pollutant gas classification.
The KH [26] algorithm was first proposed by Gandomi and Alavi in 2012. It has excellent local exploitation ability, while its global exploring ability is not strong, so it easily falls into local minima and has a slow convergence speed. To solve this issue, Wang et al. presented a new krill migration (KM) operator [27] which updated the krill to deal with optimization problems more efficiently. In [28] harmony search (HS) is applied to mutate between krill during the process of krill updating instead of using physical diffusion to improve the convergence speed of the algorithm and the ability to jump out of local extreme. In 2014, an improved KH [29] was proposed with linear decreasing Ct which can adjust the balance between exploration and exploitation. To overcome the poor exploitation of the KH algorithm, Wang et al. presented a hybrid differential evolution KH (DEKH) [30] method for function optimization. The IKH [31] method using a new Lévy flight distribution and elitism scheme to update the KH motion calculation was proposed by Guo et al.
In this paper, a new algorithm approach for air quality detection with an E-nose is presented. For an E-nose, the algorithm parameter setting plays an important role in practical application performance. So far, most of the E-noses are optimized by PSO, QPSO and GA. In order to make a further contribution to E-nose research and explore different optimization algorithms in the application of E-noses, we decide to adopt the KH as the optimization method of an E-nose and apply it to detect indoor harmful gaseous pollution. For the better performance of the E-nose, based on KH with an updated crossover operator [32] (defined as the standard KH in the paper), we propose a novel way of computing the decision weighting factor for KH to guarantee the krill are diversiform at the early stage of iterations, and have good local searching ability performance at the later stage of iteration. The added decision weighting factor updates the krill’s position according to the influence of other individuals and their foraging behavior under different iterations. The proposed EKH method is verified via the data obtained by our self-made E-nose.
The rest of the paper is structured as follows: materials and experiments are described clearly in Section 2. An overview of the standard KH algorithm and the proposed EKH are discussed in Section 3. Our method is compared with other optimization techniques (including CKH, KH, QPSO, PSO and GA) and the classification results presented, analyzed and compared in Section 4. Finally, the conclusions of this paper are drawn in Section 5.

2. Materials and Experiments

The data used in the paper were obtained by a self-made E-nose, whose detailed information can be found in our previous publication [9]. However, to make the paper self-contained, the system structure and experimental setup are briefly repeated in the following subsections.

2.1. Target Gas and Experimental Setup

Four common kinds of indoor pollutant gases including C6H6, C7H8, CH2O and CO are the target gases which will be distinguished by the E-nose in our project. The sensor array of the E-nose presented in this paper contains five sensors: three metal oxide semi-conductor gas sensors (TGS 2201, TGS 2620 and TGS 2602 purchased from Figaro Company (Osaka, Japan); the TGS 2201 has two outputs defined as TGS 2201A and TGS 2201B), one temperature sensor and one humidity sensor. The sensitive characteristics of the three gas sensors are shown in Table 1.
A 12-bit analog-digital converter (A/D) is used as interface between the sensor array and a field programmable gate array (FPGA) processor. The A/D converts analog signals taken from the sensor array into digital signals, and the sampling frequency is set as 1 Hz. As shown in Figure 1, the experimental platform mainly consists of the E-nose system, a PC, a temperature-humidity controlling chamber (coated with Teflon to avoid the attachment of VOCs), a flow meter and an air pump. There are two ports on the sidewall of the chamber, and the target gas and the clean air are put into the chamber through ports 1 and 2, respectively. Data collected from the sensor array can be saved in a PC through a joint test action group (JTAG) port with its related software. An image of the experimental setup is shown in Figure 2.

2.2. Sampling Experiments and Data Pre-Processing

Before sampling experiments, we firstly set the temperature and humidity of the chamber as 25 °C and 40%, respectively. Then we can begin the gas sampling experiments. A single sampling experiment will implement the following three phases:
Phase 1:
All sensors are exposed to clean air for 2 min to obtain the baseline;
Phase 2:
Target gas is introduced into the chamber for 4 min;
Phase 3:
The array of sensors is exposed to clean air for 9 min again to wash the sensors and make them recover their baseline.
Figure 3 illustrates the response of sensors when formaldehyde is introduced into the chamber. We can see that each response curve rises obviously from the third minute when the target gas begins to pass over the sensor array, and recovers to the baseline after the seventh minute when clean air is conveyed to wash the sensors.
To get the real concentration of gas in the chamber, we extract each gas from the chamber and take it into a gas bag. Then a spectrophotometric method is employed to determine the concentration of formaldehyde and carbon monoxide, and the concentration of benzene and toluene are determined by gas chromatography (GC). For each gas, there are 12, 11, 21 and 29 concentration points, respectively, and 12 sampling experiments are made on each concentration point. The real concentration and the numbers of samples of the four kinds of gases are shown in Table 2. We set different concentrations of gas mainly in order to improve the generalization of algorithm, and try to avoid the misjudgment of the results when the concentration of the test gas is not the same concentrations with the gas of experiment. And the purpose of our work is to distinguish four indoor pollutant gases with E-nose.
Then the maximum value of the steady-state response of sensors is extracted to create the feature matrix of the E-nose. There are 1932 samples in this matrix and the dimension of each sample is 4. We randomly select 70% of the samples of each gas to establish the training data set, and the rest are used as the test data set. Detailed information is shown in Table 3.

3. KH Algorithm

3.1. Overview of Standard KH Algorithm

KH is a new generic stochastic optimization approach for the global optimization problem. It is inspired by the behavior of krill swarms. When hunting for the food and communicating with each other, the KH approach repeats the implementation of the three movements and follows search directions that enhance the objective function value. The time-relied position is mostly determined by three movements:
  • Foraging action;
  • Movement influenced by other krill;
  • Physical diffusion.
Regular KH approach adopts the Lagrangian model as shown in the following expression:
d x i d t = N i + F i + D i ,
where Ni, Fi and Di denote the foraging motion, which is influenced by other krill and the physical diffusion of krill i, respectively. The first motion Fi covers two parts: the current food location and the information about the previous location. For krill i, we formulate this motion as below:
F i = V f β i + w f F i o l d
where:
β i = β i f o o d + β i b e s t
and Vf is the foraging speed, wf is the inertia weight of the foraging motion in (0, 1), is the last foraging motion.
The direction led by the second movement Ni , ai is estimated by the three effects: target effect, local effect, and repulsive effect. For a krill i, it can be formulated as below:
N i n e w = N m a x a i + w n N i o l d N i n e w = N m a x a i + w n N i o l d ,
where Nmax is the maximum induced speed, wn is the inertia weight of the second motion in (0, 1), is the last motion influenced by other krill.
For the i-th krill, in practice, the physical diffusion is a random process. This motion includes two components: a maximum diffusion speed and an oriented vector. The expression of physical diffusion can be given below:
D i = D m a x δ ,
where Dmax is the maximum diffusion speed and δ is the oriented vector whose value is a random number between −1 and 1.
According to the three above-analyzed actions, the time-relied position from time t to t + Δ t can be formulated by the following equation:
X i ( t + Δ t ) = X i ( t ) + Δ t d x i d t .
For more detailed information about the KH method readers may referred to [26].

3.2. EKH

It has been proved that KH is an effective method in exploitation. However because the search relies fully on randomness, it cannot converge rapidly. In the group strategy optimization algorithm, the number of iterations could affect the performance of the algorithm, and sometimes even determines whether we can find the global optimal point. We should also also consider the factor of time (the optimization process should be as quick as possible), so we present a novel way of computing the decision weighting factor to give KH better global searching ability performance and a higher convergence speed. Its equation is shown as Equation (7):
d x i d t = M I I M I F i + I M I N i + D i ,
where MI is the maximum iteration, and I is the current number of iterations. At the early stage of iterations, (MI – I)/MI > I/MI, their foraging actions should have more influence on their decisions for the next position. Because each krill doesn’t know the correct direction, that krill start with their own feelings can effectively help them avoid premature. At the later stage of iterations, (MI – I)/MI < I/MI, the experience of other krill has more influence when they update their next position. After all, the correctness of the group direction tends to be higher than that of the individuals. Finally, we define the KH with an updated crossover operator as the standard krill swarm algorithm. The method we proposed as the enhanced KH (EKH). The basic framework of the EKH method and its responding flowchart are shown in Algorithm 1 and Figure 4.
Algorithm 1. EKH algorithm
Begin
Step 1: Initialization. Initialize the Iteration counter I=1, the population P of NP krill, Vf, Dmax and Nmax.
Step 2: Fitness calculation. Calculate fitness for each krill according to its initial position.
Step 3: While I < Maximum Iteration do
Sort all the population according to their fitness.
for i=1:NP (all krill) do
Perform the following motion calculation.
Motion induced by other individuals
Foraging motion
Physical diffusion
Compute dxi/dt according to Equation (7).
Implement the crossover operator.
Updating the krill individual position in the search space.
Calculate fitness for each krill according to its new position.
end for i
I = I+1.
Step 4: end while
End.

4. Results and Discussion

To evaluate the effectiveness of the optimization algorithm we analyze the discrimination of four different gases with our self-made E-nose. We compare EKH with QPSO, PSO and GA which have been frequently used in E-noses. We also compare EKH with the standard KH and the chaotic KH (CKH) [33]. In CKH, various one-dimensional chaotic maps are employed in place of the parameters used in the KH to accelerate the convergence speed of it. According to the results of [33], we choose Singer map as the proper chaotic map to form the best CKH. It is shown in Equation (8).
Singer map:
x k + 1 = u ( 7.86 x k 23.31 x k 2 + 28.75 x k 3 13.30 x k 4 ) ,
The parameter setting in all experiments for each algorithm is shown in Table 4.
The flow of data processing is as follows: firstly, a normalization processing is performed. Then the SVM [34,35] is employed as the classifier. Its two parameters are optimized by the six considered optimization algorithms. The flow diagram of the experiment is shown in Figure 5. All of the optimization algorithms to optimize parameters of SVM are mainly based on the training data set. Finally SVM will distinguish the class label of each sample in test data set with the knowledge it has learned, and the ratio (the number of points distinguished directly to the number of all points in test data) will be used to evaluate the performance of the different optimization algorithms.
There are two parameters need to be set in SVM (the spread factor of the Gaussian RBF kernel function and the penalty factor), so krill group search in the two-dimensional space. Each kind of particle number optimization algorithm is set to 30, and in order to compare the differences between the algorithms, we set the number of iterations, to 50, 200 and 400, respectively. To make sure the accuracy of experimental results is correct, each program was repeated 10 times. Then we take the ten times’ classification accuracy (the training data set and test data set) in maximum, minimum and average value as a reference to evaluate the performance of the six kinds of optimization algorithms. Table 5, Table 6 and Table 7 show the classification accuracy of the different optimization algorithms with the number of iterations set as 50, 200 and 400. The best classification accuracy of the four kinds of gases and all the classification accuracies with different optimization algorithms are shown in Table 8, Table 9, Table 10, Table 11 and Table 12. To make our research more persuasive, we use the 10-fold cross validation method to train and test the data and the particle number is set to 50. All the results of algorithms after using 10-fold cross validation are shown in Table 13, Table 14 and Table 15. It also reachs the same conclusion that the EKH has the best performance. When the particle number is set to 50, the results with the number of iterations set as 50, 200 and 400 are shown in Table 16, Table 17 and Table 18. In Table 18, the standard deviations (SD) of each kind of algorithm after running for 100 times are shown to evaluate the performance of the algorithm more precisely.
EKH and CKH are both the enhanced optimization algorithms based on the KH. and comparing the results of EKH, CKH and KH from Table 5, Table 6 and Table 7, we can find that the best results are obtained by EKH. In the case of a higher number of iterations, the CKH performs a little better than KH, however, when it comes to the maximum, minimum or the average value of classification accuracy, the EKH significantly outperforms CKH and KH. This verifies that the EKH we proposed is more appropriate than CKH in the application of E-noses in gas identification. What’s more, it’s easy to see whatever the number of iterations given, the worst classification accuracy of EKH is higher than the best classification accuracy of CKH and KH. The results when the number of iterations is 200 and 400 are very close. All of these results prove that the global searching and convergence of EKH has been improved with the influence of the novel way of computing the decision weighting factor.
Comparing the EKH with different algorithms (QPSO, PSO and GA), it can be found from Table 5, Table 6 and Table 7 that GA has the worst performance, while PSO and QPSO are better. In terms of the truth that the EKH has the highest classification accuracy in the same iterations, relative to the three other algorithms, once again it proves that the krill algorithm can be applied well in E-noses.
Table 8, Table 9, Table 10 and Table 11, respectively, show the classification accuracy of four kinds of gases being measured under the condition that total classification accuracy is best. We can also draw a conclusion from the data that C6H6 is harder to distinguish compared with other gases. For EKH, except for the fact the recognition rate of C6H6 of the test set is a bit low, the other results are very reasonable, not only in terms of itself but also with other algorithms. According to the results in Table 18, we can know that the SD of EKH is the smallest. It suggests that the EKH result is more stable. That is to say, the EKH is better in average performance than KH and other algorithms. In Figure 6 and Figure 7, through the colorful bar chart, we can clearly see the classification results of training set and test set based with different optimization algorithms and the discrepancies between each other.

5. Conclusions

There is no doubt that E-noses play an important role in the field of environmental monitoring and control of pollution emissions. In this experiment an E-nose is applied to distinguish four kinds of indoor pollutant gases. We all know that an E-nose device which has a high recognition rate for pollutant gases is significant to the improvement of the quality of people’s indoor life, so we have undertaken further research on the E-nose algorithm to improve its gas recognition rate.
An E-nose mainly consists of an array of sensors and an appropriate pattern-recognition system. The pattern-recognition system has a significant effect in helping E-noses make a correct decision via the algorithm. Furthermore, the value of parameters determines the performance of the pattern recognition system, so some algorithms must be employed to select the appropriate parameters. KH is a new optimization algorithm put forward in recent years, that has not been applied yet to the E-nose technology, so we have creatively applied the krill algorithm to the classification problem of E-noses for indoor pollutant gases. Considering the practical application we propose an EKH based on a novel way of computing the decision weighting factor.
The KH technique has a good performance in exploitation, but it cannot always converge rapidly to find the global optimum. In this paper, we present an effective EKH algorithm based on a novel way of computing decision weighting factors and apply it to optimize the parameters of our self-made E-nose which is employed to distinguish different indoor pollutant gases. Through comparing EKH with other optimization methods, we find that the performance of EKH is better than KH, CKH, QPSO, PSO and GA. We can draw the conclusion according to the results that EKH is an ideal optimization method for E-noses in distinguishing indoor pollutant gases. Of course, we will continue to further study the krill algorithm in the future, and we believe the performance of E-nose will be further improved.

Acknowledgments

The work is supported by Program for New Century Excellent Talents in University (No. [2013] 47), National Natural Science Foundation of China (Nos. 61372139, 61101233, 60972155), Fundamental Research Funds for the Central Universities (No. XDJK2015C073), Science and Technology personnel training program Fund of Chongqing (No. Cstc2013kjrc-qnrc40011) and Fundamental Research Funds for the Central Universities (No. SWU115009).

Author Contributions

Li Wang is the group leader and she was in charge of the project management and proposed the algorithm. Pengfei Jia was responsible for data analysis and the discussion of the results. Shukai Duan provided valuable advice about the revised manuscript. Tailai Huang, Jia Yan and Lidan Wang were involved in discussions and the experimental analysis.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ciosek, P.; Wróblewski, W. The analysis of sensor array data with various pattern recognition techniques. Sens. Actuators B Chem. 2006, 114, 85–93. [Google Scholar] [CrossRef]
  2. Liu, Q.; Wang, H.; Li, H.; Zhang, J.; Zhang, S.; Zhang, F.; Hsia, K.J.; Wang, P. Impedance sensing and molecular modeling of an olfactory biosensor based on chemosensory proteins of honeybee. Biosens. Bioelectron. 2013, 40, 174–179. [Google Scholar] [CrossRef] [PubMed]
  3. Sohn, J.H.; Hudson, N.; Gallagher, E.; Dunlop, M.; Zeller, L.; Atzeni, M. Implementation of an electronic nose for continuous odour monitoring in a poultry shed. Sens. Actuators B Chem. 2008, 133, 60–69. [Google Scholar] [CrossRef]
  4. Ameer, Q.; Adeloju, S.B. Polypyrrole-based electronic noses for environmental and industrial analysis. Sens. Actuators B Chem. 2005, 106, 541–552. [Google Scholar]
  5. Lamagna, A.; Reich, S.; Rodrigurez, D.; Boselli, A.; Cicerone, D. The use of an electronic nose to characterize emissions from a highly polluted river. Sens. Actuators B Chem. 2008, 131, 121–124. [Google Scholar] [CrossRef]
  6. Loutfi, A.; Coradeschi, S.; Mani, G.K.; Shankar, P.; Rayappan, J.B.B. Electronic noses for food quality: A review. J. Food Eng. 2015, 144, 103–111. [Google Scholar] [CrossRef]
  7. Gobbi, E.; Falasconi, M.; Zambotti, G.; Sberveglieri, V.; Pulvirenti, A.; Sberveglieri, G. Rapid diagnosis of Enterobacteriaceae in vegetable soups by a metal oxide sensor based electronic nose. Sens. Actuators B Chem. 2015, 207, 1104–1113. [Google Scholar] [CrossRef]
  8. Hui, G.; Lvye, W.; Mo, Y.; Zhang, L. Study of grass carp (Ctenopharyngodon idellus) quality predictive model based on electronic nose. Sens. Actuators B Chem. 2012, 35, 301–308. [Google Scholar]
  9. Guo, X.; Peng, C.; Zhan, S.; Yan, J.; Duan, S.; Wang, L.; Jia, P.; Tian, F. A novel feature extraction approach using Window function capturing and QPSO-SVM for enhancing electronic nose performance. Sensors 2015, 15, 15198–15217. [Google Scholar] [CrossRef] [PubMed]
  10. Chapman, E.A.; Thomas, P.S.; Stone, E.; Lewis, C.; Yates, D.H. A breath test for malignant mesothelioma using an electronic nose. Eur. Respir. J. 2012, 40, 448–454. [Google Scholar] [CrossRef] [PubMed]
  11. Jia, P.; Tian, F.; He, Q.; Fan, S.; Liu, J.; Yang, S.X. Feature extraction of wound infection data for electronic nose based on a novel weighted KPCA. Sens. Actuators B Chem. 2014, 201, 555–566. [Google Scholar] [CrossRef]
  12. D’Amico, A.; Natale, C.D.; Falconi, C.; Martinelli, E.; Paolesse, R.; Pennazza, G.; Santonico, M.; Sterk, P.J. U-BIOPRED study: Detection and identification of cancers by the electronic nose. Expert Opin. Med. Diagn. 2012, 6, 175–185. [Google Scholar] [CrossRef] [PubMed]
  13. Norman, A.; Stam, F.; Morrissey, A.; Hirschfelder, M.; Enderlein, D. Packaging effects of a novel explosion-proof gas sensor. Sens. Actuators B Chem. 2003, 95, 287–290. [Google Scholar] [CrossRef]
  14. Wang, L.; Gui, Y.H.; Zhang, S.P. Research on explosives detection by electronic nose. Chin. J. Sens. Actuators 2007, 20, 42–45. [Google Scholar]
  15. Brudzewski, K.; Osowski, S.; Pawlowski, W. Metal oxide sensor arrays for detection of explosives at sub-parts-per million concentration levels by the differential electronic nose. Sens. Actuators B Chem. 2012, 161, 528–533. [Google Scholar] [CrossRef]
  16. Young, R.C.; Buttner, W.J.; Linnell, B.R.; Ramesham, R. Electronic nose for space program applications. Sens. Actuators B Chem. 2003, 93, 7–16. [Google Scholar] [CrossRef]
  17. Dang, L.; Tian, F.; Zhang, L.; Kadri, C.; Yin, X.; Peng, X.; Liu, S. A novel classifier ensemble for recognition of multiple indoor air contaminants by an electronic nose. Sens. Actuators A Chem. 2014, 207, 67–74. [Google Scholar] [CrossRef]
  18. Jia, P.; Huang, T.; Duan, S.; Ge, L.; Yan, J.; Wang, L. A novel semi-supervised electronic nose learning technique: M-training. Sensors 2016, 16, 370. [Google Scholar] [CrossRef] [PubMed]
  19. Gardner, J.W.; Boilot, P.; Hines, E.L. Enhancing electronic nose performance by sensor selection using a new integer-based genetic algorithm approach. Sensors. Actuators B Chem. 2005, 106, 114–121. [Google Scholar] [CrossRef]
  20. Banerjee, R.; Khan, N.S.; Mondal, S. Features extraction from electronic nose employing genetic algorithm for black tea quality estimation. In Proceedings of the 2013 International Conference on Advanced Electronic Systems, Pilani, India, 21–23 September 2013; pp. 64–67.
  21. Jiang, M.J.; Liu, Y.X.; Yang, J.X. A model of classification for E-nose based on genetic algorithm. Appl. Mech. Mater. 2013, 475/476, 952–955. [Google Scholar] [CrossRef]
  22. Yan, J.; Tian, F.; Feng, J. A PSO-SVM method for parameters and sensor array optimization in wound infection detection based on electronic nose. J. Comput. 2012, 7. [Google Scholar] [CrossRef]
  23. He, Q.; Yan, J.; Shen, Y. Classification of electronic nose data in wound infection detection based on PSO-SVM combined with wavelet transform. Intell. Autom. Soft Comput. 2012, 18, 967–979. [Google Scholar] [CrossRef]
  24. Yan, J. Hybrid feature matrix construction and feature selection optimization-based multi-objective QPSO for electronic nose in wound infection detection. Sens. Rev. 2016, 36, 23–33. [Google Scholar] [CrossRef]
  25. Jia, P.; Tian, F.; Fan, S. A novel sensor array and classifier optimization method of electronic nose based on enhanced quantum-behaved particle swarm optimization. Sensor Rev. 2014, 34, 304–311. [Google Scholar] [CrossRef]
  26. Gandomi, A.H.; Alavi, A.H. Krill herd: A new bio-inspired optimization algorithm. Commun. Nonlinear Sci. Numer. Simul. 2012, 17, 4831–4845. [Google Scholar] [CrossRef]
  27. Wang, G.G.; Gandomi, A.H.; Alavi, A.H. An effective krill herd algorithm with migration operator in biogeography-based optimization. Appl. Math. Model. 2014, 38, 2454–2462. [Google Scholar]
  28. Wang, G.G.; Guo, L.H.; Wang, H.Q. Incorporating mutation scheme into krill herd algorithm for global numerical optimization. Neural Comput. Appl. 2014, 24, 853–871. [Google Scholar] [CrossRef]
  29. Li, J.; Tang, Y.; Hua, C. An improved krill herd algorithm: krill herd with linear decreasing step. Appl. Math. Comput. 2014, 234, 356–367. [Google Scholar] [CrossRef]
  30. Wang, G.G.; Gandomi, A.H.; Alavi, A.H. Hybrid krill herd algorithm with differential evolution for global numerical optimization. Neural Comput. Appl. 2014, 25, 297–308. [Google Scholar] [CrossRef]
  31. Guo, L.; Wang, G.G.; Gandomi, A.H. A new improved krill herd algorithm for global numerical optimization. Neurocomputing 2014, 138, 297–308. [Google Scholar] [CrossRef]
  32. Wang, G.G.; Gandomi, A.H.; Alavi, A.H. Stud krill herd algorithm. Neurocomputing 2014, 128, 363–370. [Google Scholar] [CrossRef]
  33. Wang, G.G.; Guo, L.; Gandomi, A.H. Chaotic krill herd algorithm. Inf. Sci. 2014, 274, 17–34. [Google Scholar] [CrossRef]
  34. Meyer, D.; Leisch, F.; Hornik, K. The support vector machine under test. Neurocomputing 2003, 55, 169–186. [Google Scholar] [CrossRef]
  35. Isa, D.; Lee, L.H.; Kallimani, V.P. Text document preprocessing with the Bayes formula for classification using the support vector machine. IEEE Trans. Knowl. Data Eng. 2008, 20, 1264–1272. [Google Scholar] [CrossRef]
Figure 1. Schematic diagram of the experimental system. The experimental platform mainly consists of the E-nose system, a PC, a temperature-humidity controlling chamber, a flow meter and an air pump. There are two ports on the sidewall of the chamber, and the target gas and the clean air are put into the chamber through ports 1 and 2, respectively.
Figure 1. Schematic diagram of the experimental system. The experimental platform mainly consists of the E-nose system, a PC, a temperature-humidity controlling chamber, a flow meter and an air pump. There are two ports on the sidewall of the chamber, and the target gas and the clean air are put into the chamber through ports 1 and 2, respectively.
Sensors 16 01275 g001
Figure 2. Image of the experimental setup. Data collected from the sensor array can be saved on a PC through a joint test action group (JTAG) port with its related software.
Figure 2. Image of the experimental setup. Data collected from the sensor array can be saved on a PC through a joint test action group (JTAG) port with its related software.
Sensors 16 01275 g002
Figure 3. Response of the sensors array. It illustrates the response of sensors when formaldehyde is introduced into the chamber.
Figure 3. Response of the sensors array. It illustrates the response of sensors when formaldehyde is introduced into the chamber.
Sensors 16 01275 g003
Figure 4. Simplified flowchart of EKH. In addition to the basic steps of krill algorithm, the flowchart of EKH also includes the novel computing way of decision weighting factor used in Equation (7) and an updated crossover operator.
Figure 4. Simplified flowchart of EKH. In addition to the basic steps of krill algorithm, the flowchart of EKH also includes the novel computing way of decision weighting factor used in Equation (7) and an updated crossover operator.
Sensors 16 01275 g004
Figure 5. Flow diagram of experiment. Firstly, a normalization processing is made. Then the support vector machine (SVM) is employed as the classifier. Its two parameters are optimized by the six considered optimization algorithms. All of the optimization algorithms to optimize parameters of SVM are mainly based on the training data set.
Figure 5. Flow diagram of experiment. Firstly, a normalization processing is made. Then the support vector machine (SVM) is employed as the classifier. Its two parameters are optimized by the six considered optimization algorithms. All of the optimization algorithms to optimize parameters of SVM are mainly based on the training data set.
Sensors 16 01275 g005
Figure 6. Classification accuracy based on training set. The classification results of training set based on different optimization algorithms and the discrepancy between each other. The iteration is 400 and the particle number is 30.
Figure 6. Classification accuracy based on training set. The classification results of training set based on different optimization algorithms and the discrepancy between each other. The iteration is 400 and the particle number is 30.
Sensors 16 01275 g006
Figure 7. Classification accuracy based on test set. The classification results of test set based on different optimization algorithms and the discrepancy between each other. The iteration is 400 and the particle number is 30.
Figure 7. Classification accuracy based on test set. The classification results of test set based on different optimization algorithms and the discrepancy between each other. The iteration is 400 and the particle number is 30.
Sensors 16 01275 g007
Table 1. Main sensitive characteristics of gas sensors.
Table 1. Main sensitive characteristics of gas sensors.
SensorsMain Sensitive Characteristics
TGS2201Carbon monoxide, nitrogen dioxide, nitric oxide,
TGS2620Carbon monoxide, VOCs, methane, ethanol, isobutane,
TGS2602Ammonia, VOCs, toluene, ethanol, hepatic gas, formaldehyde
Note: the responses of these three sensors is non-specific. Besides their main sensitive gas listed in Table 1, they are also sensitive to other gases.
Table 2. Concentration of the target gas.
Table 2. Concentration of the target gas.
GasConcentration Range (ppm)Number of Samples
Benzene[0.1721, 0.7056]432 (12 × 12)
Toluene[0.0668, 0.1425]396 (12 × 11)
Formaldehyde[0.0565, 1.2856]756 (12 × 21)
Carbon monoxide[4, 12]348 (12 × 29)
Table 3. Amount of samples in training set and test set.
Table 3. Amount of samples in training set and test set.
GasTraining SetTest Set
Benzene288144
Toluene264132
Formaldehyde504252
CO232116
All-41288644
Table 4. Parameter setting.
Table 4. Parameter setting.
AlgorithmsParameters
EKHThe foraging speed Vf = 0.02, the maximum diffusion speed Dmax = 0.005, the maximum induced speed Nmax = 0.01
CKHThe foraging speed Vf = 0.02, the maximum diffusion speed Dmax = 0.005, the maximum induced speed Nmax = 0.01
KHThe foraging speed Vf = 0.02, the maximum diffusion speed Dmax = 0.005, the maximum induced speed Nmax = 0.01
QPSOAn inertial constant = 0.3, a cognitive constant = 1, and a social constant for swarm interaction = 1
PSOAn inertial constant = 0.3, a cognitive constant = 1, and a social constant for swarm interaction = 1
GARoulette wheel selection, single point, two point and uniform crossover with a crossover probability of 0.6, and a mutation probability of 0.01
Table 5. Classification accuracy of different optimization algorithm (%).
Table 5. Classification accuracy of different optimization algorithm (%).
EKHCKHKHQPSOPSOGA
Training setbest91.8585.3383.8581.2181.3783.79
mean90.9479.7182.1780.2079.0182.92
worst90.3776.7880.6778.7377.6482.14
Test setbest87.8985.4085.5583.3983.8580.90
mean86.8082.8184.5283.1382.6680.25
worst86.1881.2183.3882.3081.9979.43
Note: the iterations are 50.
Table 6. Classification accuracy of different optimization algorithm (%).
Table 6. Classification accuracy of different optimization algorithm (%).
EKHCKHKHQPSOPSOGA
Training setbest93.0190.0685.9587.8980.9884.16
mean92.2684.1983.2086.1680.6783.38
worst91.7777.2581.1385.0280.4382.92
Test setbest88.0485.7185.0986.1884.1681.06
mean87.6384.4284.6885.1483.7580.83
worst87.2781.8384.1684.1683.0780.43
Note: the iterations are 200.
Table 7. Classification accuracy of different optimization algorithm (%).
Table 7. Classification accuracy of different optimization algorithm (%).
EKHCKHKHQPSOPSOGA
Training setbest93.7990.4585.9589.5984.3984.94
mean93.0186.8583.3986.3982.6184.89
worst92.0884.4780.0584.3281.0684.78
Test setbest88.2086.4985.5686.6585.5684.08
mean87.7385.3584.6385.8784.9483.88
worst87.2784.4783.3985.2584.4783.62
Note: the iterations are 400.
Table 8. Classification accuracy of benzene by different optimization algorithm (%).
Table 8. Classification accuracy of benzene by different optimization algorithm (%).
EKHCKHKHQPSOPSOGA
Training set83.3375.6966.6771.8860.7657.64
Test set48.6151.3952.8350.6952.8349.31
Table 9. Classification accuracy of toluene by different optimization algorithm (%).
Table 9. Classification accuracy of toluene by different optimization algorithm (%).
EKHCKHKHQPSOPSOGA
Training set100.00100.00100.00100.0098.48100.00
Test set100.00100.00100.00100.0098.48100.00
Table 10. Classification accuracy of formaldehyde by different optimization algorithm (%).
Table 10. Classification accuracy of formaldehyde by different optimization algorithm (%).
EKHCKHKHQPSOPSOGA
Training set99.2196.4393.2597.0293.8594.44
Test set99.2195.2492.0696.0392.8693.65
Table 11. Classification accuracy of carbon monoxide by different optimization algorithm (%).
Table 11. Classification accuracy of carbon monoxide by different optimization algorithm (%).
EKHCKHKHQPSOPSOGA
Training set87.9384.9178.0283.6277.1678.02
Test set94.8395.6996.5583.6296.5596.55
Table 12. Classification accuracy of total by different optimization algorithm (%).
Table 12. Classification accuracy of total by different optimization algorithm (%).
EKHCKHKHQPSOPSOGA
Training set93.7990.4585.9589.5984.3984.94
Test set87.2786.4985.5686.6585.5684.08
Table 13. Classification accuracy by different optimization algorithm (%).
Table 13. Classification accuracy by different optimization algorithm (%).
EKHCKHKHQPSOPSOGA
Training set92.3988.9086.5789.2185.2585.32
Test set88.2086.0284.9486.4983.5483.70
Note: the iterations are 50.
Table 14. Classification accuracy by different optimization algorithm (%).
Table 14. Classification accuracy by different optimization algorithm (%).
EKHCKHKHQPSOPSOGA
Training set93.5691.3889.1390.4586.9687.34
Test set88.5187.4286.1886.9684.6386.02
Note: the iterations are 200.
Table 15. Classification accuracy by different optimization algorithm (%).
Table 15. Classification accuracy by different optimization algorithm (%).
EKHCKHKHQPSOPSOGA
Training set94.0791.4289.9390.5687.0587.56
Test set89.6487.5686.5387.0485.4986.53
Note: the iterations are 400.
Table 16. Classification accuracy by different optimization algorithm (%).
Table 16. Classification accuracy by different optimization algorithm (%).
EKHCKHKHQPSOPSOGA
Training set92.1688.6686.1888.8284.4784.94
Test set87.8985.5684.7885.7182.3881.52
Note: the iterations are 50.
Table 17. Classification accuracy by different optimization algorithm (%).
Table 17. Classification accuracy by different optimization algorithm (%).
EKHCKHKHQPSOPSOGA
Training set93.3291.6188.9090.6184.9485.79
Test set87.7386.9686.0286.4983.6285.25
Note: the iterations are 200.
Table 18. Classification accuracy of different optimization algorithm (%).
Table 18. Classification accuracy of different optimization algorithm (%).
EKHCKHKHQPSOPSOGA
Training setbest94.0291.8589.2191.1585.8785.95
mean93.9891.8189.1691.1185.8285.88
SD0.0580.0670.0860.0830.1010.096
Test setbest87.5887.4285.7186.8085.1785.40
mean87.5387.3985.6786.7484.9585.25
SD0.0750.0840.0980.0930.3260.183
Note: the iterations are 400.

Share and Cite

MDPI and ACS Style

Wang, L.; Jia, P.; Huang, T.; Duan, S.; Yan, J.; Wang, L. A Novel Optimization Technique to Improve Gas Recognition by Electronic Noses Based on the Enhanced Krill Herd Algorithm. Sensors 2016, 16, 1275. https://doi.org/10.3390/s16081275

AMA Style

Wang L, Jia P, Huang T, Duan S, Yan J, Wang L. A Novel Optimization Technique to Improve Gas Recognition by Electronic Noses Based on the Enhanced Krill Herd Algorithm. Sensors. 2016; 16(8):1275. https://doi.org/10.3390/s16081275

Chicago/Turabian Style

Wang, Li, Pengfei Jia, Tailai Huang, Shukai Duan, Jia Yan, and Lidan Wang. 2016. "A Novel Optimization Technique to Improve Gas Recognition by Electronic Noses Based on the Enhanced Krill Herd Algorithm" Sensors 16, no. 8: 1275. https://doi.org/10.3390/s16081275

APA Style

Wang, L., Jia, P., Huang, T., Duan, S., Yan, J., & Wang, L. (2016). A Novel Optimization Technique to Improve Gas Recognition by Electronic Noses Based on the Enhanced Krill Herd Algorithm. Sensors, 16(8), 1275. https://doi.org/10.3390/s16081275

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop