基于PCI Express總線的光纖圖像傳輸系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)
發(fā)布時(shí)間:2018-05-12 16:13
本文選題:圖像采集 + 光纖通信; 參考:《大連理工大學(xué)》2011年碩士論文
【摘要】:高幀率和高分辨率圖像采集在高科技研究、工業(yè)、醫(yī)療、交通、航空等眾多領(lǐng)域有著廣泛的應(yīng)用,例如航天和軍工中高速物體運(yùn)動(dòng)軌跡捕捉、3D動(dòng)漫、視頻定位和測量、高速公路交通監(jiān)控等。然而,這種圖像的連續(xù)采集必將產(chǎn)生巨大的數(shù)據(jù)量,如何實(shí)時(shí)遠(yuǎn)程傳輸這些海量圖像數(shù)據(jù)到計(jì)算機(jī)進(jìn)行分析處理,就成為必須研究的課題。 光纖通信技術(shù)具有頻帶寬、損耗低、抗干擾能力強(qiáng)等優(yōu)點(diǎn),能夠滿足高速數(shù)據(jù)遠(yuǎn)距離傳輸?shù)囊。PCI Express總線與PCI、PCI-X等總線相比優(yōu)勢明顯,特別是速率有了很大提高,PCI Express 1.0單通道單向速率高達(dá)2.5Gbps,且最大支持32通道。本文利用光纖通信技術(shù)和PCI Express總線的優(yōu)勢,設(shè)計(jì)了一種高速數(shù)據(jù)傳輸系統(tǒng),實(shí)現(xiàn)高速圖像數(shù)據(jù)到計(jì)算機(jī)的實(shí)時(shí)遠(yuǎn)程傳輸。 硬件方面,以Xilinx Spartan-6 LXT系列FPGA為主控器設(shè)計(jì)了PCI Express光纖卡,利用FPGA內(nèi)PCI Express硬核實(shí)現(xiàn)PCI Express總線協(xié)議,利用GTP高速收發(fā)器驅(qū)動(dòng)SFP光模塊實(shí)現(xiàn)光纖通信。使用Verilog HDL進(jìn)行FPGA內(nèi)部邏輯設(shè)計(jì),實(shí)現(xiàn)了光纖數(shù)據(jù)收發(fā)、FIFO緩沖、PCI Express總線的PIO操作、中斷控制以及DMA傳輸?shù)裙δ?并對各功能模塊進(jìn)行嚴(yán)格地仿真測試。 軟件方面,使用Windows DDK開發(fā)了PCI Express光纖卡的驅(qū)動(dòng)程序,采用WDM驅(qū)動(dòng)模型,實(shí)現(xiàn)了中斷響應(yīng)、DMA編程、硬件寄存器讀寫以及應(yīng)用程序接口等功能。在驅(qū)動(dòng)程序基礎(chǔ)上,在Visual C++開發(fā)環(huán)境下設(shè)計(jì)了基于MFC的應(yīng)用程序,完成圖像的接收、顯示以及存儲(chǔ)。應(yīng)用程序設(shè)計(jì)中,使用了多線程技術(shù)、DrawDib繪圖等多種編程技術(shù),大幅度提高軟件性能。 在論文最后,給出了系統(tǒng)調(diào)試流程及性能分析。經(jīng)測試,系統(tǒng)傳輸速度高達(dá)1.2Gbps,且能夠穩(wěn)定、可靠地進(jìn)行圖像傳輸。
[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.
【學(xué)位授予單位】:大連理工大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2011
【分類號(hào)】:TN919.8;TN929.11
【引證文獻(xiàn)】
相關(guān)碩士學(xué)位論文 前2條
1 郭林鑫;CCD編碼曝光相機(jī)的設(shè)計(jì)[D];大連理工大學(xué);2013年
2 姚銘;高密度高速存儲(chǔ)系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)[D];西安電子科技大學(xué);2013年
,本文編號(hào):1879277
本文鏈接:http://sikaile.net/wenyilunwen/dongmansheji/1879277.html
最近更新
教材專著