Rapid Detection of Fertilizer Information Based on Near-Infrared Spectroscopy and Machine Learning and the Design of a Detection Device

Q2 Agricultural and Biological Sciences
Yongzheng Ma, Zhuoyuan Wu, Yingying Cheng, Shihong Chen, Jianian Li
{"title":"Rapid Detection of Fertilizer Information Based on Near-Infrared Spectroscopy and Machine Learning and the Design of a Detection Device","authors":"Yongzheng Ma, Zhuoyuan Wu, Yingying Cheng, Shihong Chen, Jianian Li","doi":"10.3390/agriculture14071184","DOIUrl":null,"url":null,"abstract":"The online detection of fertilizer information is pivotal for precise and intelligent variable-rate fertilizer application. However, traditional methods face challenges such as the complex quantification of multiple components and sensor-induced cross-contamination. This study investigates integrating near-infrared principles with machine learning algorithms to identify fertilizer types and concentrations. We utilized near-infrared transmission spectroscopy and applied Partial Least Squares Discriminant Analysis (PLS-DA), Support Vector Machine (SVM), and Back-Propagation Neural Network (BPNN) algorithms to analyze full spectrum data. The BPNN model, using S-G smoothing, demonstrated a superior classification performance for the nutrient ions of four fertilizer solutions: HPO42−, NH4+, H2PO4− and K+. Optimization using the competitive adaptive reweighted sampling (CARS) method yielded BPNN model RMSE values of 0.3201, 0.7160, 0.2036, and 0.0177 for HPO42−, NH4+, H2PO4−, and K+, respectively. Building on this foundation, we designed a four-channel fertilizer detection device based on the Lambert–Beer law, enabling the real-time detection of fertilizer types and concentrations. The test results confirmed the device’s robust stability, achieving 93% accuracy in identifying fertilizer types and concentrations, with RMSE values ranging from 1.0034 to 2.4947, all within ±8.0% error margin. This study addresses the practical requirements for online fertilizer detection in agricultural engineering, laying the groundwork for efficient water–fertilizer integration technology aligned with sustainable development goals.","PeriodicalId":7447,"journal":{"name":"Agriculture","volume":" ","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-07-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Agriculture","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3390/agriculture14071184","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"Agricultural and Biological Sciences","Score":null,"Total":0}
引用次数: 0

Abstract

The online detection of fertilizer information is pivotal for precise and intelligent variable-rate fertilizer application. However, traditional methods face challenges such as the complex quantification of multiple components and sensor-induced cross-contamination. This study investigates integrating near-infrared principles with machine learning algorithms to identify fertilizer types and concentrations. We utilized near-infrared transmission spectroscopy and applied Partial Least Squares Discriminant Analysis (PLS-DA), Support Vector Machine (SVM), and Back-Propagation Neural Network (BPNN) algorithms to analyze full spectrum data. The BPNN model, using S-G smoothing, demonstrated a superior classification performance for the nutrient ions of four fertilizer solutions: HPO42−, NH4+, H2PO4− and K+. Optimization using the competitive adaptive reweighted sampling (CARS) method yielded BPNN model RMSE values of 0.3201, 0.7160, 0.2036, and 0.0177 for HPO42−, NH4+, H2PO4−, and K+, respectively. Building on this foundation, we designed a four-channel fertilizer detection device based on the Lambert–Beer law, enabling the real-time detection of fertilizer types and concentrations. The test results confirmed the device’s robust stability, achieving 93% accuracy in identifying fertilizer types and concentrations, with RMSE values ranging from 1.0034 to 2.4947, all within ±8.0% error margin. This study addresses the practical requirements for online fertilizer detection in agricultural engineering, laying the groundwork for efficient water–fertilizer integration technology aligned with sustainable development goals.
基于近红外光谱和机器学习的肥料信息快速检测及检测设备的设计
肥料信息的在线检测对于精确、智能的变速施肥至关重要。然而,传统方法面临着多种成分的复杂量化和传感器引起的交叉污染等挑战。本研究探讨了如何将近红外原理与机器学习算法相结合,以识别肥料类型和浓度。我们利用近红外透射光谱技术,并应用偏最小二乘法判别分析 (PLS-DA)、支持向量机 (SVM) 和反向传播神经网络 (BPNN) 算法来分析全光谱数据。使用 S-G 平滑法的 BPNN 模型对四种肥料溶液的养分离子进行了出色的分类:HPO42-、NH4+、H2PO4- 和 K+。使用竞争性自适应加权采样(CARS)方法进行优化后,BPNN 模型对 HPO42-、NH4+、H2PO4- 和 K+ 的 RMSE 值分别为 0.3201、0.7160、0.2036 和 0.0177。在此基础上,我们设计了基于朗伯-比尔定律的四通道肥料检测装置,实现了对肥料类型和浓度的实时检测。测试结果表明,该装置具有很强的稳定性,识别肥料类型和浓度的准确率达到 93%,均方根误差值从 1.0034 到 2.4947 不等,误差范围均在±8.0%以内。这项研究满足了农业工程中在线肥料检测的实际要求,为实现符合可持续发展目标的高效水肥一体化技术奠定了基础。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Agriculture
Agriculture Agricultural and Biological Sciences-Horticulture
CiteScore
1.90
自引率
0.00%
发文量
4
审稿时长
11 weeks
期刊介绍: The Agriculture (Poľnohospodárstvo) is a peer-reviewed international journal that publishes mainly original research papers. The journal examines various aspects of research and is devoted to the publication of papers dealing with the following subjects: plant nutrition, protection, breeding, genetics and biotechnology, quality of plant products, grassland, mountain agriculture and environment, soil science and conservation, mechanization and economics of plant production and other spheres of plant science. Journal is published 4 times per year.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信