基于单片机控制的XY绘图仪系统设计.doc

  1. 1、本文档共41页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要 本设计是基于单片机控制的数控XY工作台系统设计与虚拟仿真。 在系统控制电路设计上,CPU采用的是AT89C51单片机。采用90BF001型相拍的步进电机ULN2004A来驱动,并确定了XY工作台的传动方式。单片机的复位方式为上电自动复位,时钟电路为内部时钟方式。在CPU及外围电路芯片的选择上,以尽量节省I/O口、性价比较高、技术成熟以及市场上通用芯片为基准,因而控制系统电路的结构简单,性能更优越。 程序编写完成后,在Keil软件进行编译和调试,并在Proteus环境中实现程序及电路的仿真。 关键字:XY工作台 单片机 微控制器 Proteus 仿真 ABSTRACT This is a design of microcomputer-based CNC XY platform motion control system and its virtual simulation. In the control circuit design, used an AT89C51 microcontroller for CPU. Using the four phase eight reactive stepping motor 90BF001 as servo motor drives the XY platform, and they were driven by ULN2004A, and we also determined the transmission ways the XY platform. Chip power-on reset mode is automatically reset, clock circuit for the internal clock mode. On the choose of CPU and the peripheral circuit chip, following next principles : save the I/O mouth as possible , high performance with low cost, mature technology and general chip on the market. So the structure of the control system circuit is simple, and its performance is superior. After the completion of the program written, programs were compiled and debugged in Keil, and to achieve the simulation of program and circuit in Proteus environment. Key words: XY platform Chip-Single Microcomputer Microcontroller Proteus simulation 目 录 第一章 绪论 1 1.1 课题设计研究背景 1 1.2 研究的内容 1 1.3 毕业设计的目的、意义 2 第二章 数控系统的总体方案 3 2.1 数控系统的控制方式 3 2.2 伺服系统及电机的选择 3 2.3 微机控制系统的选择 4 2.4 X-Y工作台的传动方式 5 第三章 MCS-51单片机工作原理 6 3.1 单片机内部组成及引脚功能 6 3.1.1 单片机的内部结构 6 3.1.2 AT89C51单片机的主要特性: 6 3.1.3 AT89C51单片机的引脚功能 7 3.2 单片机的时钟电路 9 3.3 单片机的工作方式 11 第四章 单片机系统的设计 13 4.1 硬件配置与接口分配 13 4.1.1存贮器空间分配 13 4.1.2 I/O口地址分配 13 4.2 硬件电路的设计 13 4.2.1 主控制器CPU的选择 14 4.2.1 步进电机驱动电路的设计 15 4.3 其他辅助电路设计 16 4.3.1 AT89C51的时钟电路单片机的时钟的产生方式 16 4.3.2 AT89C51复位电路 16 4.3.3 超程报警电路 16 4.3.4 掉电保护电路 17 4.3.5 光电隔离电路 18 第五章 基于PROTEUS的XY平台运动仿真设计 20 5.1 Proteus简介及仿真界面 20 5.2 Keil简介 21 5.3 Keil中的程序调试 22 5.4 Proteus仿真系统硬件原理图 23 5.5 运行调试 23 设计总结 26 致 谢 27 参考文献 28

文档评论(0)

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

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

1亿VIP精品文档

相关文档