宦娟, 吴帆, 曹伟建, 李慧, 刘星桥. 基于窄带物联网的养殖塘水质监测系统研制[J]. 农业工程学报, 2019, 35(8): 252-261. DOI: 10.11975/j.issn.1002-6819.2019.08.030
    引用本文: 宦娟, 吴帆, 曹伟建, 李慧, 刘星桥. 基于窄带物联网的养殖塘水质监测系统研制[J]. 农业工程学报, 2019, 35(8): 252-261. DOI: 10.11975/j.issn.1002-6819.2019.08.030
    Huan Juan, Wu Fan, Cao Weijian, Li hui, Liu Xingqiao. Development of water quality monitoring system of aquaculture ponds based on narrow band internet of things[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2019, 35(8): 252-261. DOI: 10.11975/j.issn.1002-6819.2019.08.030
    Citation: Huan Juan, Wu Fan, Cao Weijian, Li hui, Liu Xingqiao. Development of water quality monitoring system of aquaculture ponds based on narrow band internet of things[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2019, 35(8): 252-261. DOI: 10.11975/j.issn.1002-6819.2019.08.030

    基于窄带物联网的养殖塘水质监测系统研制

    Development of water quality monitoring system of aquaculture ponds based on narrow band internet of things

    • 摘要: 为了促进水产养殖信息化的发展,更加准确、便捷地对水产养殖塘进行监测,该文研发了一种基于窄带物联网(narrow band Internet of Things,NB-IoT)技术的养殖塘水质监测系统,实现了对多传感器节点信息(温度、pH值、溶解氧等环境参数)的远程采集和数据存储功能,以及对养殖塘的智能控制和集中管理。系统利用STM32L151C8单片机和传感器终端实时采集温度、pH值、溶解氧等水质信息,通过NB-IoT技术实现数据汇总和远距离传输至IoT电信云平台,Keil工具实现NB无线通信模组数据格式的设计以及数据的发送,Java用于开发访问云平台、控制底层设备和本地数据处理的后台监测应用,其既能够发送HTTP请求对云平台数据进行监测,也可以向底层控制模块下发命令,控制增氧机等设备的启动和关闭。试验结果表明:该系统可实时获取温度、pH值、溶解氧等水质参数信息,温度控制精度保持在(0.12 ℃,平均相对误差为0.15%,溶解氧控制精度保持在(0.55 mg/L以内,平均相对误差为2.48%,pH值控制精度保持在(0.09,平均相对误差为0.21%。系统整体运行稳定,数据传输实时、准确,能够满足实际生产需要,为进一步水质调节和水产养殖生产管理提供了有力的数据和技术支持。

       

      Abstract: Abstract: The water quality environment of aquaculture water is the basis for the survival of aquatic animals. Water quality factors such as temperature, pH value and dissolved oxygen are the key factors affecting aquaculture water quality. Therefore, timely monitoring of water quality has important practical significance for high yield, health and safety of aquaculture. In order to promote the development of aquaculture informationization, it is necessary to monitor aquaculture ponds more accurately and conveniently. This paper designs a water quality monitoring system based on NB- IoT narrow-band Internet of Things technology. The single hop distance of this technology can reach thousands of meters. It is more suitable for parks, aquaculture ponds and other places in terms of communication range, deployment number and environmental applicability of nodes. The technology solves the problems of insufficient network coverage, high terminal power consumption, insufficient terminal equipment and high comprehensive cost in aquaculture area. The system specially designs terminal sensor nodes, background control module, monitoring application software and hardware. The functions of data storage and remote collection of multi-sensor node information such as temperature, pH value, dissolved oxygen and other sensor nodes were realized, as well as the intelligent control of aquaculture pond aerator. Temperature, pH value, dissolved oxygen and other water quality information were collected and coded by STM32L151C8 MCU and sensor terminal in real time. First, data was reported to cloud platform through NB module and core network. The application layer called the query interface in time to realize online remote monitoring of aquaculture ponds. Then, the system used the Internet of Things Telecom Cloud Platform, which was equipped with a Profile file that described the functions of the device and a codec plug-in that analyzed the protocol package, to stores the water quality parameter data in time. Finally, the binding of NB module devices was completed. The NB wireless communication module data format and data transmission were realized by Keil tool. Java was used to develop background monitoring applications for accessing cloud platforms, controlling underlying devices, and local data processing. Monitoring applications could not only send HTTP requests to monitor cloud platform data, but also send commands to terminal control module to control the start and shutdown of aerators. The experimental results showed that the system could acquire water quality information in time, such as temperature, pH value, dissolved oxygen and so on. The control accuracy of temperature, dissolved oxygen and pH value were kept in the (0.12 ℃, (0.55 mg/L, and less than 0.09, respectively. The average relative errors were 0.15%, 2.48% and 0.21%, respectively. Monitoring applications could also issue commands to cloud platforms to control aerators at any time. The codec plug-in of the platform encoded the command and send it to the hardware terminal. The response time of the remote control device was less than 100 ms, and the whole system was stable, which proved the reliability of NB- IoT technology. Data transmission is timely and accurate, which can meet the actual production needs and provide strong data and technical support for further water quality control and aquaculture production management.

       

    /

    返回文章
    返回