College of Artificial Intelligence, Nanjing Agricultural University, Nanjing 210031, China.
College of Engineering, Nanjing Agricultural University, Nanjing 210031, China.
Sensors (Basel). 2022 Apr 14;22(8):2997. doi: 10.3390/s22082997.
Apples are one of the most widely planted fruits in the world, with an extremely high annual production. Several issues should be addressed to avoid the damaging of samples during the quality grading process of apples (e.g., the long detection period and the inability to detect the internal quality of apples). In this study, an electronic nose (e-nose) detection system for apple quality grading based on the K-nearest neighbor support vector machine (KNN-SVM) was designed, and the nasal cavity structure of the e-nose was optimized by computational fluid dynamics (CFD) simulation. A KNN-SVM classifier was also proposed to overcome the shortcomings of the traditional SVMs. The performance of the developed device was experimentally verified in the following steps. The apples were divided into three groups according to their external and internal quality. The e-nose data were pre-processed before features extraction, and then Principal Component Analysis (PCA) and Linear Discriminant Analysis (LDA) were used to reduce the dimension of the datasets. The recognition accuracy of the PCA-KNN-SVM classifier was 96.45%, and the LDA-KNN-SVM classifier achieved 97.78%. Compared with other commonly used classifiers, (traditional KNN, SVM, Decision Tree, and Random Forest), KNN-SVM is more efficient in terms of training time and accuracy of classification. Generally, the apple grading system can be used to evaluate the quality of apples during storage.
苹果是世界上种植最广泛的水果之一,年总产量极高。在进行苹果质量分级过程中(例如,检测周期长且无法检测苹果的内部质量),有几个问题需要解决。本研究设计了一种基于 K-最近邻支持向量机(KNN-SVM)的电子鼻(e-nose)苹果质量分级检测系统,并通过计算流体动力学(CFD)模拟对电子鼻的鼻腔结构进行了优化。还提出了一种 KNN-SVM 分类器来克服传统 SVM 的缺点。该开发设备的性能通过以下步骤进行了实验验证。根据苹果的外部和内部质量将苹果分为三组。在进行特征提取之前,对电子鼻数据进行预处理,然后使用主成分分析(PCA)和线性判别分析(LDA)来降低数据集的维度。PCA-KNN-SVM 分类器的识别准确率为 96.45%,LDA-KNN-SVM 分类器的识别准确率为 97.78%。与其他常用的分类器(传统 KNN、SVM、决策树和随机森林)相比,KNN-SVM 在训练时间和分类准确性方面更有效。总体而言,苹果分级系统可用于评估储存期间的苹果质量。