作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (10): 258-260. doi: 10.3969/j.issn.1000-3428.2007.10.092

• 工程应用技术与实现 • 上一篇    下一篇

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

李河清,侯志祥   

  1. (长沙理工大学汽车与机械工程学院,长沙 410076)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-05-20 发布日期:2007-05-20

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

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

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

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

中图分类号: