为了满足国产操作系统上数据采集的性能要求,在研究PCI采集卡原理的基础上,提出一种基于FPGA和Linux的PCI采集卡软硬件设计方案.硬件主要是对时钟模块、数据采集模块、FIFO模块和主控模块等FPGA的控制逻辑进行设计,软件主要包括应用程序和Linux驱动设计.验证结果表明,软硬件设计功能正确,并且与18 MHz时钟频率相比,高时钟频率采集性能提高了约15%至78%.当时钟频率为40 MHz时,采集速率不小于50.2 MByte/s,适用于数据采集速度要求较高的应用系统.%To meet the performance requirements of data acquisition in the domestic operating system, after researching the principle of PCI acquisition card, a design of software and hardware for PCI acquisition card based on FPGA and Linux is proposed. The hardware is mainly designed for FPGA control logic, including clock module, data acquisition module, FIFO module and main control module. The software mainly includes the design of application program and Linux driver. Validation results show that the design of hardware and software is correct, and the acquisition speeds of high clock frequency, compared with that of 18MHz clock frequency, are increased by about 15% to 78%, and the speed is not less than 50.2 MByte/s when the clock frequency is 40MHz, , which is suitable for the system with high requirements on the acquisition speed.
展开▼