针对工程领域对数据采集的多类别数据、高速采集和传输、实时性的要求,设计基于USB接口的高速数据采集系统,并有FPGA+DSP搭配进行采集系统的逻辑控制、接口控制和信号处理,另有一块AD转换板进行模数转换;重点阐述USB接口设计的原理和实现,包括USB固件程序设计、驱动程序设计和USB应用程序设计;经过传输256*256的灰度图像、测试USB通道数据传输速度和使用采集板采集方波信号的测试,证明系统能够实现数据采集的任务,有很快的数据传输速度。
According to the various--data, high--speed and real--time requirement of data acquisition in engineering project, it designed a high speed data acquisition system based on USB interface, coupled with FPGA&DSP implemented the role of logic control, interface control and signa/processing, together with an Analog-Digital transfer board achieved signal transfer. It emphasized the principles and realization of USB interface design, including USB firmware program design, USB driver design based on Windows Driver Model (WDM) and application program design. With tested by transferring a gray image with 256 * 256 pixels, computing USB channel transfer speed and collecting square wave signal through data acquisition board, the system is demonstrated of completing the task of data acquisition well and having a fast data transmission rate.