arXiv:2601.13054cs.LGcs.AI2026-01被引 8

用微型机器学习让农田自动精准浇水,省水又无需联网。

TinyML-Enabled IoT for Sustainable Precision Irrigation

  • 在边缘设备上部署轻量级模型,实现离线智能灌溉决策。
  • 模型误差低于1%,比随机森林节水效率更高。
  • 适合缺电缺网的偏远农村,成本低易推广。

小规模农耕社区受水资源短缺、气候异常及缺乏先进农业技术影响严重。本文提出一种面向边缘计算的新型物联网框架,结合微型机器学习(TinyML)实现无需云端依赖的智能精准灌溉。系统采用四层架构,基于低成本ESP32微控制器作为边缘推理节点,搭配Raspberry Pi作为本地边缘服务器,集成电容式土壤湿度、温湿度、pH值和光照传感器进行环境监测。对多种集成模型的对比分析表明,梯度提升模型表现最优,达到R²=0.9973,平均绝对百分比误差(MAPE)为0.99%,优于随机森林模型(R²=0.9916,MAPE=1.81%)。该优化模型被转换并部署至ESP32上,形成轻量级TinyML推理引擎,预测灌溉需求的误差低于1%。通过基于MQTT的局域网通信协议实现本地稳定通信,确保无网络环境下可靠运行。在受控环境中验证显示,相比传统方法显著降低用水量。系统的低功耗设计与离线功能证实其在资源匮乏农村地区的可持续性和可扩展性。本研究为缩小农业技术差距、提升用水效率提供了可行且经济的解决方案。

原文摘要 · Abstract (English)

Small-scale farming communities are disproportionately affected by water scarcity, erratic climate patterns, and a lack of access to advanced, affordable agricultural technologies. To address these challenges, this paper presents a novel, edge-first IoT framework that integrates Tiny Machine Learning (TinyML) for intelligent, offline-capable precision irrigation. The proposed four-layer architecture leverages low-cost hardware, an ESP32 microcontroller as an edge inference node, and a Raspberry Pi as a local edge server to enable autonomous decision-making without cloud dependency. The system utilizes capacitive soil moisture, temperature, humidity, pH, and ambient light sensors for environmental monitoring. A rigorous comparative analysis of ensemble models identified gradient boosting as superior, achieving an R^2 score of 0.9973 and a Mean Absolute Percentage Error (MAPE) of 0.99%, outperforming a random forest model (R^2 = 0.9916, MAPE = 1.81%). This optimized model was converted and deployed as a lightweight TinyML inference engine on the ESP32 and predicts irrigation needs with exceptional accuracy (MAPE < 1%). Local communication is facilitated by an MQTT-based LAN protocol, ensuring reliable operation in areas with limited or no internet connectivity. Experimental validation in a controlled environment demonstrated a significant reduction in water usage compared to traditional methods, while the system's low-power design and offline functionality confirm its viability for sustainable, scalable deployment in resource-constrained rural settings. This work provides a practical, cost-effective blueprint for bridging the technological divide in agriculture and enhancing water-use efficiency through on-device artificial intelligence.

TinyML精准灌溉边缘计算智慧农业

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。