摘要
为了保证水下航行器的航行安全,航行控制系统内部通信和航行系统与综合控制台之间的通信的性能需要具有较高的实时性和可靠性;基于以太网搭建系统,详细地介绍了系统通信的组成和传输数据的类型,结合系统要求以及TCP/IP、UDP通信协议的特点,选取合适的协议和数据传递方式;对于出现通信堵塞和数据包丢失以及链路不稳定情况,采取自动重连和数据自动重发机制;并采用图形化软件LabVIEW的封装函数实现数据的收发和保存,借助LabVIEW和C语言混合编程实现数据的高效处理;在实验室搭建半实物仿真平台进行测试,结果表明,航行控制系统内部以及和综合控制台之间的数据传输准确、可靠。
In order to ensure safety of underwater vehicle, Performance of the communication between internal communication in navigation system and integrated console meets real--time and high reliability, this paper builds system based on Ethernet, describes type of transmission of data between system in detail, combines with TCP/IP and UDP features and system requirement and selects the appropriate protocol and data transfer mode, takes automatic reconnection and automatic data retransmission mechanism to solve communication congestion and packet loss and link instability. The system adopt LabVIEW packaged functions to send and receive and store data and use LabVIEW and C programming mix to efficient processing data. The test result from setting up semi--physical simulation platform in the laboratory shows that data transfer is accurate and reliable in the system and integrated console.
出处
《计算机测量与控制》
2015年第6期2188-2190,2194,共4页
Computer Measurement &Control
基金
水下信息处理与控制重点实验室项目(9140C23020215004)
船舶预研项目基金(14JZ5.1.6)