基于自主平台的NMEA2000协议改进和优化

Improvement and optimization of NMEA2000 based on an autonomous and controllable platform

  • 摘要:
      目的  为了拓展NMEA2000通信协议标准的应用范围,优化、提升网络传输效率,研制基于自主可控平台的NMEA2000数据采集传输系统。该系统可将非认证设备接入NMEA2000网络并提升其传输效率。
      方法  以GD32F207芯片为微控制器并在与RT-Thread嵌入式实时操作系统结合的自主可控平台上,根据各厂商原有设备协议和NMEA2000协议标准,采用数据映射的方式,完成协议格式转换。利用NMEA2000数据帧未使用的标识符域和优先级动态调整,提升NMEA2000网络传输效率。
      结果  基于自主可控平台的NMEA2000板卡实现了非认证设备的接入,优化后网络传输效率随着传输字节数的不同有着不同程度的提升,网络实时性与可靠性也有所提升。
      结论  所提数据采集传输系统具有多种接口,能够完成非认证设备的接入,网络数据传输效率、实时性和可靠性能够满足船载设备间数据传输的需要。

     

    Abstract:
      Objectives  In order to expand the application of NMEA2000 communication protocol standard and optimize and improve its transmission efficiency, an NMEA2000 data acquisition and transmission system based on an autonomous and controllable platform is developed. Non-NMEA2000 devices can be connected to the NMEA2000-based network and improve the transmission efficiency.
      Methods  The autonomous and controllable platform consists of a GD32F207 microcontroller and RT-Thread embedded real-time operating system. The protocol format conversion is accomplished by data mapping according to the original device protocol and NMEA2000 standards. Further, it uses unused identifier fields in the NMEA2000's data frames and a priority dynamic adjustment method to improve the transmission efficiency of NMEA2000-based network.
      Results  The NMEA2000 board based on the platform achieves non-NMEA2000 device access. The optimized network's transmission efficiency is improved to some extent with the number of bytes transferred. The real-time and reliability are also improved.
      Conclusions  The NMEA2000 data acquisition and transmission system based on the proposed platform has a variety of interfaces, can help non-NMEA2000 devices access the network. The data transmission efficiency, real-time operation and reliability can fulfil the needs of data transmission among shipborne devices.

     

/

返回文章
返回