摘要
设计一种基于单片机的组态王King View液位控制系统;描述系统管路设计和底层硬件,着重对组态王和单片机之间的ASCII码型通信协议,以及单片机在组态王中的通信格式设置进行说明。将其应用到设计的以ADμC834为主控芯片的三容水箱液位控制系统中,加入简单PID控制算法,进行了实物验证,使系统液位能快准稳的稳定在目标液位上,显示该系统具有可靠性高、集成度高和成本低等优点。
A sort of KingView liquid level control system based on single?chip microcomputer is designed in this paper. The pipeline design and underlying hardware of the system are described. ASCII code communication protocol between KingView and MCU,and MCU communication format in KingView are elaborated in detail. They are applied to the self?de?signed three?tank water level control system,in which ADμC834 is taken as its main control chip and a simple PID control algo?rithm is added. The physical verification result indicates that it can control the water level in the setting level quickly,accurate?ly and steadily,which shows that the system has high reliability,high integration and low cost.
出处
《现代电子技术》
2014年第24期101-104,共4页
Modern Electronics Technique