摘要
为了实现对高速图像数据的采集,介绍了某高速CMOS相机图像采集卡总体设计方案。利用Driver Studio驱动开发工具设计了图像采集卡驱动程序,对PCI设备的存储器映射、中断和DMA功能实现做了讨论,深入剖析了驱动程序和应用程序间的通信,通过中断与DMA间的配合完成了高速图像数据的传输。实现了Windows XP系统下驱动程序的安装与调试。测试结果表明:利用DMA操作传输数据,在本地总线的晶振频率为40MHz、图像分辨率为640×480、数据宽度为10位的数据传输时,能达到200帧/秒的采集速率。
In order to achieve high-speed image data acquisition,The Overall design overall of a high-speed CMOS camera image acquisition card is introduced in this paper. The image acquisition card driver is designed according to the Driver Studio tool. The PCI device memory mapping, interrupt and DMA features implementation are discussed in this paper. The communication between the driver and the application is deeply analysised. The transmission of high-speed image data is completed depend on the coordination between the interrupt and DMA. In the end, the driver installation and debugging under the Windows XP system are Implemented. The results showe that: depend on the DMA data transfer operation, the data transmission accuracy, system performance and stability, can achieve 200f/s acquisition rate with 40MHz crystal frequency of local bus and 10 bits wide data in a format of 640 × 480.
出处
《国外电子测量技术》
2009年第9期61-64,70,共5页
Foreign Electronic Measurement Technology
关键词
高帧频
PCI总线
驱动程序
中断
high frame rate
PCI Bus
device driver
Interruption