Yibo Li , Yuxin Hou , Tao Cui , Danielle S Tan , Yang Xu , Dongxing Zhang , Mengmeng Qiao , Lijian Xiong
{"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}
引用次数: 0
Abstract
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.