运动控制-M法T法测速单片机程序设计..docx

运动控制-M法T法测速单片机程序设计..docx

  1. 1、本文档共26页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
课程设计用纸 M法、 T 法测速单片机程序设计 摘 要 本设计为 M法、 T法测速的单片机程序设计。使用 STC89C52单片机 作为控制器,使用该单片机的外部中断和定时器对编码器的输出的脉 冲进行采样来计算出电机的转速。可以使用按键输入来调整 M法、 T法 测速法中 Z、Tc和Tt 等参数以及测速方法的选择,以此来增强本设计的 适应性。参数选择结果和电机转速计算结果均显示在 LCD1602上。 关键字:STC89C52,M法、 T 法测速, LCD1602,电机转速 Ⅰ 课程设计用纸 Abstract This design as m, t-law velocity measurement of single-chip computer programming. Using STC89C52 single-chip computer as the controller, using the microcontrollers external interrupts and timers for encoder output pulse is sampled to calculate the speed of the motor. Can be adjusted using touchtone m, t law Velocimetry parameters such as z, Tt and Tc, as well as in speed measurement method of choice, as a way to enhance the adaptability of this design. Parameter selection and calculation of motor speed results are available on LCD1602. Keywords:STC89C52,M、 T method, the LCD1602, Motor speed Ⅱ 课程设计用纸 目 录 第 1 章 绪论 ................................................................................................................. 1 1.1 旋转编码器 ..................................................................................................... 1 1.2 数字测速的精度指标 ......................................................................................... 2 1.2.1 分辨率 ........................................................................................................................ 2 1.2.2 测速误差率 ................................................................................................................ 2 1.3 M 法测速 ......................................................................................................... 2 1.4 T 法测速 .......................................................................................................... 3 第 2 章 硬件系统设计 ................................................................................................. 5 2.1 STC89C52介绍 ..................................................................................................... 5 2.2 硬件电路 ..............................................

文档评论(0)

137****0220 + 关注
实名认证
内容提供者

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

1亿VIP精品文档

相关文档