用户名: 密码: 验证码:
基于PCI总线的A/D数据采集系统设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
在各种自动测量﹑采集和控制系统中遇到的变量,大多时间上和幅度上都是连续变化的物理量,即模拟量。而微型计算机只能对以二进制形式表示的信息进行运算和处理。将模拟量转换为被计算机所认识和接收的数字量,这个过程叫做模拟/数字转换,简称A/D。A/D转换是将数字计算机应用于生产过程﹑科学实验以实现更有效的自动控制的必不可少的环节,因此如何实现A/D转换器与计算机的接口,也就成为计算机控制系统设计中的一项十分重要的工作。
    在以Windows为主的图形用户接口进入PC机后,人们迫切需要研制基于PC系统的快速、高性能的图像信号采集系统来获取各种信号,以满足数字信号处理新技术的要求。PCI总线作为一种高性能的局部总线,成为 PC机的主流总线,数据传输率低的ISA总线信号采集系统将迅速被市场淘汰。本课题即是基于PCI总线实现对信号的高速、高精度A/D数据采集系统。
    论文介绍了PCI总线的特点、PCI总线规范、和PCI总线操作中的两个关键技术:PCI总线配置技术,PCI总线中断实现技术。采用了PLXTech公司的PCI专用接口控制芯片PCI9050来实现基于PCI总线的图像信号采集。用复杂可编程逻辑器件来实现对整个数据采集系统的控制部分。
    设备驱动程序的设计是实现整个系统开发的一个重要环节,驱动程序是硬件功能能够正常实现的重要保证,它不仅与所要设计的硬件设备有关,而且还涉及操作系统的内核。文章描述了Windows 9X系统体系结构及设备驱动程序的组成部分,介绍了设备驱动程序的常用开发工具,然后结合实际课题讨论了PCI设备驱动程序开发过程中面临的主要问题及解决途径,最后简述设备驱动程序的安装。
    最后,文章介绍了在Windows 98操作系统下,PCI总线操作、图像信号采集和处理应用程序的编制。
Many continuously variational prameters in all kinds of acquisition systems are analog parameters . But computer only can process operation according to binary system. The method that transforms analog parameters to digital parameter is called A/D.It is necessary to apply A/D in experimentation and production process. So, How to realize the interface between A/D and computer is an important part in computer control system.
    After computer has been based on Windows system,It is necessary to push out a new acquisition system , which is based on PC system , with high performance to satisfy its requirement. PCI bus is a new advanced computer local bus, which is becoming the mainstream of PC system. At the same time, ISA bus with low transmission rate will be washed out. The project is to design an Imaging Signal acquisition system based on PCI bus.
    The paper introduces the property of PCI bus, describes the signals and commands and the transfer protocol of PCI bus, focuses on two key techniques of PCI bus: Interrupt Procession and Configuration technologies. The project adopt PLX PCI9050 chip to design Imaging Signal acquisition; and adopt complicated programmable logic device(CPLD) to design the control part of the system.
    Device driver is the bridge between hardware and Windows 95/98. Device driver is an important guarantee for hardware working order. Device driver relate with not only hardware device but also operation system kernel. The paper describes Windows95/98 system structure and the driver's function, introduces some popular driver development kit, such as DDK, VtoolsD, and WinDriver. Then analyzes the common problem what will meet in PCI device driver development and their solutions.
     At last , introduces the applied program including PCI bus access and image signals acquisition and processing.
引文
[1] 邹逢兴,计算机硬件技术基础,北京:高等教育出版社,1997 330~378
    [2] 陈利学等,微机总线与接口设计,成都:电子科学大学出版社,1997 174~219
    [3] 袁祥辉,固体图像传感器及其应用,重庆:重庆大学出版社,1996 25~36
    [4] Intel 微处理器结构编程和接口技术,北京机械工业出版社,1998 57~65
    [5] 李贵山,PCI局部总线开发指南,西安:西安电子科技大学出版社, 1997 13~50
    [6] PCI-to-PCI Bridge Architecture Specification, PCI SIG , April 1994 20~75
    [7] PCI Local Bus Specification, ( Version 2.0 ) 1996.6
    [8] PCI Local Bus Specification Revision 2.2 ,PCI SIG ,1998 40~55
    [9] 李琼等, PCI总线配置及实现技术,电子计算机与外部设备,1998(5)12~14
    [10] 张勇等, PCI总线及其在微机中的应用,工业控制计算机,1997(6)23~26
    [11] 杨玉森,PCI总线的实现方案及其实例,电子工程师,1999(7)7~8
    [12] PCI 9050-1 Data Book(Version 2.0),PLX Technology.Inc,2001,1-1~10-1
    [13] PCI 9050RDK Hardware Reference Manual, PLX Technology.Inc, 1999
    [14] PLXMon User's Guide, PLX Technology.Inc, 1999
    [15] 杨春林 基于PCI的SSPA图像采集系统 重庆大学, 硕士论文,1999
    [16] 胡旭 基于PCI总线的ROIC数据采集系统研究 重庆大学,硕士论文,2000
    [17] AD9241 REV.0, ANALOG DEVICE.Inc, 1997
    [18] AD8042 REV.A, ANALOG DEVICE.Inc, 1999
    [19] 陈立法等,基于PCI总线的实时红外图像采集处理系统,红外技术2001(9) 4~7
    [20] 张兢, PCI9052 PCI总线目标接口及应用, 电子技术,2001(10)11~12
    [21] www.plxtech.com
    [22] T.Shanty D Anderson PCI System Architecture (Third Edition) New York 2~80
    [23] PCI 9054 Data Book (Version 2.01), PLX Technology. Inc 2001 1- 1~10-1
    [24] T.Shanty D Anderson PCI System Architecture (Third Edition) New York 2~80
    [25] NM93CS46 Rev. D.2 , FAIRCHILD SEMICONDUCTOR.Inc, 1999.3
    [26] LogiCORE(tm) PCI Design Guide Version 3.0, Xilinx.Inc, 2001
    [27] ALTERA 可编程逻辑器件及其应用,北京:清华大学出版社.80~100
    [28] 宋万杰,罗丰等,CPLD技术及其应用,西安:西安电子科技大学出版社,1999
    [29] 王福勋等,PCI总线接口设计中的几点体会,半导体技术,2001(8)31~35
    
    
    [30] 强等编著, Win 9X虚拟设备驱动程序开发指南,清华大学出版社,1999
    [31] 何海波等,虚拟设备驱动程序VxD的开发,微型计算机于应用,1999(4)15~19
    [32] 丘林海等,Windows下视频信号的采集技术,电子计算机与外部设备,1998 25~27
    [33] WinDriver for PLX 9050 Developer's Guide, PLX Technology.Inc,
    [34] Richard C.Leinecker(美)。Visual C++ 6.0 宝典。 电子工业出版社, 1999
    [35] 钱能,C++程序设计教程,北京:清华大学出版社,2002
    [36] 李本亮,Windows 95下高速数据采集系统的设计,电子技术,1998(11)34~36
    [37] 郭武,基于PCI总线的图像采集卡在Windows下的实现,微型机与应用,1998
    [38] 李海,PCI设备Windows通用驱动程序设计,电子技术应用,2000(1)19~21
    [39] 金昊等,如何实现基于PC的数据采集与控制系统,电子与自动化,1998(5) 3~6

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

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

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