基于单片机与超声波传感器的步进电机控制器毕业设计.doc

基于单片机与超声波传感器的步进电机控制器毕业设计.doc

  1. 1、本文档共53页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要 步进电机是将电脉冲信号转变为角位移或线位移的开环控制元步进电机件。在非超载的情况下,电机的转速、停止的位置只取决于脉冲信号的频率和脉冲数,而不受负载变化的影响,当步进驱动器接收到一个脉冲信号,它就驱动步进电机按设定的方向转动一个固定的角度,称为“步距角”,它的旋转是以固定的角度一步一步运行的。可以通过控制脉冲个数来控制角位移量,从而达到准确定位的目的;同时可以通过控制脉冲频率来控制电机转动的速度和加速度,从而达到调速的目的。因此,步进电机以其精准的控制特性,广泛应用于执行器件中。 本文设计了基于单片机的步进电机控制器,系统采用AT89S52型单片机作为主控制器电路。采用步进电机驱动芯片ULN2003趋动28BYJ-48型四相八拍步进电动机,设计了对应的按键控制电路和LCD状态显示电路。 AT89S52的控制指令通过光耦TLP521-4控制ULN2003,根据计算控制脉冲时序,算出电机转过的步数或圈数,用LCD1602A显示步进电机运行状态和转速。各控制按键功能用无线收发模块PT2262/2272作为辅助,共同实现步进电机的控制。同时整个系统作为一个执行部件,嵌入到其他的微机控制系统中。外部微机通过MAX232芯片将信号转化为RS232协议信号,与主控制器控制器进行通信。AT89S52通过内部程序识别外部微机的控制信号,对控制系统进行控制,使得本系统的应用范围与可靠性大大提高。 关键词 单片机;达林顿管;步进电动机;串口通信 Abstract Stepping motor is will signal into electrical impulses for angular displacement or line open loop control the displacement of stepping motor parts. In the overload of the cases, motor speed, stop depends only on the position of the pulse signal frequency and pulse count, and do not suffer the effect of load changes, when stepping drive to receive a pulse signal, it will drive stepping motor set according to turn a fixed Angle, called "step from the corner", it is the point of view of the rotation of the fixed step by step of operation. Can through the control pulse to control the number of angular displacement quantity, so as to achieve the purpose of accurate positioning; At the same time can through the control pulse frequency to control motor rotation speed and acceleration, so as to achieve the purpose of speed. Therefore, stepping motor with its precise control characteristics, widely used in execution of the device.In this paper, based on SCM stepping motor controller, system adopts single-chip microcomputer as the main controller AT89S52 type circuit. The control instruction through light AT89S52 decoupling method-4 control ULN2003, according to computation control pulse timing, calculate efficiency or motor turned laps, with LCD1602A display stepping motor running state and speed. The control key function in a wireless transceiver mo

文档评论(0)

精品天地 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档