摘要
针对传统农业物联信息系统高功耗、数据精准度较低等问题,设计了一种智慧农业信息系统。该系统基于LwM2M(lightweight machine-to-machine)协议,在STM32单片机平台上设计数据传输单元,数据传输单元上的传感器完成对空气温湿度、土壤温湿度及太阳光照度的采集,通过窄带物联网模组将数据上传给服务端的万维网应用,万维网(world wide web,WWW)应用端对数据传输单元端进行传感器数据资源的一系列功能性操作。测试结果表明,系统休眠时电流为10 uA,正常工作时电流为22 mA,系统休眠时的电流小于工作时的电流,满足低功耗要求。利用系统对大棚内上下行数据采集7天,系统上行数据平均丢包率为0.575%,系统实时下发指令的平均丢包率为0.5%,丢包率低,数据精准度高,符合预期设计目标。
In order to solve the problems such as high power consumption,low data accuracy in the traditional agricultural microclimate information system,a smart agricultural information system is designed.The system is based on lightweight machine-to-machine protocol,and the data transmission unit is designed on the STM32 platform.Sensors on the data transmission unit are used to collect the temperature and humidity of air and soil and solar luminance.Besides,these sensors report the data to the server's web through the NB-IoT module application.The web application end can perform a series of functional operations such as reading,writing,and executing sensor data resources on the data transmission unit side.The test results show that the current of the system during dormancy is 10 uA,the current during normal operation is 22 mA,and the current during dormancy is less than the current during operation,which meets the requirements of low power consumption.The system is used to collect upstream and downstream data of the plastic house for seven days.The average packet loss rate of the upstream data of the system is 0.575%,and the average packet loss rate of the real-time instruction issued by the system is 0.5%.The average packet loss rate of the data of the system is 0.5375%,with low packet loss rate and high data accuracy,which achieves the anticipated design goal.
作者
葛海波
李彩虹
安文喆
吴昊
GE Haibo;LI Caihong;AN Wenzhe;WU Hao(School of Electronic Engineering,Xi'an University of Posts and Telecommunications,Xi'an 710121,China)
出处
《西安邮电大学学报》
2019年第5期88-94,共7页
Journal of Xi’an University of Posts and Telecommunications
基金
陕西省自然科学基金资助项目(2011JM8038)
西安邮电大学研究生创新基金资助项目(CXJJ2017013)
关键词
LwM2M协议
智慧农业
物联网技术
lightweight machine-to-machine protocol
intelligent agriculture
internet of things