Color-Sensitive Sensor Array Combined with Machine Learning for Non-Destructive Detection of AFB 1 in Corn Silage
Daqian Wan,
Haiqing Tian (),
Lina Guo,
Kai Zhao,
Yang Yu,
Xinglu Zheng,
Haijun Li and
Jianying Sun
Additional contact information
Daqian Wan: College of Mechanical and Electrical Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China
Haiqing Tian: College of Mechanical and Electrical Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China
Lina Guo: College of Mechanical and Electrical Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China
Kai Zhao: College of Mechanical and Electrical Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China
Yang Yu: College of Mechanical and Electrical Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China
Xinglu Zheng: College of Mechanical and Electrical Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China
Haijun Li: College of Mechanical and Electrical Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China
Jianying Sun: College of Mechanical and Electrical Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China
Agriculture, 2025, vol. 15, issue 14, 1-25
Abstract:
Aflatoxin B 1 (AFB 1 ) contamination in corn silage poses significant risks to livestock and human health. This study developed a non-destructive detection method for AFB 1 using color-sensitive arrays (CSAs). Twenty self-developed CSAs were employed to react with samples, with reflectance spectra collected using a portable spectrometer. Spectral data were optimized through seven preprocessing methods, including Standard Normal Variate (SNV), Multiplicative Scatter Correction (MSC), first-order derivative (1st D), second-order derivative (2nd D), wavelet denoising, and their combinations. Key variables were selected using five feature selection algorithms: Competitive Adaptive Reweighted Sampling (CARS), Principal Component Analysis (PCA), Random Forest (RF), Uninformative Variable Elimination (UVE), and eXtreme Gradient Boosting (XGBoost). Five machine learning models were constructed: Light Gradient Boosting Machine (LightGBM), XGBoost, Support Vector Regression (SVR), RF, and K-Nearest Neighbor (KNN). The results demonstrated significant AFB 1 -responsive characteristics in three dyes: (2,3,7,8,12,13,17,18-octaethylporphynato)chloromanganese(III) (Mn(OEP)Cl), Bromocresol Green, and Cresol Red. The combined 1st D-PCA-KNN model showed optimal prediction performance, with determination coefficient ( R p 2 = 0.87), root mean square error ( RMSEP = 0.057), and relative prediction deviation ( RPD = 2.773). This method provides an efficient solution for silage AFB 1 monitoring.
Keywords: AFB 1; maize silage; colorimetric sensor array; portable spectrometer; machine learning (search for similar items in EconPapers)
JEL-codes: Q1 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:
Downloads: (external link)
https://www.mdpi.com/2077-0472/15/14/1507/pdf (application/pdf)
https://www.mdpi.com/2077-0472/15/14/1507/ (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:gam:jagris:v:15:y:2025:i:14:p:1507-:d:1700703
Access Statistics for this article
Agriculture is currently edited by Ms. Leda Xuan
More articles in Agriculture from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().