网站大量收购独家精品文档,联系QQ:2885784924

05基于89S52單片机的步进电机联动作图控制修改.doc

05基于89S52單片机的步进电机联动作图控制修改.doc

  1. 1、本文档共44页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
05基于89S52單片机的步进电机联动作图控制修改

摘要 本文目的是要完成基于水电模拟数据采集的图形显示部分。步进电机是一种进行精确步进运动的机电执行元件, 它广泛地用于对精度要求比较高的运动控制系统中。因此本文采用步进电机来实现图形显示部分的功能,其核心是用单片机控制两个电动机联动带动画笔,依照数据进行作图。 本文比较了几种常见的步进电机驱动电路后,选择以ULN2803和L298N芯片为驱动器的两种驱动电路设计方案并且设计了相应的过压保护电路。该方案硬件电路简单,控制和保护电路也较完善,采用集成芯片调试也较模拟电路简单,编程也非常方便。 采用AT89S52作为步进电机联动作图的控制器,通过C51程序对步进电机的运动进行控制,以实现作图的功能。软件分为送脉冲模块,电机走步控制模块和插补算法模块三部分,其中重点研究了步进电机运动的圆弧插补算法。 设计步进电机走步控制的小灯模拟,采用实验箱上的小灯模拟程序控制下的步进电机获得脉冲的实际情况。分别用六个小灯代表两个步进电机的A、B、C三相,小灯亮表示电机该相在该时刻获得高电平,小灯熄,表示电机该相在该时刻获得低电平。对小灯模拟可能出现的问题和问题原因可能性进行分析和改进。并分析了小灯模拟的局限性,提出了小灯模拟在实际运用中应该注意的问题。 关键词:89S52 步进电机 驱动电路 插补算法 Abstract The aim is to complete the collection of data based on the graphics power simulation showed. Electrical is a step in the implementation of precision mechanical and electrical components of the Egyptian campaign, which is widely used for high-precision movement control system for comparison. Thus the electrical motors used to achieve this part of the functional graphics show, the core of which is controlled by two electric motors single chip microprocessor to brush them, in accordance with the data map. The more common types of electrical motors driving circuit, choose ULN2803 and L298N chips to drive the two-driven circuit design and design corresponding over Voltage protection circuit. The programme simple hardware circuit, control and protection circuits have a better use of integrated circuit chip debugging is more simple simulation, programming is also very convenient. AT89S52 used as a stepping electrical linkage map of the controller, through C51 procedures for the movement to advance the electrical control for the functional map. Software modules into sending pulse, the control module and electrical generation algorithm modules spaced three parts, which focus on the myriad electrical movement vocabulary widely algorithms. Costume design control small electrical motors lights simulation experiments using small boxes of lights to the electrical simulation programmed control of the myriad pulsating reality.

您可能关注的文档

文档评论(0)

yxnz + 关注
实名认证
内容提供者

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

1亿VIP精品文档

相关文档