摘要
基于串行总线的异步通信是一种实用高效的数据传输方式。使用单片机为核心设计数据采集装置,配合利用多线程技术和串口技术的软件系统可以实现对多种数据的采集记录,并且满足系统对实时性与稳定性的要求。主控软件可对前端数据采集装置的工作状态实施有效的控制,并对采集的数据提供多种样式的观测模式,实现了对数据的宏观与微观观测,以及对采集数据有效的归档存储,极大的提高了数据采集工作的效能。
The serial asynchronous communication is an efficiency data transfer method. In the paper we use the MCU as the core unit to design a data acquisition device and couple with a control-store soft which adopt the multithread technique and the serial communication mechanism. The system works steady and has a good real time performance and it can be applied widely. This software can control the data acquisition device effectively, provide a multiform observation about the data, overlook or see it in detail, and store the data automatically. It makes the data acquisition more convenient and efficiency.
出处
《仪器仪表标准化与计量》
2006年第4期19-21,共3页
Instrument Standardization & Metrology
关键词
单片机
多线程
串口通信
数据采集
MCU Multithread Serial Communication Data Acquisition