高级检索+

便携式农田土壤有机质含量的多光谱检测装置设计与试验

Development of a portable multispectral detection device for soil organic matter content in farmland

  • 摘要: 为实现农田环境下土壤有机质(soil organic matter, SOM)含量的便携式、快速无损检测,该研究开发了一种基于多光谱技术的SOM含量检测装置。通过四种特征波长提取算法结合变量重要性投影方法,同时考虑水分影响,确定了7个SOM特征波长(420、530、600、630、855、900、1345 nm)和1个土壤含水率校正波长(1450 nm)。基于此设计了装置的软硬件系统,集成主控模块、多光谱获取模块、电源管理模块和人机交互模块,利用窄带LED和光电二极管实现多光谱数据的获取。利用开发的装置采集了土壤的多光谱数据,对比干燥土壤建模、整体建模、分层建模三种建模策略,结果表明分层建模预测效果最佳,利用PLS算法进行水分梯度分类,结合MLP算法进行SOM含量估测,构建PLS-MLP分层回归算法,模型决定系数为0.84,均方根误差为3.93 g/kg,相对分析误差为2.50。将模型嵌入装置后进行测试,与实验室测定值的相关系数为0.82,均方根误差为5.27 g/kg,相对分析误差为1.64,重复测试标准差小于0.4 g/kg,单次检测耗时小于9 s。该装置能快速、准确估测SOM含量,具有较好的应用潜力。

     

    Abstract: Soil Organic Matter (SOM) plays a vital role in enhancing soil structure, increasing fertility, supporting carbon sequestration, and facilitating nutrient cycling. However, conventional chemical analysis methods, while accurate, suffer from significant drawbacks including lengthy processing times, operational complexity, high costs, and the destruction of soil samples. These limitations make them impractical for the rapid, large-scale monitoring required in modern precision agriculture. To achieve portable, rapid, and non-destructive detection of SOM content in agricultural field environments, this study developed a SOM detection device based on multispectral technology. This study utilized 237 soil samples collected from Ningxia and Shaanxi provinces. Visible-near infrared (Vis-NIR) spectral data and reference SOM content values were obtained. After completing spectral preprocessing and outlier removal, four feature wavelength selection algorithms-namely moving window PLS (MWPLS), iterative random forests (iRF), variable dimension particle swarm optimization based on combined moving window (VDPSO-CMW), and moving window smoothing on the ensemble of competitive adaptive reweighted sampling (MWS-ECARS)-were employed in conjunction with the variable importance in Projection (VIP) method. This integrated analytical process successfully identified seven characteristic wavelengths for SOM: 420, 530, 600, 630, 855, 900, and 1345 nm, thereby significantly reducing the spectral dimensionality and complexity of the dataset. Furthermore, to mitigate the interference of soil moisture on spectral signals, a dedicated correction wavelength at 1450 nm was also selected for soil moisture adjustment. Building upon this foundation, the hardware and software systems of the device were designed based on the selected characteristic wavelengths and the ESP32 embedded platform. The device integrates a main control module, a multispectral acquisition module, a power management module, and a human-machine interaction module. The acquisition of multispectral data is achieved using narrow-band LED light sources corresponding to the characteristic wavelengths, in conjunction with photodiodes. Subsequently, the developed device was used to collect soil multispectral data. Based on three machine learning algorithms-partial least squares (PLS), multilayer perceptron (MLP), and support vector machine (SVM)-three modelling strategies, namely dry soil modelling, global modelling, and stratified modelling, were respectively compared and constructed. The results indicated that the stratified modelling strategy yielded the best predictive performance. This approach involves establishing independent SOM prediction models for each moisture gradient. During actual prediction, the soil moisture content is first estimated. Based on the determined moisture gradient, the corresponding sub-model is then selected to predict the SOM content, thereby enabling accurate SOM estimation under varying soil moisture conditions. Utilizing the multispectral data acquired by the prototype device, a PLS-MLP stratified regression model was constructed. This involved using the PLS algorithm for moisture gradient classification and then applying the MLP algorithm to estimate SOM content. The model achieved a coefficient of determination (R2) of 0.84, a root mean square error (RMSE) of 3.93 g/kg, and a relative prediction deviation (RPD) of 2.50. After embedding the model into the device for testing, the R2 between the device's estimated values and laboratory-measured values reached 0.82, with an RMSE of 5.27 g/kg, an RPD of 1.64, a standard deviation for repeated tests of less than 0.4 g/kg, and a single detection time under 9 seconds. Therefore, this device enables rapid and accurate estimation of SOM content. It provides a valuable technical concept for the development of rapid soil fertility assessment equipment, demonstrating strong application potential.

     

/

返回文章
返回