为了实现电源电压的监测,提出了一种基于单片机和LabVIEW的电压监测系统。该系统由基于单片机的电压监测装置和基于LabVIEW的上位机程序两部分组成。电压监测装置以AT89C51单片机为核心构建,实现电压采集、显示、报警、上限值设置和串口通信等功能;上位机程序采取虚拟仪器技术LabVIEW构建,实现电压显示、报警和上限值设置等功能。系统测试与分析结果表明,设计的系统能实现电压监测需要的各种功能,且运行效果良好。%In order to realize the monitoring of power supply voltage , a design of voltage monitoring sys-tem based on MCU and LabVIEW was presented .The system consisted of voltage monitoring device based on MCU and host computer procedure based on LabVIEW .The voltage monitoring device was de-signed by the core of ATC89C51 MCU, it realized the functions of voltage acquisition , display, alarm, upper limit set and serial communication .The host computer procedure was designed by the virtual in-strument technology of LabVIEW , it realized the functions of voltage display , alarm and upper limit set . The system testing and analysis results showed that the designed system could realize the functions which voltage monitoring needed , the operation effect of the system was good .
展开▼