千兆UDP/IP协议栈FPGA实现及其在高速成像系统中的应用Implementation of gigabit UDP/IP protocol stack in FPGA and its application in high-speed imaging system
郑天宇,尹达一
摘要(Abstract):
在FPGA中设计并实现了传输速率为1 000 Mbit/s的以太网UDP/IP协议栈,并将其应用在图像采集系统完成图像传输。UDP/IP协议栈分为MAC层和UDP层,MAC层完成基本以太网帧的收发,UDP层完成顶层用户数据封装。协议栈完全兼容IEEE 802.3ab千兆以太网标准,具有显式流量控制功能,解决了FPGA千兆以太网硬核媒体访问控制器移植弹性低,资源消耗大的难题。仿真与实验结果表明,协议栈资源占用率低,用户端数据率可达964 Mbit/s,在帧长度为1 472时丢包率为0%,对于1 000×1 000(pixel)面阵CMOS探测器帧频可达48 f/s,适用于嵌入式高速图像采集系统。
关键词(KeyWords): 千兆以太网;UDP/IP协议栈;流量控制;图像采集;FPGA;高速成像
基金项目(Foundation): 国家自然科学基金资助项目(40776100)~~
作者(Author): 郑天宇,尹达一
DOI: 10.16652/j.issn.1004-373x.2018.18.001
参考文献(References):
- [1]俞鹏炜,任勇,冯鹏,等.基于FPGA的千兆以太网CMOS图像数据传输系统设计[J].国外电子测量技术,2016,35(11):76-81.YU Pengwei,REN Yong,FENG Peng,et al.Design of gigabit Ethernet CMOS image data transmission system based on FPGA[J].Foreign electronic measurement technology,2016,35(11):76-81.
- [2]沈淦松.基于FPGA的千兆以太网相机的传输系统研究[D].成都:电子科技大学,2013.SHEN Gansong.Research on FPGA based gigabit Ethernet camera transmission system[D].Chengdu:University of Electronic Science and Technology of China,2013.
- [3]朱保琨,刘广文.千兆以太网通信端口FPGA设计与实现[J].计算机工程与设计,2016,37(9):2292-2298.ZHU Baokun,LIU Guangwen.Design and implementation of gigabit Ethernet communication port based on FPGA[J].Computer engineering and design,2016,37(9):2292-2298.
- [4]吕星宇.嵌入式计算机智能图像信息处理系统设计与实现[J].现代电子技术,2016,39(21):83-86.LüXingyu.Design and implementation of embedded computer intelligent image information processing system[J].Modern electronics technique,2016,39(21):83-86.
- [5]李鹏.嵌入式系统中千兆以太网的设计与实现[J].现代电子技术,2014,37(12):4-7.LI Peng.Design and realization of gigabit Ethernet in embedded system[J].Modern electronics technique,2014,37(12):4-7.
- [6]毛群.基于DSP和FPGA的信号处理模块及其IP核设计技术研究[D].杭州:浙江大学,2016.MAO Qun.Research on signal processing module and IP core design technology based on DSP and FPGA[D].Hangzhou:Zhejiang University,2016.
- [7]张威.基于FPGA的高速以太网接口设计和实现[D].成都:电子科技大学,2016.ZHANG Wei.Design and implementation of Ethernet highspeed interface based on FPGA[D].Chengdu:University of Electronic Science and Technology of China,2016.
- [8]吴琼,刘建国,黄庆超,等.基于以太网帧结构的AES加解密算法的实现[J].光通信技术,2016,40(11):16-19.WU Qiong,LIU Jianguo,HUANG Qingchao,et al.Implementation of AES cipher and decipher algorithm based on Ethernet frame structure[J].Optical communication technology,2016,40(11):16-19.
- [9]孙海超,陈春宁,田睿,等.基于以太网的高速图像传输的研究与实现[J].计算机技术与发展,2014,24(3):187-189.SUN Haichao,CHEN Chunning,TIAN Rui,et al.Research and implementation of high-speed image transmission based on Ethernet[J].Computer technology and development,2014,24(3):187-189.
- [10]江丽.基于Matlab空间域算法的图像增强技术的研究与应用[J].电子设计工程,2016,24(22):131-133.JIANG Li.The research and application of the image enhance-ment techniques in the spatial domain based on Matlab[J].Electronic design engineering,2016,24(22):131-133.