基于单片机的步进电机多轴运动控制系统设计

上传人:n**** 文档编号:37443330 上传时间:2018-04-16 格式:DOC 页数:50 大小:94.60MB
返回 下载 相关 举报
基于单片机的步进电机多轴运动控制系统设计_第1页
第1页 / 共50页
基于单片机的步进电机多轴运动控制系统设计_第2页
第2页 / 共50页
基于单片机的步进电机多轴运动控制系统设计_第3页
第3页 / 共50页
基于单片机的步进电机多轴运动控制系统设计_第4页
第4页 / 共50页
基于单片机的步进电机多轴运动控制系统设计_第5页
第5页 / 共50页
点击查看更多>>
资源描述

《基于单片机的步进电机多轴运动控制系统设计》由会员分享,可在线阅读,更多相关《基于单片机的步进电机多轴运动控制系统设计(50页珍藏版)》请在金锄头文库上搜索。

1、基于单片机的步进电机多轴运动控制系统设计 摘 要 步进电机是将电脉冲信号转变成角位移的执行机构,其转速、停止位置只与脉 冲信号的频率和脉冲数有关,具有误差小,易控制等特点,广泛应用于机械、电子、 纺织、化工、石油等行业。尤其是在医疗行业中,比如在 X 光扫描方面,都会用到 电机,步进电机的优点使其成为医疗行业里最为适用的电机。本设计中的多轴控制 系统可以运用在 X 光扫描仪等多种仪器上。 本设计选用 STC89C55RD+型单片机作为核心控制单元,实现 M35SP-7 型步进电 机的多轴运动控制,并通过 RS232 串口实现与上位 PC 机通讯功能。设计中运用单 片机软件编程方式实现步进电机环

2、形分配器功能,用 P1.0 口、P1.1 口、P1.2 口和 P1.3 口分别控制四相步进电机的 A 相、B 相、C 相和 D 相绕组的通电顺序,软件上 采用查表方法实现单双八拍工作方式环形脉冲分配。步进电机驱动部分采用 ULN2003A 驱动芯片,实现功率放大,驱动步进电机。最后使用 Proteus 软件绘制 了单片机控制步进电机多轴运动的原理图。上述设计经实验验证是有效可行的。 关键词 单片机,步进电机,多轴运动,串口通讯 IV 基于单片机的步进电机多轴运动控制系统设计 Abstract Stepper motor is an implementing mechanism that con

3、vert the electronic pulse into angle displacement.Its speed and the stop position only about the frequency and pulse several of the pulse signal,its characteristics are minor error,easy to control and so on,it is widely applied to mechanical, electronic, textile, chemical, oil, etc. Especially in th

4、e medical industry,such as an x-ray scanning,need motors.Stepper motors advantages make it become the most suitable medical industry machine.The multi-axis control system in the design can be used on a variety of instruments such as an x-ray scanning. This design choose STC89C55RD + SCM as the core

5、of the control unit,to realize M35SP-7 type stepper motors multi-axis control,and use RS232 serial to realize PC communication function.This design use SCM software programming realize stepper motor circular distribution function,P1.0, P1.1, P1.2 and P1.3 respectively controlling A, B, C and D phase

6、s electricity order on the four phase step motors.Software is used on look-up table method teak eight single working way circular pulse distribution.This design use ULN2003A realize power amplifier to drive stepper motor.Finally using Proteus to draw the principle diagram of the SCM control stepper

7、motor multi-axis motion.The above design experiments showed is effective and feasible. Keywords:SCM, Stepper Motor, Multi-axis motion, serial communication V 基于单片机的步进电机多轴运动控制系统设计 目 录 第一章 引言.1 1.1 选题背景.1 1.2 研究意义 . 1 1.3 发展状况 . 2 1.4 课题主要研究的内容 . 3 第二章 控制系统硬件设计 .4 2.1 单片机控制系统原理.4 2.1.1 单片机的种类.4 2.1.2

8、单片机的发展历程.4 2.1.3 51 单片机的引脚安排 .5 2.1.4 单片机的结构.7 2.2 步进电机.11 2.2.1 M35SP-7 步进马达的性能参数.12 2.2.2 步进电机原理.13 2.2.3 驱动控制系统组成.18 2.2.4 步进电机的应用.21 2.2.5 步进电机的单片机控制 .22 2.2.6 步进电机的多轴联动 .23 2.3 ULN2003A驱动芯片.24 第三章 上位机通讯设计.26 3.1 RS232 通信 .26 3.1.1 RS232 的电气特性.27 3.1.2 连接器的机械特性.28 3.1.3 RS232 的接口信号.30 第四章 系统的软件设计.34 基于单片机的步进电机多轴运动控制系统设计 4.1 单片机程序设计.

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 电子/通信 > 综合/其它

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号