为了提高飞行物器指令信息和状态信息传输的实时性和可靠性,采用以太网来传输数据。而大多数以太网采用的是未集成协议栈和接口转换模块的物理芯片,从而导致数据无法直接进行传输。针对这一问题,将协议栈和接口转接模块利用IP核封装完成模块化设计、直接进行数据传输。以FPGA作为核心控制器件,将以太网的MAC层接口与UDP/IP的协议栈封装成为可配置的IP核,具有比较强的移植性。网络调试助手和Wireshark软件测试结果显示,IP核性能稳定,且本设备可以实现速率为865.19 Mb/s的数据和指令传输,同时可以完成数据实时发送和接收且不丢包,符合要求。
Abstract
In order to improve the real-time and reliability of missile command information and status information transmission,Ethernet is used to transmit the data.Most Ethernet uses physical chips that do not integrate protocol stack and interface conversion module,so data cannot be transmitted directly.To solve this problem,this paper completes the modular design of protocol stack and interface switching module by using IP core encapsulation for direct data transmission.Taking FPGA as the core control device,the MAC layer interface of Ethernet and the protocol stack of UDP/IP are encapsulated into a configurable IP core,which has strong portability.After being tested by the network debugging assistant and Wireshark software,the results show that the performance of the IP core is stable,and the device can realize the transmission of data and instructions with a speed of 865.19 Mb/s.At the same time,it can send and receive data in real time without packet loss,which meets the requirements.
关键词
以太网 /
FPGA /
UDP/IP协议 /
MAC层 /
IP核
Key words
Ethernet /
FPGA /
UDP/IP protocol /
MAC layer /
IP core
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[1] 刘仁浩,李然,段宇婷,等.战术导弹控制系统BIT设计方法[J].计算机测量与控制,2021(11):16.
[2] 鲁振山,吴子伟,王德民.基于工业以太网的列车网络控制系统研究及应用[J].铁道机车与动车,2022(3):2830,33.
[3] 吴迪.基于UDP通信协议的PC与PLC数据传输[J].燃料与化工,2021,52(5):3435.
[4] 董永吉,王钰,袁征.基于FPGA的万兆以太网UDP_IP硬件协议栈设计与实现[J].计算机应用研究,2022(4):14.
[5] 郑天宇,尹达一.千兆UDP/IP协议栈FPGA实现及其在高速成像系统中的应用[J].现代电子技术,2018,41(18):15,11.
[6] 熊光阳,王野,李志茹,等.基于FPGA的千兆UDP/IP协议栈的实现及其在高速图像传输中的应用[J].仪器仪表用户,2020,27(3):3841.
[7] 蔺智挺,徐田,童忠瑱,等.基于静态随机存取存储器的存内计算研究进展[J].电子与信息学报,2022(44):117.
[8] 文丰,韩雨龙.千兆以太网MAC控制器软核设计[J].电子测量技术,2021,44(1):150155.
[9] 安国臣,袁宏拓,韩秀璐,等.基于FPGA的通用卷积层IP核设计[J].河北科技大学学报,2021,42(3):241247.
[10] 钱宏文,侯伟盟,王毅,等.一种RGMII接口电平不匹配的研究与实现[J].单片机与嵌入式系统应用,2021,21(6):3033,38.
[11] 石华,刘一清.基于FPGA的百兆以太网RGMII接口设计[J].电子测量技术,2018,41(23):106111.
[12] 丁辉,张会新,董钧港.以太网传输错误重传机制MAC控制器设计[J].电子设计工程,2021,29(9):1114,19.
[13] 麻聪颖.基于UVM的千兆以太网MAC控制器验证设计与实现[D].西安:西安电子科技大学,2019.
[14] 李小刚,李发堂,郑建,等.基于RGMII的DSP话音桥接设计及实现[J].电声技术,2020,44(12):4143.