基于PCI Express总线的光纤图像传输系统设计与实现
发布时间:2018-05-12 16:13
本文选题:图像采集 + 光纤通信 ; 参考:《大连理工大学》2011年硕士论文
【摘要】:高帧率和高分辨率图像采集在高科技研究、工业、医疗、交通、航空等众多领域有着广泛的应用,例如航天和军工中高速物体运动轨迹捕捉、3D动漫、视频定位和测量、高速公路交通监控等。然而,这种图像的连续采集必将产生巨大的数据量,如何实时远程传输这些海量图像数据到计算机进行分析处理,就成为必须研究的课题。 光纤通信技术具有频带宽、损耗低、抗干扰能力强等优点,能够满足高速数据远距离传输的要求。PCI Express总线与PCI、PCI-X等总线相比优势明显,特别是速率有了很大提高,PCI Express 1.0单通道单向速率高达2.5Gbps,且最大支持32通道。本文利用光纤通信技术和PCI Express总线的优势,设计了一种高速数据传输系统,实现高速图像数据到计算机的实时远程传输。 硬件方面,以Xilinx Spartan-6 LXT系列FPGA为主控器设计了PCI Express光纤卡,利用FPGA内PCI Express硬核实现PCI Express总线协议,利用GTP高速收发器驱动SFP光模块实现光纤通信。使用Verilog HDL进行FPGA内部逻辑设计,实现了光纤数据收发、FIFO缓冲、PCI Express总线的PIO操作、中断控制以及DMA传输等功能,并对各功能模块进行严格地仿真测试。 软件方面,使用Windows DDK开发了PCI Express光纤卡的驱动程序,采用WDM驱动模型,实现了中断响应、DMA编程、硬件寄存器读写以及应用程序接口等功能。在驱动程序基础上,在Visual C++开发环境下设计了基于MFC的应用程序,完成图像的接收、显示以及存储。应用程序设计中,使用了多线程技术、DrawDib绘图等多种编程技术,大幅度提高软件性能。 在论文最后,给出了系统调试流程及性能分析。经测试,系统传输速度高达1.2Gbps,且能够稳定、可靠地进行图像传输。
[Abstract]:High frame rate and high resolution image acquisition is widely used in high-tech research, industry, medical treatment, transportation, aviation and many other fields, such as high-speed object trajectory capture 3D animation, video location and measurement in aerospace and military industry. Highway traffic monitoring and so on. However, the continuous acquisition of this kind of image will produce a huge amount of data. How to transmit these massive image data to the computer for analysis and processing in real time and remotely becomes a subject that must be studied. Optical fiber communication technology has the advantages of low frequency bandwidth, low loss and strong anti-interference ability. It can meet the requirements of high-speed data long-distance transmission. PCI Express bus has obvious advantages over PCI-X bus. In particular, the rate has been greatly improved. The single channel one-way rate of PCI Express 1.0 is up to 2.5 Gbpss, and the maximum support is 32 channels. Based on the advantages of optical fiber communication technology and PCI Express bus, a high-speed data transmission system is designed in this paper, which can realize the real-time and remote transmission of high-speed image data to computer. In the aspect of hardware, PCI Express optical card is designed with Xilinx Spartan-6 LXT series FPGA as main controller, PCI Express bus protocol is realized by using PCI Express hard core in FPGA, and SFP optical module is driven by GTP high-speed transceiver to realize optical fiber communication. The internal logic design of FPGA is carried out by using Verilog HDL. The functions of PIO operation, interrupt control and DMA transmission of Express bus are realized, and every function module is simulated and tested strictly. In the aspect of software, the driver of PCI Express fiber card is developed by using Windows DDK. The driver model of WDM is used to realize the functions of interrupt response programming, hardware register reading and writing and application program interface. On the basis of driver, an application program based on MFC is designed in Visual C development environment, which can receive, display and store images. In the application program design, many kinds of programming techniques, such as multi-thread technique and DrawDib drawing, are used to greatly improve the software performance. At the end of the paper, the system debugging flow and performance analysis are given. The test results show that the transmission speed of the system is as high as 1.2 Gbps.The system can transmit images stably and reliably.
【学位授予单位】:大连理工大学
【学位级别】:硕士
【学位授予年份】:2011
【分类号】:TN919.8;TN929.11
【引证文献】
相关硕士学位论文 前2条
1 郭林鑫;CCD编码曝光相机的设计[D];大连理工大学;2013年
2 姚铭;高密度高速存储系统设计与实现[D];西安电子科技大学;2013年
,本文编号:1879277
本文链接:https://www.wllwen.com/wenyilunwen/dongmansheji/1879277.html