无忧论文网 · 始于1999 · 学术论文辅导与论文发表推荐服务

PCI型DSP数据采集控制卡测试程序的开发

栏目
论文
具体类型
本科毕业论文
语言
中文
用途
范文参考
更新
分类标签
自然科学机械自动化类
原站著录信息
原编号
lw200706152311212357
原文字数
18,720 字
原文件格式
DOC
原库登记日期
2007-06-15

摘要

PCI型DSP数据采集控制卡测试程序的开发 摘 要 当前,故障录波系统对数据采集处理部分提出了越来越高的速率要求。采用PCI局部总线的故障录波数据采集控制卡,提高了数据传送速率,使得高频率采样及传输成为可能,也为以后的分析核查提供了更为详细可靠的数据。 本文简述了故障录波的背景、论证了PCI局部总线在数据采集卡上应用重要性和必然性。介绍了PCI局部总线芯片PCI9052的配置空间及其访问方法、局部配置空间每个单元的意义。PCI配置空间为设备提供了重要的配置信息,通过对PCI9052配置空间进行设置,可以把设备映射到…

PCI型DSP数据采集控制卡测试程序的开发

摘 要

当前,故障录波系统对数据采集处理部分提出了越来越高的速率要求。采用PCI局部总线的故障录波数据采集控制卡,提高了数据传送速率,使得高频率采样及传输成为可能,也为以后的分析核查提供了更为详细可靠的数据。

本文简述了故障录波的背景、论证了PCI局部总线在数据采集卡上应用重要性和必然性。介绍了PCI局部总线芯片PCI9052的配置空间及其访问方法、局部配置空间每个单元的意义。PCI配置空间为设备提供了重要的配置信息,通过对PCI9052配置空间进行设置,可以把设备映射到相应的地址空间,这样直接访问该地址空间就可以达到访问设备的目的。而且由于使用了PCI局部总线,所以访问速度更快。

文章还论述了32位机的两种工作模式,分别叫做实模式和保护模式,以及他们的寻址机制。简述了对BC3.1和DELPHI这两种编程工具的设置和运用。在此基础上给出了在实模式下访问4GB地址空间的策略和C程序设计方法。

在以上知识和方法的基础上开发出了基于DOS和WINDOWS2000两种系统的PCI数据采集控制卡的读取数据测试程序,完成了对PCI设备的测试,并给出了程序的运行结果。

【关键词】 PCI9052 DOS保护方式 配置空间

Abstract

Nowadays, A more and more high velocity has been required by fault-data-record system. The adoption of PCI LocalBus of fault-data-record sample and control card, increases the data transfer velocity, makes it possible for sampling and transferring in a high frequency and velocity, and also provides detailed and dependable datas for analysis and checking.

This text tells of the background of fault-data-record, and points out the importance and inevitability of the utility of PCI LocalBus on data sampling and control card. Introducing the configuration space and its access method of PCI9052, PCI LocalBus integration-chip, and the content of local configuration space. PCI configuration registers provide equipment very important configuration information. Equipment could be mapped into corresponding address space by configurating the configuration space. Thus the access to the equipment could be replaced by the access to the corresponding address space. And because of the use of PCI LocalBus, access velocity can be higher.

This text also discusses the two kinds of work-mode of 32 machines, being called the solid mode and the protect mode respectively, and their addressing mechanism. This text tells of settings and uses of programming tools of BC3.1 and DELPHI. On the basis of that we provide the strategy to access 4GB address space in the solid mode and the program design method of C.

On the foundation of above knowledge we develop read-write testing programs in DOS and WINDOWS2000 of PCI data sampling and control card. After completing the test to PCI equipment, we also provide the result of it.

【Keywords】PCI9052 Protect mode in DOS configuration space

全文与附件

提交申请后,可在会员中心查看原件和附件的查找进度。

申请查询全文与附件