摘要
为了对小型独立光伏发电装置进行状态监测,设计了一种基于LabVIEW和MSP430单片机的USB串口通信系统。用高精度的USB-UART桥接器CP2102将MSP430的UART0口转换成USB口,通过USB电缆实现上层监测和下位控制器间的数据通信。通信采用Modbus-RTU协议并结合CRC校验方式,下位机为从站,上位机为主站,在LabVIEW和C51编程环境下编写了通信程序。现场应用和实验表明,该系统具有较高的数据可靠性和较强的环境适应性,可广泛应用于测控系统中。
In order for independet photovoltaic power generation device status monitoring,a communication system is designed between LabVIEW and MSP430 Based on serial port USB.This paper utilizes CP2102 to upgrade UART for use with USB,and the data communication is executed through USB serial port between LabVIEW and MSP430.Under the Modbus-RTU communication protocol,the software procedure using LabVIEW language and C51 language is designed,and finally makes a confirmation in a real-time photovoltaic monitoring system.Practical application and experiments show that the system has higher system reliability,stronger site environmental adaptability,and their application fields were extended.
出处
《自动化与仪表》
北大核心
2011年第3期38-41,共4页
Automation & Instrumentation
基金
广东省高校优秀青年创新人才培育项目资助项目(LYM09109)
广州大学自制实验设备项目经费资助项目