Yijie Li , Chunhao Cao , Mengke Cao , Wenchuan Guo
{"title":"Transient sound signal analysis for watermelon ripeness detection using HHT and NMF","authors":"Yijie Li , Chunhao Cao , Mengke Cao , Wenchuan Guo","doi":"10.1016/j.compag.2025.110543","DOIUrl":null,"url":null,"abstract":"<div><div>Harvesting watermelon at an inappropriate time can significantly impact its quality and flavor. To ensure rapid, reliable, and nondestructive determination of watermelon ripeness, this study focuses on analyzing the tapping sound of watermelons at various ripeness levels. The tapping sound, characterized as a transient acoustic signal, exhibits consistent resonance properties but varying frequency features across ripeness stages. A sound processing method was developed by integrating Nonnegative Matrix Factorization (NMF) filtering and Root-Mean-Square (RMS) normalization. Frequency characteristics and variations in watermelon tapping sounds were analyzed using the Hilbert-Huang Transform (HHT) and NMF-based feature extraction. Machine learning models, including Support Vector Machine (SVM), HHT combined with SVM (HHT + SVM), and NMF combined with SVM (NMF + SVM), were employed to classify watermelons of different ripeness levels. Experimental results, based on 100 samples each of unripe, ripe, and overripe watermelons, showed a gradual decrease in the average frequency distribution of tapping sounds from unripe to overripe stages. The classification accuracy of watermelon ripeness using SVM alone was 62.78 %, which improved to 74.44 % with HHT + SVM and further increased to 92.22 % with NMF + SVM. These findings demonstrate that feature extraction methods based on NMF and HHT effectively capture the frequency characteristics and time-decay properties of transient acoustic signals. This study offers an efficient and practical method for acoustic nondestructive detection of watermelon ripeness, providing a novel approach for processing transient and abrupt sound signals with broad potential applications.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"237 ","pages":"Article 110543"},"PeriodicalIF":7.7000,"publicationDate":"2025-05-23","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/S0168169925006490","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
Harvesting watermelon at an inappropriate time can significantly impact its quality and flavor. To ensure rapid, reliable, and nondestructive determination of watermelon ripeness, this study focuses on analyzing the tapping sound of watermelons at various ripeness levels. The tapping sound, characterized as a transient acoustic signal, exhibits consistent resonance properties but varying frequency features across ripeness stages. A sound processing method was developed by integrating Nonnegative Matrix Factorization (NMF) filtering and Root-Mean-Square (RMS) normalization. Frequency characteristics and variations in watermelon tapping sounds were analyzed using the Hilbert-Huang Transform (HHT) and NMF-based feature extraction. Machine learning models, including Support Vector Machine (SVM), HHT combined with SVM (HHT + SVM), and NMF combined with SVM (NMF + SVM), were employed to classify watermelons of different ripeness levels. Experimental results, based on 100 samples each of unripe, ripe, and overripe watermelons, showed a gradual decrease in the average frequency distribution of tapping sounds from unripe to overripe stages. The classification accuracy of watermelon ripeness using SVM alone was 62.78 %, which improved to 74.44 % with HHT + SVM and further increased to 92.22 % with NMF + SVM. These findings demonstrate that feature extraction methods based on NMF and HHT effectively capture the frequency characteristics and time-decay properties of transient acoustic signals. This study offers an efficient and practical method for acoustic nondestructive detection of watermelon ripeness, providing a novel approach for processing transient and abrupt sound signals with broad potential applications.
期刊介绍:
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.