用户名: 密码: 验证码:
基于IEEE1394总线的高速相机数据传输方案设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
人类从外部环境所获取的所有信息中,视觉信息大约占80%。为满足人们对图像质量越来越高的要求,图像传感器的像素点数不断增加,响应速度不断提高,这为图像数据的传输增加了困难。
     本文采用的高速相机输出数据为两路160Mb/s的串行数据,每秒8000帧图像,每帧2048个有效像素。针对该相机的特点,本文采用IEEE 1394总线的方式将图像数据传输到电脑的方案设计,并进行了相关的硬件设计和调试。
     本文首先介绍了IEEE 1394,总线的技术特点,包括总线的寻址、拓扑结构、电气特点等,而后对异步传输和等时传输流程进行了详细的说明,并对IEEE 1394,总线规定的各种标准数据包格式做了分析和说明。
     硬件电路设计是本文的重要内容,本文采用FPGA, TI公司的链路层控制器TSB12LV32和物理层芯片TSB41AB1设计1394终端设备,通过6芯电缆与上位机的1394数据采集卡相连接,组建1394总线通信网络。
     最后对硬件程序的设计和调试进行说明,包括相机数据的接收、链路层控制器的访问程序、异步数据的接收和发送、链路层控制器DM端口数据发送等内容。结合GRF和ATF的数据包格式,文章对上位机读取配置ROM和1394终端设备发送配置ROM信息过程做了说明。文中使用状态机来控制各部分电路,完成了部分实验内容。
Among all the information human being gets, image takes 80 persent. In order to meet the demand for higher image quality, the image sensors' pixels grow much more, and their response rates become much faster, which enhances the burden to data transmission circuits.
     The high speed linear CCD camera in this paper has two data channels, and the output data rate is 160Mbit/s each channel. It gives out 8000 frames per second, which has 2048 pixels in single frame. According to these characters, IEEE 1394 bus is introduced in this paper to transmit the data to computer.
     The 1394 characters, such as bus addressing, topology, electrical characteristics and so on are introduced at first. It also tells the principle of asynchronous transmission and isochronous transmission in detail as well as the standard data packets.
     FPGA, LLC (link layer controller) TSB12LV32 and physical layer TSB41AB1 is used in this article in order to construct terminal device. The terminal device is connected to 1394-to-PCI card in computer with a 6 wires cable to make a 1394 net.
     This article analysis the VHDL program, which includes the camera data receiving, accessing program to LLC, asynchronous data communication,DM port transmission and so on. Combining with GRF and ATF data format, it tells the configuration ROM transmitting process. State machines are used to control all parts of circuits, however, the main state machine does not work well, and it just finishes parts of all functions.
引文
[1]侯彦宾.数字视频视觉采集与处理系统及SoPC设计.西安电子科技大学硕士学位论文.2006:1页
    [2]邵淑华.浅谈机器视觉的应用.山西电子技术.2002:29-31页
    [3]图像和机器视觉产品手册.凌云光子技术集团,2007年,北京:18页
    [4]韩冰,林明星,丁凤华.机器视觉技术及其应用分析.农业装备与车辆工程.2008年,第10期:24页
    [5]图像和机器视觉产品手册.凌云光子技术集团,北京:3页
    [6]Mikrotron公司产品手册.http://www.mikrotron.de/index.php?de_home
    [7]丛昊.色选数据采集及传输实验平台研究.哈尔滨工程大学硕士学位论文.2008年:9-10页
    [8]李少鹏.USB2.0与IEEE 1394的分析.应用能源技术.2004:第1期:11-15页
    [9]刘彦.USB接口与IEEE 1394接口之争.大众科技.2008年,第11期:57-58页
    [10]IEEE 1394 (FireWire) for Industrial Cameras. http://www.basler-vc.com. 2006:1-2P
    [11]胡云.对IEEE 1394总线技术的研究.科学技术与工程.2007年,第3期:299-302页
    [12]Michael D. Johas Teener.1394 Standards and Specifications Summary. Zayante, Inc.
    [13]马燕.基于1394数字摄像机的视频监控系统的设计与实现.天津大学硕士学位论文.2005:4-5页
    [14]米永奇,卢荣胜.1394总线多视觉传感器并行图像采集处理技术.合肥工业大学学报.2007年,第5期:539页
    [15]李燕.IEEE 1394高速串行总线及其在Windows下演示系统的研制.中 国科学院研究生院硕士学位论文.2002年:7页
    [16]Information technology Microprocessor systems Control and Status Registers (CSR) Architecture for microcomputer buses. ISO/IEC 13213 Specification. International Standard Organization.
    [17]姜汉龙.FireWire系统体系.中国电力出版社.2000年:237-297页
    [18]Yemao Zhang. IEEE 1394 Serial Bus and Demonstration For Industrial Application. Harbin Industrial University Master Paper.2006:6-7P
    [19]张燕.IEEE 1394链路核的设计及验证.天津大学硕士研究生学位论文.2007年:14-17页
    [20]李世平,戴凡,汪旭东.IEEE-1394 (FireWire)系统原理与应用技术.西安电子科技大学出版社.2004年:69-104页
    [21]IEEE Standard for a High Performance Serial Bus. American National Standards Institute.1995
    [22]TSB12LV32 Datasheets. TI Inc. http://www.Ti.com.cn.
    [23]李肇庆,朱险峰.IEEE 1394接口技术.2004年:201.204页
    [24]TSB41AB1 Datasheets. TI Inc. http://www.Ti.com.cn.
    [25]高永红,马光胜.用VHDL语言实现基于布尔过程的组合电路的设计.应用科技,2002,29(10):32-35页
    [26]祁晓磊,蔡学良,孙德玮.用Verilog HDL进行FPGA设计的原则和方法.电子测试.2008年,第3期:68页
    [27]董传岱,赵波,李震梅.EDA技术及其应用.山东理工大学学报.2005年,第19卷,第3期:57-58页
    [28]吴继华,王诚.Altera FPGA/CPLD设计(高级篇).人民邮电出版社.2005年:27-28页
    [29]廖日坤.CPLD/FPGA嵌入式应用开发技术白金手册.中国电力出版社.2005年:12页
    [30]杨恒.FPGA/CPLD最新实用技术指南.清华大学出版社.2005年
    [31]卢飞成.杨恒,FPGA/VHDL快速工程实践入门与提高.北京航空航天大学出版社.2003年
    [32]LatticeECP2/M Family Handbook Version 02.8, April 2007
    [33]ispLEVER培训教程(FPGA)——基于新的莱迪思FPGA的设计流程.上海莱迪思半导体公司市场部,2005年11月:2-3页

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

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

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