Yibo Li , Yuxin Hou , Tao Cui , Danielle S Tan , Yang Xu , Dongxing Zhang , Mengmeng Qiao , Lijian Xiong
{"title":"利用振动压电信号的时频图像耦合机器学习对谷物和杂质进行分类,以评估玉米的清洁损失","authors":"Yibo Li , Yuxin Hou , Tao Cui , Danielle S Tan , Yang Xu , Dongxing Zhang , Mengmeng Qiao , Lijian Xiong","doi":"10.1016/j.compag.2024.109583","DOIUrl":null,"url":null,"abstract":"<div><div>Accurately differentiating maize mixtures and assessing grain cleaning loss contributes to improving the efficiency and sustainability of agricultural systems. This study proposes a novel detection method integrating time–frequency images of particle vibro-piezoelectric signals and machine learning to classify grain and impurity and assess maize cleaning loss. Specifically, an indie-developed vibro-piezoelectric detection setup is employed to capture the time-domain response signals of grain and impurity for building a database of maize collision signals. Using the Short-Time Fourier Transform (STFT) and Weighted Average Algorithm (WAA), 1D time-domain signals characterizing only the time-varying properties are converted into 2D time–frequency images possessing rich spectral feature information and energy distribution. Subsequently, 15 texture features are extracted from 2D time–frequency images with the Grey-Level-Gradient Co-ccurrence Matrix (GLGCM). After eliminating weakly-correlated features, eleven texture features are chosen and consolidated within the first four Principal Components (PCs). These four PCs and the traditional 1D time-domain signals are pre-processed and input into the Naive Bayes (NB), Support Vector Machine (SVM), Decision Tree (DT), and Random Forest (RF) classifiers. The NB model with Savitzky-Golay (SG) pre-processing utilizing 2D time–frequency image features exhibits the highest accuracy of 95.74%, surpassing the optimal 1D time-domain classification model by 5.31 percentage points. Bench tests verify that the piezoelectric detection unit with the optimal NB model can control the absolute error in grain loss rate to within 0.43%. Notably, the proposed method also applies to the classification and cleaning loss detection of other typical crops by replacing the collision signal database.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"227 ","pages":"Article 109583"},"PeriodicalIF":7.7000,"publicationDate":"2024-11-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Classifying grain and impurity to assess maize cleaning loss using time–frequency images of vibro-piezoelectric signals coupling machine learning\",\"authors\":\"Yibo Li , Yuxin Hou , Tao Cui , Danielle S Tan , Yang Xu , Dongxing Zhang , Mengmeng Qiao , Lijian Xiong\",\"doi\":\"10.1016/j.compag.2024.109583\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Accurately differentiating maize mixtures and assessing grain cleaning loss contributes to improving the efficiency and sustainability of agricultural systems. This study proposes a novel detection method integrating time–frequency images of particle vibro-piezoelectric signals and machine learning to classify grain and impurity and assess maize cleaning loss. Specifically, an indie-developed vibro-piezoelectric detection setup is employed to capture the time-domain response signals of grain and impurity for building a database of maize collision signals. Using the Short-Time Fourier Transform (STFT) and Weighted Average Algorithm (WAA), 1D time-domain signals characterizing only the time-varying properties are converted into 2D time–frequency images possessing rich spectral feature information and energy distribution. Subsequently, 15 texture features are extracted from 2D time–frequency images with the Grey-Level-Gradient Co-ccurrence Matrix (GLGCM). After eliminating weakly-correlated features, eleven texture features are chosen and consolidated within the first four Principal Components (PCs). These four PCs and the traditional 1D time-domain signals are pre-processed and input into the Naive Bayes (NB), Support Vector Machine (SVM), Decision Tree (DT), and Random Forest (RF) classifiers. The NB model with Savitzky-Golay (SG) pre-processing utilizing 2D time–frequency image features exhibits the highest accuracy of 95.74%, surpassing the optimal 1D time-domain classification model by 5.31 percentage points. Bench tests verify that the piezoelectric detection unit with the optimal NB model can control the absolute error in grain loss rate to within 0.43%. Notably, the proposed method also applies to the classification and cleaning loss detection of other typical crops by replacing the collision signal database.</div></div>\",\"PeriodicalId\":50627,\"journal\":{\"name\":\"Computers and Electronics in Agriculture\",\"volume\":\"227 \",\"pages\":\"Article 109583\"},\"PeriodicalIF\":7.7000,\"publicationDate\":\"2024-11-06\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computers and Electronics in Agriculture\",\"FirstCategoryId\":\"97\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0168169924009748\",\"RegionNum\":1,\"RegionCategory\":\"农林科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"AGRICULTURE, MULTIDISCIPLINARY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers and Electronics in Agriculture","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0168169924009748","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
摘要
准确区分玉米混合物和评估谷物清洗损失有助于提高农业系统的效率和可持续性。本研究提出了一种新型检测方法,将颗粒振动压电信号的时频图像与机器学习相结合,对谷物和杂质进行分类,并评估玉米的清洁损失。具体而言,利用自主研发的振动压电检测装置捕捉谷物和杂质的时域响应信号,建立玉米碰撞信号数据库。利用短时傅里叶变换 (STFT) 和加权平均算法 (WAA),将仅描述时变特性的一维时域信号转换为具有丰富频谱特征信息和能量分布的二维时频图像。随后,利用灰色-梯度共生矩阵(GLGCM)从二维时频图像中提取 15 个纹理特征。剔除弱相关特征后,选出 11 个纹理特征,并将其合并到前四个主成分(PC)中。这四个 PC 和传统的一维时域信号经过预处理后,输入到 Naive Bayes(NB)、支持向量机(SVM)、决策树(DT)和随机森林(RF)分类器中。利用二维时频图像特征进行萨维茨基-戈莱(SG)预处理的 NB 模型准确率最高,达到 95.74%,比最佳一维时域分类模型高出 5.31 个百分点。工作台测试证实,采用最佳 NB 模型的压电检测单元可将晶粒损耗率的绝对误差控制在 0.43% 以内。值得注意的是,通过替换碰撞信号数据库,所提出的方法也适用于其他典型作物的分类和清选损失检测。
Classifying grain and impurity to assess maize cleaning loss using time–frequency images of vibro-piezoelectric signals coupling machine learning
Accurately differentiating maize mixtures and assessing grain cleaning loss contributes to improving the efficiency and sustainability of agricultural systems. This study proposes a novel detection method integrating time–frequency images of particle vibro-piezoelectric signals and machine learning to classify grain and impurity and assess maize cleaning loss. Specifically, an indie-developed vibro-piezoelectric detection setup is employed to capture the time-domain response signals of grain and impurity for building a database of maize collision signals. Using the Short-Time Fourier Transform (STFT) and Weighted Average Algorithm (WAA), 1D time-domain signals characterizing only the time-varying properties are converted into 2D time–frequency images possessing rich spectral feature information and energy distribution. Subsequently, 15 texture features are extracted from 2D time–frequency images with the Grey-Level-Gradient Co-ccurrence Matrix (GLGCM). After eliminating weakly-correlated features, eleven texture features are chosen and consolidated within the first four Principal Components (PCs). These four PCs and the traditional 1D time-domain signals are pre-processed and input into the Naive Bayes (NB), Support Vector Machine (SVM), Decision Tree (DT), and Random Forest (RF) classifiers. The NB model with Savitzky-Golay (SG) pre-processing utilizing 2D time–frequency image features exhibits the highest accuracy of 95.74%, surpassing the optimal 1D time-domain classification model by 5.31 percentage points. Bench tests verify that the piezoelectric detection unit with the optimal NB model can control the absolute error in grain loss rate to within 0.43%. Notably, the proposed method also applies to the classification and cleaning loss detection of other typical crops by replacing the collision signal database.
期刊介绍:
Computers and Electronics in Agriculture provides international coverage of advancements in computer hardware, software, electronic instrumentation, and control systems applied to agricultural challenges. Encompassing agronomy, horticulture, forestry, aquaculture, and animal farming, the journal publishes original papers, reviews, and applications notes. It explores the use of computers and electronics in plant or animal agricultural production, covering topics like agricultural soils, water, pests, controlled environments, and waste. The scope extends to on-farm post-harvest operations and relevant technologies, including artificial intelligence, sensors, machine vision, robotics, networking, and simulation modeling. Its companion journal, Smart Agricultural Technology, continues the focus on smart applications in production agriculture.