1. School of Mechanical and Electronic Engineering, Nanjing Forestry University, Nanjing 210037, China
2. College of Food Science & Engineering of Nanjing University of Finance and Economics, Nanjing 210023, China
3. Jiangsu Grain and Oil Quality Inspection Center, Nanjing 210031, China
Abstract:Based on near-infrared diffuse transmission spectrum analysis technology, a portable flour quality safety detector is designed, which mainly includes a spectrum acquisition module, light source control module, processing and display module and power supply module. Among them, diffuse transmission detection accessories can be lifted freely to facilitate the placement of samples and effectively avoid the interference of external stray light. The circuit for controlling the switch of the light source is designed, and experiments determine the optimal thickness of samples. Raspberry Pi 4B is selected as the core processor, and a rechargeable lithium battery is selected for the power supply. The instrument can continuously supply power for 2 hours, and its size is 250 mm× 170 mm×300 mm. A total of 180 samples were taken from the flour ground from wheat after bran removal. Each sample was divided into three parts: yellow, red and blue. For all red samples, use the near-infrared diffuse transmission spectrum with the wavelength of 900~1 870 nm to collect and record the spectral information, measure and record the humidity value of all yellow samples, and measure and record the Don content of all blue samples. The three samples need to be measured at the same time. The noise at both ends of the spectrum and an abnormal sample are eliminated by box diagram, and finally, the spectrum in 1 048~1 747 nm band is selected for modeling. The multivariate scattering correction (MSC), S-G convolution smoothing and standard normal transformation (SNV) were used to preprocess the original spectral data, and the partial least squares regression prediction model of flour humidity and PCA-logistic regression classification model of DON content exceeding the standard were established respectively. The correlation coefficients of the calibration set and prediction set of the optimal PLSR prediction model for humidity are 0.883 and 0.853, the root mean square error is 0.382% and 0.286%, and the residual prediction deviation RPD is 2.5. The AUC value under the ROC curve of the prediction set of the PCA-logistic regression classification model is 0.927. The confusion matrix shows that the prediction accuracy of samples not exceeding the standard is 96%, and that of samples exceeding the standard is 89%. The GUI interface is designed based on PyQt5, and the flour quality real-time detection system is written by Python language. The detection software can realize the training, saving and loading of PLSR and PCA-logistic regression models. The accuracy and stability of portable flour multi-quality tester were verified by external verification set test. The results showed that the correlation coefficient and root mean square error of the external verification set of flour humidity were 0.876 and 0.21%, and the maximum relative error was 2.89%. The recognition accuracy of flour DON content exceeding the standard is 90%, indicating that the instrument can be used for nondestructive detection and analysis of flour humidity and DON content.
Key words:Flour; Near infrared spectrum; Quality; Protable; Nondestructive examination; DON
[1] CHEN Juan,ZHAI Huan-chen,CAI Jing-ping(陈 娟,翟焕趁,蔡静平). Journal of the Chinese Cereals and Oils Association(中国粮油学报), 2016, 31(3): 106.
[2] Gonzalez-Munoz A, Montero B, Enrione J, et al. Journal of Cereal Science, 2016, 71: 246.
[3] JIANG Xue-song,ZHANG Bin,ZHAO Tian-xia, et al(蒋雪松,张 斌,赵天霞, 等). Spectroscopy and Spectral Analysis(光谱学与光谱分析), 2019, 39(12): 3904.
[4] LIU Ya-chao,LI Yong-yu,PENG Yan-kun, et al(刘亚超,李永玉,彭彦昆, 等). Transactions of the Chinese Society for Agricultural Machinery(农业机械学报), 2019, 50(8): 351.
[5] GUO Zhi-ming,CHEN Quan-sheng,ZHANG Bin, et al(郭志明,陈全胜,张 彬, 等). Transactions of the Chinese Society of Agricultural Engineering(农业工程学报), 2017, 33(8): 245.
[6] Huang Y P, Lu R F, Chen K J. Postharvest Biology and Technology, 2020, 161: 111065.
[7] ZHANG Hai-hui,CHEN Ke-tao,SU Dong, et al(张海辉,陈克涛,苏 东, 等). Transactions of the Chinese Society of Agricultural Engineering(农业工程学报), 2016, 32(18): 255.
[8] GAO Sheng,WANG Qiao-hua,SHI Xing, et al(高 升,王巧华,施 行, 等). Transactions of the Chinese Society for Agricultural Machinery(农业机械学报), 2021, 52(2): 308.
[9] SUN Hong,CHEN Xiang,SUN Zi-chun, et al(孙 红,陈 香,孙梓淳, 等). Transactions of the Chinese Society for Agricultural Machinery(农业机械学报), 2018, 49(3): 173.
[10] LI Long,PENG Yan-kun,LI Yong-yu(李 龙,彭彦昆,李永玉). Transactions of the Chinese Society of Agricultural Engineering(农业工程学报), 2018, 34(9): 267.
[11] WANG Fan,LI Yong-yu,PENG Yan-kun, et al(王 凡,李永玉,彭彦昆, 等). Transactions of the Chinese Society of Agricultural Engineering(农业工程学报), 2017, 33(19): 295.
[12] WANG Fan,LI Yong-yu,PENG Yan-kun, et al(王 凡,李永玉,彭彦昆, 等). Transactions of the Chinese Society for Agricultural Machinery(农业机械学报), 2018, 49(7): 348.
[13] Mutlu A C, Boyaci I H, Genis H E, et al. European Food Research and Technology, 2011, 233(2): 267.
[14] Femenias A, Gatius F, Ramos A J, et al. Food Control, 2020, 111: 107074.
[15] DING Jing,LIANG Kun,HAN Dong-shen, et al(丁 静,梁 琨,韩东燊, 等). Journal of Triticeae Crops(麦类作物学报), 2019, 39(7): 867.