Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2007, Vol. 33 ›› Issue (10): 258-260. doi: 10.3969/j.issn.1000-3428.2007.10.092

• Engineer Application Technology and Realization • Previous Articles     Next Articles

Distributed Control System for Stepper Motor Using Serial Communication

LI Heqing, HOU Zhixiang   

  1. (College of Automobile & Mechanism Engineering, Changsha University of Science Technology, Changsha 410076)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-05-20 Published:2007-05-20

基于串行通信的步进电机小型集散控制系统

李河清,侯志祥   

  1. (长沙理工大学汽车与机械工程学院,长沙 410076)

Abstract: 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.

Key words: Distributed control system, Single chip microcomputer, Stepper Motor, Serial communication

摘要: 集散控制在工业领域中具有广泛的应用,该文以2台步进电机为控制对象,完成了一套简单的集散控制系统的整体设计,该系统由上位机(PC机)和下位机(单片机控制系统)组成,通过Visual Basic的串行通信控件MSComm和RS-232总线完成二者之间的通信。上位机发出控制指令,通过串行口通信,由下位机完成2台步进电机的速度与方向控制,在上位机上实现步进电机速度的实时显示。实时运行结果表明了该系统的实用性和可靠性。

关键词: 集散控制系统, 单片机, 步进电机, 串行通信

CLC Number: