论文部分内容阅读
本文提出一种基于STM32和uCOSll的嵌入式数据采集系统。包括8路1 2位A/D模块、2路12位D/A模块、8路数字量输入/输出模块、RS485通信模块、LJSB通信模块、TFT液晶显示模块以及SD卡存储模块。系统采集速率在1kHz-50k Hz可调。D/A模块能输出1Hz-10kHz的方波、三角波、正弦波。系统可以通过LJSB通信向上位机发送A/D采集数据和数字量输入状态,并能通过LJSB与系统上位机通信来控制该系统。系统上位机具有显示波形、控制D/A及开关量输出、采集值储存入数据库等功能。经过实验检测,本设计合理可靠,检测精度满足一般工业控制要求。
This paper presents an embedded data acquisition system based on STM32 and uCOSll. Including 12 12-bit A / D modules, 2 12-bit D / A modules, 8 digital input / output modules, RS485 communication module, LJSB communication module, TFT liquid crystal display module and SD card storage module. System acquisition rate of 1kHz-50k Hz adjustable. D / A module can output 1Hz-10kHz square wave, triangle wave, sine wave. The system can send A / D acquisition data and digital input status to the host computer through LJSB communication, and can control the system through LJSB communication with the system host computer. System PC with a display waveform, control the D / A and the switch output, the collection value is stored into the database and other functions. After experimental testing, the design is reasonable and reliable, the detection accuracy to meet the general industrial control requirements.