摘要
集散控制在工业领域中具有广泛的应用,该文以2台步进电机为控制对象,完成了一套简单的集散控制系统的整体设计,该系统由上位机(PC机)和下位机(单片机控制系统)组成,通过Visual Basic的串行通信控件MSComm和RS-232总线完成二者之间的通信。上位机发出控制指令,通过串行口通信,由下位机完成2台步进电机的速度与方向控制,在上位机上实现步进电机速度的实时显示。实时运行结果表明了该系统的实用性和可靠性。
Distributed control is widely used in industry fields. This paper completes the integral design of a simple set of distributed control system, which uses two stepper motors as the controlled object. The system is composed of personal computer and single chip microcomputer, which realizes communication with Visual Basic serial communication controls and RS-232 bus. The personal computer sends out the control commands and shows the real-time velocity graph, and the single chip microcomputer realizes the speed and direction control of two stepper motors through serial communication. The results show the practicability and reliability of the system by real-time running of the product.
出处
《计算机工程》
CAS
CSCD
北大核心
2007年第10期258-260,共3页
Computer Engineering
关键词
集散控制系统
单片机
步进电机
串行通信
Distributed control system
Single chip microcomputer
Stepper Motor
Serial communication