为解决实际生产中生姜腐败等级检测困难,以及检测模型在多品种场景下泛化能力不足的双重难题,本研究提出一种基于电子鼻技术和集成学习Boosting算法改进反向传播神经网络(back propagation neural network,BPNN)的多品种生姜腐败等级检测方法。为实现对多品种生姜腐败等级的普适性检测,分别以安丘嫩芽姜、山东大姜、四川嫩芽姜和云南小黄姜为研究对象,采集各品种不同腐败阶段产生的特征挥发性气体。基于所采集的传感器数据,提取基线值、响应幅值、一阶导数最大值、第10秒瞬态值、方差和上升时间6 种特征建立特征空间。采用随机森林(random forest,RF)、梯度提升决策树(gradient boosting decision tree,GBDT)和BPNN算法建立生姜腐败等级检测模型。结果表明,BPNN模型与四川嫩芽姜结合的腐败检测准确率最好,可达96.70%。鉴于其性能尚有提升空间,使用Boosting和Bagging算法对BPNN进行优化,得到性能最优的Boosting-BPNN模型,与云南小黄姜结合检测准确率高达98.80%。进一步使用其余生姜品种对该模型进行多品种验证,结果表明所有品种准确率均在90%以上。本研究表明Boosting-BPNN模型可以实现对多品种生姜腐败的低成本、高效检测,对后续针对电子鼻与生姜的研究具有现实意义。
LI Mingwei
,
LI Xiao
,
LIU Tong
,
WANG Wenjun
,
CHEN Yulong
,
ZHOU Long
,
XIA Xiaomeng
. 基于Boosting-BPNN优化电子鼻的多品种生姜腐败等级快速检测方法[J]. 食品科学, 2026
, 47(10)
: 354
-367
.
DOI: 10.7506/spkx1002-6630-20251204-029
To address the dual challenges of difficulty in detecting the spoilage levels of ginger in actual production and insufficient generalization capacity of detection models across multiple varieties, this study proposed a method for detecting spoilage levels of multiple ginger varieties based on electronic nose (E-nose) combined with a back propagation neural network (BPNN) optimized by the Boosting ensemble learning algorithm. To achieve universal detection of spoilage levels across various varieties of ginger, four varieties including Anqiu tender ginger, Shandong large ginger, Sichuan tender ginger and Yunnan small yellow ginger were selected for this study. The characteristic volatile gases produced at different spoilage stages of each variety were collected. Based on the collected sensor data, six features including baseline value, response amplitude, maximum value of the first-order derivative, transient value at the 10th second, variance, and rise time were extracted to establish the feature space. Random forest (RF), gradient boosting decision tree (GBDT), and BPNN were used to establish models for detecting ginger spoilage levels. The results showed that the BPNN model achieved the highest spoilage detection accuracy of 96.70% for Sichuan tender ginger. Given the potential for further performance improvement, the BPNN was optimized using Boosting and Bagging algorithms. The resulting Boosting-optimized BPNN model demonstrated superior performance, achieving a detection accuracy as high as 98.80% for Yunnan small yellow ginger. Furthermore, the model was validated on the remaining ginger varieties. The results showed that the accuracy for all varieties exceeded 90%. This study demonstrates that the Boosting-optimized BPNN model enables cost-effective and highly efficient detection of the spoilage of multiple ginger varieties, which holds practical significance for subsequent research on E-nose and ginger.