视频采集与传输FPGA实现技术的研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
FPGA技术是图像处理领域的一个重要的研究课题,近年来倍受人们的关注。本文研究了视频信号的采集、显示以及通过网络进行传输的方法。并提出了一套基于FPGA的实现方案。
     系统可以分为采集控制模块、显示控制模块和网络传输控制模块3部分。视频信号的采集用到了视频处理芯片SAA7113,通过FPGA对其初始化,可以得到经过A/D转换的YUV格式视频信号,利用采集控制模块可以将这些视频信号保存到SRAM中去。显示控制模块读出SRAM中的视频信号,进行YUV格式到RGB格式的转换以及帧频变换等操作,再利用VGA显示芯片THS8134就可以将采集到的视频信号在LCD上显示出来。基于IEEE802.3协议的网络传输控制模块将YUV格式的视频信号进行添加报头、CRC校验码等操作后,将其变成一个MAC帧,可以在以太网络中传输。
     设计选用硬件描述语言Verilog HDL,在开发工具QuartusII中完成软核的综合、布局布线、汇编,并最终在QuartusII和Active-HDL中进行时序仿真验证。
     对设计的验证采取的是由里及外的方式,先对系统主模块的功能进行验证,再模拟外部器件对设计的接口进行验证。验证流程是功能仿真、时序仿真、板级调试,最终通过了系统测试,验证了该设计的功能。
The way how to do video frequency and how to transfers the video signals are discussed in this dissertation. A whole system which contains video frequency, display in LCD, transferred through network is designed based on FPGA.
     The system has three modules: video capture controller, VGA congtroller and MAC controller. SAA7113 is used to do the video process. After initialized by FPGA, SAA7113 can output video signals which are in YUV format. Then those video signals in YUV format be send to SRAM by video capture controller. VGA controller read the video signals from SRAM and converts them to RGB format before the frequency conversion. Then the video signals in RGB format will be displayed on a LCD by THS8134. MAC controller designed based on IEEE802.3 protocol read the signals in YUV format as well. After being added header and CRC, the signals became as MAC frame. The MAC frame can be transferred through the Ethernet.
     While designing the system, it is very important that how to divide and define each module and how to coordinate and interconnect these modules. Method of Top-down is also apply to design. As for the interconnection of each module, the interface signal is defined to communicate between them, and the internal timing of the module is control1ed by states machine. When constructing the code, it should be attention to hardware resource spending and concurrent executable ability of the Verilog Language to make the design close to the hardware working way, so it could match a high speed with a low hardware spending to satisfy the demand of the cost, performance and practicability.
引文
[1] 刘艳萍,高振斌,李志军. EDA 实用技术及应用. 北京:国防工业出版社,2006.1
    [2] 褚振勇,齐亮,田红心,等. FPGA 设计及应用(第二版). 西安:西安电子科技大学出版社,2006:p23-28
    [3] 王道宪. CPLD/FPGA 可编程逻辑器件的应用与开发. 北京:国防工业出版社.2004.37-43
    [4] 夏宇闻. Verilog 数字系统设计教程. 北京:北京航空航天大学出版社.,2004
    [5] 宋万杰,等. CPLD 技术及其应用. 西安电子科技大学出版社,1999
    [6] 林明. 基于 FPGA 的数字图像显示系统. 单片机与嵌入式应用,2002.9
    [7] THE I2C-BUS SPECIFICATION. VERSION 2.1, 2000.7
    [8] 徐志军. 大规模可编程逻辑器件机器应用. 成都:电子科技大学出版社,2000 10-93
    [9] 于枫,张丽英,廖宗健. ALTERA 可编程逻辑器件应用技术. 北京:科学出版社,2004,3-52
    [10] 孔祥刚,诸静,阳涛. SAA7113 在视频采集接口设计中的应用. 电子技术,2003.12
    [11] 刘宝琴,等编译. Altera 可编程逻辑器件及其应用. 清华大学出版社,1995
    [12] 俞斯乐,侯正信. 电视原理. 国防工业出版社,1999.4:p43-120
    [13] Clifford E.Cummings. Simulation and Synthesis Techniques for Asynchronous FIFO Design. SUNG San Jose, 2002
    [14] K. Benkrid, A. Benkrid, S. Belkacemi. Efficient FPGA hardware development: A multi-language approach. Journal of Systems Architecture, Volume 53, Issue 4, April 2007, Pages 184-209
    [15] 高培军. 基于 FPGA 的多种形式分频的设计与实现. 可编程技术专题,2004:p30-31
    [16] 黄智伟,王彦. FPGA 系统设计与实践. 北京:电子工业出版社,2005.1
    [17] P. Song Zhang, Dale Royer, P. ShingTung Yau. Hign-resolution, real-time-geometry video acquisition. ACM SIGGRAPH 2006 Sketches, Jul. 2006
    [18] 冯永超,罗敏,贺贵明. 一种快速 YUV-RGB 色彩空间变换方法. 微型机与应用,2002,Vol.7:p59-60
    [19] J.W.Carter. Microprocessor Architecture and Microprogramming: A State-Machine Approach. Englewood Cliffs, New Jersey: Prentice-Hall, 1996
    [20] 郑永进,吴迺陵. 视频格式转换资源最小 FPGA 解决方案. 电子器件,2007.4,Vol.30 No.2:679-682
    [21] 李冬梅. PLD 器件与 EDA 技术. 北京:北京广播学院出版社,2000
    [22] 潘松,等. EDA 技术实用教程. 科学出版社,2002
    [23] 徐志军,徐光辉. CPLD/FPGA 的开发与应用. 北京:电子工业出版社,2002
    [24] 金德鹏,等. Altera FPGA 在数字通信系统设计中的应用. 电子技术应用,1999
    [25] 孟宪元. 可编程专用集成电路原理、设计与应用. 北京:电子工业出版社,1999
    [26] 杨慧贞,程永强,张博. 基于 FPGA 的 PAL-VGA 转换器的实现. 科技情报开发与经济,2007,Vol.17 No.4:p224-225
    [27] 任晓东. CPLD/FPGA 高级应用开发指南. 北京:电子工业出版社,2003
    [28] Pronita Mehrotra, Mrugendra Singhai, Mike Pratt, etc. FPGA implementation of a high speed network interface card for optical burst switched networks. Proceedings of the 2004 ACM/SIGDA 12th international symposium on Field programmable gate arrays, Feb. 2004
    [29] 徐洪波,俞承芳. 基于 FPGA 的以太网 MAC 子层协议设计实现. 复旦学报,2004,Vol.43 No.1:p50-53
    [30] 吴蓬勃,张启民,王朝阳,等. 基于 FPGA 的 VGA 图像控制器设计. 东北电力大学学报,2006.8,Vol.26 No.4:p89-92
    [31] 徐扬,李广军. 并行 CRC 电路 HDL 代码的快速生成. CCIC 2004:p28-32
    [32] 朱荣华. 一种 CRC 并行计算原理及实现方法. 电子学报,1999,Vol.27 No.4:p143-145
    [33] QuartusII_Handbook. Altera Inc
    [34] 赵江华,吴建军,邹雪城,等. 基于 Verilog HDL 描述的 10M/100Mbps 以太网卡设计模块的测试方案. 计算机应用,2003,Vol.29 No.1:p6-8
    [35] THS8134 datasheet. Texas Instruments Corporation, 2000
    [36] 张凤珊,国澄明. 基于 FPGA 的高清晰度电视显示器测试信号发生器的研究与实现. 天津大学学报,2003.11
    [37] 于峰. 计算机网络与数据通信. 北京:中国水利水电出版社,2003:p98-134
    [38] 胡道远. 计算机局域网. 清华大学出版社,1996.12
    [39] 潘松,黄继业. EDA 技术与 VHDL. 北京:清华大学出版社,2005,6-352
    [40] 卢毅,赖杰. VHDL 与数字电路设计. 北京:科学出版社,2001,23-262
    [41] 禇振勇. FPGA 设计及应用. 西安:西安电子科技大学出版社,2002
    [42] 李广军,孟宪元. 可编程 ASIC 设计及应用. 电子科技大学出版社,2004

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700