- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于单片机控制的数控X-Y工作台系统设计
——插补部分
摘 要
本设计研究的课题主要是基于单片机控制的数控X-Y工作台系统设计—插补部分设计。
在系统程序设计上运用逐点比较法使步进电机实现单坐标定位、两坐标直线插补和圆弧插补的基本功能;在此功能基础上通过建立象限判别程序,使X-Y工作台达到四象限的工作要求;并编写了代码处理指令,使CPU能够根据读入的指令信息(G代码与X轴和Y轴坐标),分别向X轴和Y轴步进电机输出执行指令所需的控制信号,从而完成指定的工序。
该设计选用KeilμVision2软件进行程序的编译和调试,在Proteus环境下实现进一步的调试并仿真得出程序的运行结果。此次设计的程序均能在Proteus中的控制系统仿真电路图中仿真通过,仿真时,只需从键盘输入G代码后,步进电机就能通过直线插补和圆弧插补,完成平面轮廓加工。
关键字:插补 数控X-Y工作台 步进电机 单片机
Design of X-Y NC Worktable Based on Microcontroller
——Interpolation part
ABSTRACT
The subject of this design study is mainly based on MCU control system design for CNC XY table - interpolation part of the design.
Procedures used in the system design by point by point comparison then single-coordinate positioning, linear interpolation of the two coordinates, circular Interpolation of the two coordinates by use the stepper motor; on the basis of this, establish quadrant identification procedures so that XY table can work in four quadrants; and write the code handler,so CPU according to the information which have been read(G code and the X-axis and Y-axis coordinates), output signals to two stepper motor separately for control the table how to move on X-axis and Y-axis to finish the specified process.
The design of the software programs used KeilμVision2 compile and debug, debugging at the Proteus and get the results of simulation. the results of the design of the program in the simulation by Proteus is wonderful, when simulation the program, just need input G code by the keyboard, stepper motor can control the table through linear interpolation and circular interpolation to finish plane contour machining.
Key words: Interpolation X-Y NC Worktable Stepping Motor Microcontroller
目 录
摘 要 I
ABSTRACT II
前言 1
1 X-Y数控工作台设计简介 2
1.1 X-Y数控工作台总体方案分析 2
1.2 仿真开发环境Proteus简介 2
1.3 程序开发环境KeilμVision2简介 2
2 X-Y数控工作台机械部件功能分析 4
2.1 步进电动机的工作原理 4
2.2 步进电动机的工作方式 4
3 X-Y数控工作台硬件电路分析 6
3.1 控制系统微控制器AT89C52 6
3.1.1 AT89C52单片机的主要工作特性 6
您可能关注的文档
最近下载
- 2024年《生物安全培训》ppt课件(2024).pptx VIP
- [交通运输]21ABAQUS用户材料子程序_1502407.doc VIP
- 技术进展探讨广告行业中的最新技术和创新应用 .pdf VIP
- 宁夏呼鲁斯太矿区5#煤层粘土岩夹矸的研究.PDF
- 中国园林艺术课件.pptx
- 2025年新版人教版四年级上册英语 四上Unit1 Helping at Home单元整体教学设计.pdf VIP
- 牙体牙髓病学实验报告与评定.pdf VIP
- 《电力建设工程预算定额2024版》第四册架空输电线路工程.pptx VIP
- 第10章abaqus用户材料子程序二次开发及应用.doc VIP
- 中国药典2020版与2025版对比1101+无菌检查法.xlsx
文档评论(0)