当前位置:首页 > 过刊浏览->2023年45卷10期
基于DDS协议的离岸船舶实时定位方法
Real-time location method of offshore ships based on DDS protocol
- DOI:
- 作者:
- 张罡
ZHANG Gang
- 作者单位:
- 武汉船舶职业技术学院, 湖北 武汉 430050
Wuhan Institute of Shipbuilding Technology, Wuhan 430050, China
- 关键词:
- DDS协议;离岸船舶;实时定位;移动阅读器;固定标签
DDS protocol; offshore vessel; real-time positioning; mobile reader; fixed tag
- 摘要:
- 为提升离岸船舶实时定位效果、确保船舶航行安全,提出基于DDS协议的离岸船舶实时定位方法。在离岸船舶上安装移动阅读器,在航道两侧安装固定标签。利用改进加权质心定位算法,结合移动阅读器与固定标签间接收信号强度值,计算移动阅读器的位置信息,即离岸船舶实时位置信息。利用DDS协议信息分发单元启动分发服务,将位置信息传输至全局数据空间内,再利用空间内的缓存移动阅读器发布实时位置信息。最后,服务器通过调用DDS接口订阅或退订全局数据空间内缓存的信息,并由显示器呈现订阅的离岸船舶实时位置信息。实验证明:该方法可精准实时定位离岸船舶;当信息分发量不同时,该方法的信息分发丢包率较低。
To improve the real-time positioning effect of offshore ships and ensure the safety of ship navigation, a real-time positioning method for offshore ships based on DDS protocol is proposed. Install mobile readers on offshore vessels and fixed labels on both sides of the waterway. By utilizing an improved weighted centroid positioning algorithm and combining the received signal strength values between the mobile reader and the fixed tag, the position information of the mobile reader, i.e. real-time position information of offshore ships, is calculated. Start the distribution service using DDS protocol information distribution unit, transfer the location information to the global data space, and then use the cache in the space to move the real-time location information published by the reader. Finally, the server subscribes or unsubscribes to the cached information in the global data space by calling DDS interface, and displays the real-time location information of the subscribed offshore ships on the display. The experiment proves that this method can accurately and real-time locate offshore ships; When the amount of information distribution is different, the packet loss rate of information distribution in this method is relatively low.
2023,45(10): 156-159 收稿日期:2022-11-12
DOI:10.3404/j.issn.1672-7649.2023.10.031
分类号:TP399
作者简介:张罡(1975-),男,硕士,副教授,研究方向为电子通信