摘要
提出了基于FPGA的数据采集方法,采用有限状态机设计AD7864控制器和滤波器,并能由CPU控制采样频率。给出具体设计方法并进行功能仿真。结果表明,数据采集模块能极大减轻CPU的负担,快速准确地进行数据采集及处理。
Design a volume correction device for natural gas in order to improve the accuracy of volume measurement, focusing on study and design of data acquisition modules in the device. Design a data acquisition method based on FPGA ,using FSM to design AD7864 controller and filter. And the sampling frequency can be changed by CPU. In this paper, the specific design and functional simulation are given. The results show that the data acquisition module will be able to greatly reduce the burden of CPU, and bring rapidly and accuratly data acquisition and processing.