English

中国农机化学报

中国农机化学报 ›› 2023, Vol. 44 ›› Issue (1): 162-171.DOI: 10.13733/j.jcam.issn.2095-5553.2023.01.023

• 农业信息化工程 • 上一篇    下一篇

基于模糊PID控制的NB-IoT果蔬农业物联网系统设计与试验

李洪兵,罗洋,张颖,王雨凝,欧俊,崔浩   

  1. 重庆三峡学院,重庆市,404120
  • 出版日期:2023-01-15 发布日期:2023-01-18
  • 基金资助:
    重庆市自然科学基金项目(2022NSCQ—MSX4084);重庆市教委科学技术研究项目(KJZD-M202201204、KJQN202101233、KJQN202001229);重庆市人工智能+智慧农业学科群开放基金(ZNNYKFB201901);重庆市三峡库区地质环境监测与灾害预警重点实验室开放基金(MP2020B0202);重庆万州区科学技术局科技创新智慧农业项目(2022年度)

Design and test of NB-IoT system of fruitvegetable agriculture based on fuzzy PID control

Li Hongbing, Luo Yang, Zhang Ying, Wang Yuning, Ou Jun, Cui Hao.   

  • Online:2023-01-15 Published:2023-01-18

摘要: 针对传统果蔬农业大棚环境数据感知不强、现场维护工作量大、无线覆盖区域受限、生产管理效率低、成本高的问题,提出一套基于模糊PID控制的NB-IoT果蔬农业物联网系统设计。以STM32L475VET6超低功耗芯片为主控芯片,通过NB-IoT和ZigBee双协议融合组网技术和环形缓冲队列算法组建广域无线网络,设计现场监测终端与远程云监控平台,将局域终端节点采集的环境因子信息接入云服务器进行统计与分析。系统根据采集到的数据自动调控反馈控制设备,达到低功耗模式下的广域覆盖监测并智能反馈调控果蔬大棚环境因子的目的,实现感知层、网络层到平台层和应用层一套完整的果蔬大棚物联网系统设计。将模糊PID控制算法应用于温棚环境调节的仿真测试表明,〖JP3〗系统平均丢包率为0.088%,空气温湿度、土壤温湿度、二氧化碳浓度等环境因子参数平均相对误差保持在0.5%以内,NB-IoT休眠功耗小于9 μA,能实现智能反馈控制并保证系统多节点部署、多参数检测、低功耗工作、广覆盖通信的条件,使系统具有更高的复杂环境适应性和稳定性。

关键词: 物联网系统, 模糊PID控制, NB-IoT, ZigBee, 智能控制

Abstract: In order to solve the issues of weak environmental data perception, large workload of field maintenance, limited wireless coverage area, low efficiency and high cost of production management, design and test of NB-IoT system for fruitvegetable agriculture based on fuzzy PID control was presented. STM32L475VET6 ultralow power chip was used as the main control chip. Wide area wireless network was established by NB-IoT and ZigBee dualprotocol fusion networking technology and the algorithm of ring buffer queue. Monitoring terminal equipment and remote cloud monitoring platform were designed. Environmental factor information collected by local terminal nodes was connected to the cloud server for statistics and analysis. The system automatically adjusted and controlled the feedback control equipment according to the collected data. By this, it aimed to achieve the purpose of widearea coverage monitoring and intelligent feedback regulation of environmental factors in low power consumption mode. It realized a complete set of IoT system design of fruit and vegetable greenhouses from perception layer, network layer to platform layer and application layer. Simulation test was carried out by applying fuzzy PID control algorithm into greenhouse environment regulation. Average packet loss rate of the system was 0.088%, average relative error of environmental factors such as temperature and humidity of air and soil, carbon dioxide concentration were kept within 0.5%. Sleep power consumption of NB-IoT was less than 9 μA. It realized intelligent feedback control and guaranteed performance and conditions of multinode deployment, multiparameter detection, low power consumption and wide coverage of communication. This made the system with higher adaptability and stability in complex environment.

Key words: IoT system, fuzzy PID control, NB-IoT, ZigBee, intelligent control

中图分类号: