毕业设计基于自由摆的平板控制系统详解.doc

毕业设计基于自由摆的平板控制系统详解.doc

  1. 1、本文档共22页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘  要 本设计要求一个自由摆的平板控制系统,控制电机使平板可以随着摆杆的摆动而旋转(3-5周),摆杆摆一个周期,平板旋转一周。在平板上摆放一枚和八枚硬币,一枚硬币时用手堆动摆杆至一个角度30度到45),八枚硬币时,用手堆动摆杆至一个角度(45到60),启动系统后,让自由摆动,在五个周期内,不让平板上的硬币掉下来。 本是基于AT89C52单片机为主控芯片,将与自由摆顶端相连,利用角度和电阻值的关系,单片机进行AD两端电压的变化,在LCD液晶屏上显示,单片机电机驱动芯片控制驱动电机,实现电机随着摆杆的摆动而正反转和停转的功能,单片机对采集到的电压进行PID控制算法再通过改变PWM的占空比达到精确控制电机转速的目的,从而使平板随着摆杆的摆动一直与水平面保持平行。基于自由摆的平板控制系统能够使放在平板上的小物件在摆动的过程中不会掉下来。 Abstract The design requirements and design a tablet based on free pendulum control system can control the motor plate can swing with the pendulum rotates (3-5 weeks), the pendulum swing a cycle, tablet revolution. Placed on the plate and an eight coins, a coin pile hand when moving to a pendulum angle (30 degrees to 45 degrees), eight coins, hand heap to a moving pendulum angle (45 degrees to 60 degrees), start the system, let freedom pendulum swinging freely in the five periods, not to fall flat on the coin. This design is based on AT89C52 microcontroller as the master chip, the angle sensor is connected to the top of the free pendulum, the use of angle and the linear relationship between the resistance value, the use of single-chip AD converter converts the voltage across the sensor angle changes, and on the LCD screen displayed angle value after conversion by the motor driver chip microcontroller controls the drive motor, the motor with the swing of the pendulum and stopped reversing function, application microcontroller collected voltage PID control algorithm, and then by changing the PWM duty cycle to achieve the purpose of precise control of motor speed, so that the plate with the pendulum has been swinging parallel to the horizontal plane. Tablet based on free pendulum control system enables small objects on the plate in the swing process will not fall off. Key Words: AT89C52, ADStepper motor, LCD screen 目 录 摘  要 I Abstract II 1 绪论 1 1.1 课题背景与意义 1 1.2 课题的内容与要求 1 2 系统方案设计 3 2.1 结构框图 3 2.2 系统模块选择设计 3 2.2.1 控制器模块 3 2.2.2 角度转换模块 4 2.2.3 电机模块 4 2.2.4 驱动电机模块 4 2.2.5 显示模块 4 3 理论分析与计算 5 3.1 自由

文档评论(0)

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

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

1亿VIP精品文档

相关文档