基于PCI总线的高速实时连续测试系统的研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
在现代雷达、制导与引信、高能物理、声纳处理等科研领域,目标试验数据不仅是检验算法有效性的重要依据,而且也是算法修正的依据;综合测试系统是获取和保存目标试验数据的主要设备,在现代科学研究中的地位和作用日益重要,已经成为外场试验的基本条件和关系到试验成败的关键因素之一。
     针对这种现状,本文设计了一种基于PCI总线的高速连续测试系统,实现了对4路模拟信号的并行采集和存储,每路采样分辨率可达16位、采样率可达20MHz,可连续进行数小时数据采集,总存储容量达到数T且可扩展。
     文中介绍了测试系统的发展现状、构建测试系统的常用技术、PCI总线协议、接口规范和接口方法,分析了目前制约PCI总线在高速连续测试领域应用的因素,探讨克服这些因素的方法。本文选用实时数据流存储卡实现数据实时存盘;设计了高速数据采集卡和高速数据回放卡,完成数据的采集和回放,控制采集卡和回放卡的数据通过Scatter/Gather DMA实现基于PCI总线的数据交换。
     本文重点论述了基于FPGA的PCI数据采集卡、回放卡的设计,采集卡、回放卡和实时数据流存储卡高速数据交换的实现。重点论述了包括模拟电路的设计、板上缓存的组织、Scatter/Gather DMA实现、PCI接口的设计等。设计引入FPCA技术,提高系统设计的弹性。文中还充分考虑了可靠性和可测性设计。
     本文还介绍了系统应用程序的结构和开发、驱动程序的开发。开发了应用程序DAQ Scope和PCI数据采集卡、回放卡的驱动程序。
In modern scientific research domain such as radar homing & fuze, high-energy physics and sonar disposal, experiment data is not only a base warranty to arithmetic validity checking, but also a foundation to arithmetic improving. As a effective instrument to gather and store the experiment data, Multi-function Testing system is becoming more and more important.
    We design and construct a PCI-based high-speed real-time multi-function testing system with a capability of parallel acquiring 4 channel analog signals in 16-bit resolution at 20MHz sampling rate and store the data without data lost.
    This thesis study high-speed system constructing technologies, PCI bus protocol and interface, seriously analyse the difficulty to develop PCI-based testing system and raise solution to conquer it. We choose real-time data stream storage card named streamstor card to realize real-time data storage and develop two PCI cards, a data-acquisition card, a play-back card.These two card exchange data with the streamstor card through Scatter/Gather DMA mode.
    This thesis detailedly discuss the design of PCI-based data acquisition card and data play-back card, discuss the data exchange implementation between the PCI cards and the storage card, discuss the FPGA-based boaxd implementation. We also fully consider system reliability and mensurability in our design.
    we also discuss driver development. We develop drivers for our data acquisition card and data play-back card. We give out function-call diagram too.
引文
[1] 董传岱,赵波,李震梅.Eda技术及其应用.山东理工大学学报(自然科学版),19(3):56-59.3 2005.
    [2] 宋玉贵,王世凯,李海.基于windriver kernel plugin的驱动程序设计.西安工业学院学报,25(4):311-314,4 2005.
    [3] 鲍晓宇,施克仁,洪玉萍,张伟.高速数据采集系统中高速缓存与海量缓存的实现.国外电子元器件,2003(7):4-7,2003.
    [4] 杨坤德,赵亚梅,马远良.高速大容量多通道数据采集系统设计.数据采集与处理,17(4):455-458,12 2002.
    [5] 何宁,熊剑平,蒋昌龙等.基于fpga的实时持续数据记录系统设计.微电子学与计算机,2000(1):59-61,1 2003.
    [6] 田志昊,熊春生.超高速数据采集系统设计及应用.测试技术学报,18(1):109-111,2004.
    [7] 任天平,朱小谦.低速器件实现高速数据采集.创新科技,2004(10):46-47,2004.
    [8] 杨龙,董绪荣.数据采集卡wdm设备驱动程序的设计与开发.装备指挥技术学院学报,16(6):93-97,6 2005.
    [9] 蒋文焕,孙续.电子测量(第二版).中国计量出版社,北京,2001.
    [10] 马宏,杨文革.超高速数据采集时钟分系统的设计与实现.装备指挥技术学院学报, 2003(3):73-76,2003.
    [11] 沈兰荪.高速数据采集系统的原理与应用.人民邮电出版社,北京,1995.
    [12] 郑诗卫.印制电路板排版设计.科学文献出版社,北京,1996.
    [13] [英]布顿著.电子测量系统理论与实践.中国计量出版社,北京,2000.张伦译.
    [14] 陈光(?)禹.现代电子测试技术—信息装备的质量卫士.国防工业出版社,北京,2000.
    [15] 马海潮.超高速数据采集技术发展现状.测试技术学报,2003(4):288-290,2003.
    [16] 武卫华.Eda技术在数字系统设计中的应用.电子质量,2004(6):7-9,6 2004.
    [17] 史金霞.自动测试系统的总线技术.现代仪器,2005(4):14-16,2005.
    [18] 管士亮.虚拟仪器总线技术的发展及其前景.中国现代教育装备,2005(7):15-17,2005.
    [19] 刘红.通用compactpci/pxi接口技术研究.硕士学位论文,四川大学,2005.
    [20] 李远红.基于pci总线微机接口系统研究.Master’s thesis,华中科技大学,2005.
    [21] [美]TOM Shanley Don Anderson.PCI系统结构(第四版).西安电子科技大学出版社,西安,2000.
    [22] Andy Pucell, Hewlett PacKard. The secrch for a gpib replacement. IEEE, 1999(9): 169-179, 9 1999.
    [23] C.D.Cirstea, S.I.Buda, F.Constantin. Data acquisition system. Romanian Reports in Physics, 57(33): 376—381, 6 2005.
    [24] Chris Borrelli. Obtain high tcp/ip performance with powerpc. EDN China, 2005(9), 9 2005.
    [25] Altera Corporation. Configuration Handbook. Altera Corporation.
    [26] Altera Corporation. Cyclone Device Handbook. Altera Corporation.
    [27] Altera Corporation. Guidelines for Designing High-Speed FPGA PCBs. Altera Corporation.
    [28] Altera Corporation. Quartus H Handbook. Altera Corporation.
    [29] Cypress Semiconductor Corporation. CY1371C Flow-Through SRAM with NoBL. Architecture. Cypress Semiconductor Corporation.
    [30] Cypress Semiconductor Corporation. Designing with NoBL. SRAMs. Cypress Semiconductor Corporation.
    [31] SIMTER Corporation. Using uvSRAM in RAID Controller Application. SIMTER Corporation.
    [32] Data Translation, Inc. Benefits of the pci bus for data acquisition and imaging.
    [33] Epstein.A, Boulin.C. High capacity, high speed histogramming data acquisition memory. Nuclear Science, IEEE Transactions on, page 159—160, 11 1997.
    [34] Eugin Hyun, Kwang-Su Seong. The effective buffer architecture for data link layer of pci express. In Proceedings of the International Conference on Information Technology: Coding and Computing, 2004.
    [35] F. Mora, A. Sebastia, H. Muller, C. Fernandes, Y. Ermoline. Design of a highperformance pci interface for an sci network. COMPUTING AND CONTROL ENGINEERING JOURNAL, 1998(11): 275-283, 11 1998.
    [36] F Morgan, T Bennett, A Shearer, M Redfern. An fpga-based time resolved data acquisition system for astronomical and other applications.
    [37] Paul S. Graham. Logical hardware debuggers for fpga-based systems. Doctor dissertation, Brigham Young University, 11 2001.
    [38] PCI Special Interest Group. PCI Local Bus Specification, Revision2.2. PCI Special Interest Group.
    [39] PCI Special Interest Group. PCI Local Bus Specification, Revision2.3. PCI Special Interest Group.
    [40] Gueorgui ANTCHEV, Dominique GIGI. Dual-port memory with reconfigurable structure.
    [41] Haruyasu Hayasaka, Hiroaki Haramiishi, Naohiko Shimizu. The design of pci bus interface. IEEE, 2003.
    [42] Lufeng Qiao, Zhigong Wang. Design of dma controller for multichannel pci bus frame engine and data link manager. IEEE, 2002.
    [43] Michele Floris, Davide Marras, Gianluca Usai, AndreDavid. A new pci card for readout in high energy physics experiments. IEEE TRANSACTIONS ON NUCLEAR SCIENCE, 51(9): 2086-2071, 10 2004.
    [44] Tinoosh Mohsenin. Design and evaluation of fpga-based gigabit-ethernet/pci network interface card. Master thesis, Rich University, 4 2004.
    [45] VITA Standards Organization. Front Panel Data Port Specifications. VITA Standards Organization.
    [46] L. Melo M. Pimenta J. C. Silva J. Varela P. Assis, P. Brogueira. A pci based data acquisition system for ground array detectors with wireless synchronization through gps. In 28th International Cosmic Ray Conference, 2003.
    [47] Inc. PLX Technology. PCI 9056BA Data Book. PLX Technology, Inc.
    [48] Inc. PLX Technology. PCI 9056RDK-LITE Hardware Reference Manual. PLX Technology, Inc.
    [49] Rishi Khasgiwale, Luko Krnan, Atchuthan Perinkulam and Russell Tessier. Reconfigurable data acquisition system for weather radar applications. IEEE, 2005.
    [50] Sang-Man Moh, Woo-Jong Hahn, Suk-Han Yoon. A quantitative approach to the design of block data transfer mechanism for an stop-based message-passing system. IEEE TENCON, 1999.