A data acquisition system was designed based on STM32 and CPLD to realize acquisition, transport, display and storage of on-line data. The sampling process was controlled by the CPLD to realize multi-channel data acquisition. Veril-og HDL language was adopted in this system, two modules were designed by the programmer, including input channel connection module and A/D acquisition module, so as to realize filtering, amplifying and converting of on-line data. The data was processed and transformed by STM32. The upper software of data management was developed in PC to realize the displaying and storage of data. It has been found that the system can meet the real-time display requirement of multi-channel data acquisition. The system circuit design method is simple and reliable. It meets the requirement of practical application.%设计一种基于STM32和CPLD的数据采集系统,实现现场数据的采集、传输、显示和存储.数据采集过程由CPLD控制,采用VerilogHDL语言设计输入通道选通和A/D采集控制程序,进行数据的滤波、放大、转换,实现多通道数据的采集;在STM32中实现数据处理、传输,并在PC机中开发上层数据管理软件,实现数据的显示、存储.系统可实现多通道数据采集实时显示的要求,电路设计方法简单、可靠性高,能满足实际应用的要求.
展开▼