基于STM32的USB数据采集器的设计
2018-10-21李雪静邓成中
李雪静 邓成中
摘 要:随着计算机科学技术的快速发展,PC机作为控制平台的数据采集系统已经成为了当前发展的主要趋势。文章设计了基于微处理器平台STM32的USB数据处理采集系统,USB通信的方式实现和PC软件之间的数据交换,数据通过USB接口传输,并在PC机进行实时数据显示,给出了主要模块的具体的硬件电路设计和程序的设计模块。
关键词:数据采;USB通信;STM32
中图分类号:V557 文献标识码:A 文章编号:1671-7988(2018)17-172-05
Abstract: With the rapid development of computer science and technology, PC machine as the control platform of the data acquisition system has become the main trend of the current development. In this paper, the design of based on STM32 microprocessor platform USB data acquisition and processing system, data exchange between the USB communication and the PC software, data is transmitted through the USB interface and in the PC for real-time data display, gives the main module of the specific hardware circuit design and program design module.
Keywords: Data acquisition; USB communication; STM32
CLC NO.: V557 Document Code: A Article ID: 1671-7988(2018)17-172-05
前言
数据采集一般指的是将待测设备或传感器中的模拟和数字结构单元中自动的采集信号(包括电量和非电量),然后发送到远程的PC或服务器上再进行分析处理[1]。
数据采集器是一种能够对现场或远程采集的数据进行分析记录的设备。其轻便的特性使其在多种场合适用。数据采集器的输入源一般是以自带的过程传感器或震动传感器等的测量信号作为它的输入,在其内部搭载了十分复杂的测量分析技术和丰富多样化的显示系统,所有这些组成的检测系统能很方便的对机器设备进行周期性的故障排查和状态检测。它同计算机一起构成了机器设备诊断主要的辅助手段[2]。
20世纪90年代至今,许多科技发达的国家已经广泛的推广使用这种数据采集技术。而且随着集成电路制造技术的飞速发展,高性能,高可靠性的专业单片机数据采集系统(DAS)开始出现。目前随处可见精度高达16位的DAS产品,其采集数据每秒就可以达到十万次以上。至此数据采集技术已经逐渐发展成为了一门专门的技术。……
