基于LoRa无线通信的水产养殖监测系统设计及应用

    Design and application of aquaculture monitoring system based on LoRa wireless communication

    • 摘要:
      目的  针对大面积水产养殖环境覆盖面积广、多种水体环境监测因素综合影响的特点,设计一种可同时监测水体溶解氧、盐度、pH、氨氮和温度5种参数的设备。设备可通过远距离无线通信技术实现水质数据远距离无线传输,并在上位机端可视化平台动态显示监测环境因素。
      方法  数据采集终端的控制核心采用TI公司具有16位总线的MSP430F149型微控制器。水质信息通过各传感器采集获取,氨氮采集终端采用量程为0~10 mg/L的NHN-202A型氨氮传感器;溶解氧与温度采集终端采用溶解氧量程为0~20 mg/L、温度量程为0~40 ℃的RDO-206型传感器;pH采集终端采用量程为0~14的PHG-200型传感器;盐度采集终端采用量程为0~0.5%的DDM-202I/C型传感器。服务器端采用Linux系统搭建,通过JetBrains下的IntelliJ IDEA开发工具搭建,使用的编程语言为Java。线上平台采用SpringMVC框架,数据库连接通过HiBernate对象关系映射框架连接操作。监测平台通过Tomcat部署在Linux系统上,数据展示界面通过调用可视化库Echarts实现。
      结果  系统实际所测水体溶解氧含量绝对误差为0.12 mg/L,盐度的绝对误差为0.001%,pH的绝对误差为0.017,温度的绝对误差为0.05 ℃。单一采集设备功耗测试中,5 200 mA电池可持续为终端设备供电28.5 h,且线上系统运行稳定。
      结论  本研究设备LoRa无线通信技术与上位机端数据可视化平台相结合的设计增强了远距离水质监测数据采集的可靠性,解决了动态实时测量中监测数据长距离传输问题及数据同步上位机端平台展示问题。

       

      Abstract:
      Objective  Aiming at the characteristics of large-scale aquaculture environment covering a wide area and interaction of a variety of water environment monitoring factors, to design a device that can simultaneously monitor five water quality parameters including dissolved oxygen, salinity, pH, ammonia nitrogen and temperature. The device can realize long-distance wireless transmission of water quality data through long-distance wireless communication technology, and dynamically display the monitoring environmental factors on the host computer side visualization platform.
      Method  The control core of the data acquisition terminal adopted 16-bit MSP430F149 microcontroller of TI company. The water quality information was collected by various sensors. Ammonia nitrogen collection terminal adopted NHN-202A ammonia nitrogen sensor with test range of 0−10 mg/L. Dissolved oxygen and temperature acquisition terminal adopted RDO-206 sensor with dissolved oxygen range of 0−20 mg/L and temperature range of 0−40 ℃. pH collection terminal adopted PHG-200 sensor with test range of 0−14. Salinity collection terminal adopted DDM-202I/C sensor with test range of 0−0.5%. The server side was built using Linux system and built by the IntelliJ IDEA development tool under JetBrains. The programming language was Java. The online platform used the SpringMVC framework, and the database connection was operated through the HiBernate object-relational mapping framework. The monitoring platform was deployed on the Linux system through Tomcat. The data display interface was realized by calling the visualization library Echarts.
      Result  The absolute error of dissolved oxygen content measured by the system was 0.12 mg/L, while those of salinity, pH and temperature were 0.001%, 0.017, and 0.05 ℃, respectively. In the power consumption test of single acquisition device, 5 200 mA battery could continuously supply power to the terminal device for 28.5 h, and the online system was stable.
      Conclusion  The combination of LoRa wireless communication technology and the data visualization platform on the host computer side in the device enhances the reliability of the long-distance water quality monitoring, and solves the problems of long-distance transmission of monitoring data in dynamic real-time measurement and display of data synchronization on the host computer platform.

       

    /

    返回文章
    返回