NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Design of Electronic Nose Detection System for Apple Quality Grading Based on Computational Fluid Dynamics Simulation and K-Nearest Neighbor Support Vector Machine

Xiuguo Zou, Chenyang Wang, Manman Luo, Qiaomu Ren, Yingying Liu, Shikai Zhang, Yungang Bai, Jiawei Meng, Wentian Zhang, Steven W. Su2022

TL;DR

This paper presents a novel electronic nose (e-nose) system for grading apple quality. By optimizing the e-nose's internal airflow using CFD simulations and employing a hybrid KNN-SVM classifier, the system achieves high accuracy (97.78%) in distinguishing between different apple quality grades, offering a non-destructive and efficient alternative to traditional methods.

What Problem Does This Paper Address?

Accurate and non-destructive quality assessment of fruits like apples is crucial for the food industry, impacting storage, trade, and consumer satisfaction. Traditional methods often involve sample damage, complex procedures, and long detection times, hindering real-time quality control. While existing non-destructive techniques like spectroscopy show promise, they can be affected by physical properties of the fruit and are often expensive. Furthermore, the design of the e-nose itself, specifically its internal airflow dynamics, significantly impacts its performance, an aspect that has been historically overlooked. This paper addresses these limitations by proposing an e-nose system that optimizes airflow through CFD and utilizes an advanced classification algorithm to achieve efficient and accurate apple quality grading.

Methods

The core of this research lies in two key methodological advancements:

  • Computational Fluid Dynamics (CFD) for Nasal Cavity Optimization: The researchers used CFD simulations to analyze and optimize the airflow within the e-nose's "nasal cavity." They compared two designs: one without steady flow plates and one with them. The simulations revealed that steady flow plates create a more uniform and stable gas flow over the sensor array, which is critical for consistent and accurate odor detection. This optimization step is a novel contribution, highlighting the importance of fluid dynamics in e-nose design.
  • K-Nearest Neighbor Support Vector Machine (KNN-SVM) Classifier: To overcome the limitations of traditional Support Vector Machines (SVMs), particularly their computational intensity for large datasets, the authors proposed a hybrid KNN-SVM classifier. This approach first uses KNN to identify the nearest neighbors in the training data. If these neighbors belong to the same class, the test sample is classified accordingly. If not, the K nearest neighbors are used as a new, smaller training set for the SVM. This hybrid method aims to improve both classification accuracy and speed, making it suitable for large-scale data analysis.

Additionally, the study employed Principal Component Analysis (PCA) and Linear Discriminant Analysis (LDA) for dimensionality reduction of the sensor data before feeding it into the KNN-SVM classifier.

Datasets

The study utilized Red Fuji apples as the research objects. These apples were graded into three quality levels (L1, L2, and L3) by human experts based on their external and internal quality. The dataset consisted of 300 samples of 18-dimensional gas data collected from these apples. For model training and evaluation, the dataset was split with a ratio of 4:1, meaning 240 samples were used for training and 60 for testing. No new benchmark datasets were introduced; rather, existing apple samples were used.

Key Insights and Ideas

  • Airflow Matters: The CFD simulations clearly demonstrated that the internal structure of an e-nose, specifically the presence of steady flow plates, has a significant impact on airflow stability and, consequently, on the reliability of sensor readings. This underscores the importance of considering fluid dynamics in e-nose design.
  • Hybrid Classifiers for Efficiency: The KNN-SVM approach offers a compelling solution to the computational challenges of traditional SVMs when dealing with large datasets. By leveraging KNN for initial neighbor selection, the subsequent SVM training is more efficient and potentially more accurate.
  • Dimensionality Reduction is Key: Both PCA and LDA proved effective in reducing the dimensionality of the 18-dimensional sensor data while retaining most of the crucial information. This not only simplifies the classification process but also, as shown in the results, can lead to improved recognition accuracy.

Key Results

The study achieved impressive results in apple quality grading:

  • Optimal Nasal Cavity Design: CFD simulations indicated that the nasal cavity design with steady flow plates provided a more stable and uniform airflow, leading to more reliable sensor data.
  • High Recognition Accuracy:
    • The PCA-LDA dimensionality reduction followed by KNN-SVM achieved an average recognition rate of 96.45% and 97.78%, respectively.
  • The LDA-KNN-SVM classifier achieved the highest average recognition rate of 97.78%.
  • Improved Training Time: The dimensionality reduction techniques (PCA and LDA) significantly reduced the training time compared to using the original 18-dimensional data. For instance, the training time for the LDA 2D feature vector was 0.614 seconds, a substantial improvement over the original 3.653 seconds.
  • Comparative Performance: The proposed KNN-SVM classifier outperformed traditional classifiers like KNN, SVM, Decision Tree, and Random Forest in terms of recognition accuracy (97.78% vs. up to 93.30%). While its training time was slightly longer than some simpler methods, the accuracy gains were substantial.

Limitations and Future Work

  • Limited Sample Size and Variety: The study used a specific variety of apples (Red Fuji) and a limited number of samples (300). The generalizability of the system to other apple varieties or fruits with different aroma profiles might require further validation.
  • Pre-work Required: While the data processing after detection is fast, the initial setup and sample placement still require some pre-work.
  • Future Work: The authors suggest that this method could be applicable to the quality assessment of other fruits. Further research could explore expanding the system to classify a wider range of apple varieties, investigate the impact of different storage conditions on aroma profiles, and potentially integrate this e-nose system into automated sorting lines.

Summary updated

BibTeX
@misc{zou2022design,
  author = {Xiuguo Zou and Chenyang Wang and Manman Luo and Qiaomu Ren and Yingying Liu and Shikai Zhang and Yungang Bai and Jiawei Meng and Wentian Zhang and Steven W. Su},
  title = {{Design of Electronic Nose Detection System for Apple Quality Grading Based on Computational Fluid Dynamics Simulation and K-Nearest Neighbor Support Vector Machine}},
  year = {2022},
  doi = {10.3390/s22082997},
}
Figure