电子信息技术毕业论文完整版---基于单片机的两轮自平衡车控制系统设计.docx

电子信息技术毕业论文完整版---基于单片机的两轮自平衡车控制系统设计.docx

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

毕业论文 论题:基于单片机的两轮自平衡车控制系统设计 姓名: 青明 学号: 专业: 电子信息技术 导师: 李刚 摘要 两轮自平衡车是一种高度不稳定的两轮机器人,就像传统的倒立摆一样,本 质不稳定是两轮小车的特性, 必须施加有效的控制手段才能使其稳定。 本文提出 了一种两轮自平衡小车的设计方案,采用重力加速度陀螺仪传感器 MPU -6050检测小车姿态, 使用互补滤波完成陀螺仪数据与加速度计数据的数据融合。系统选用 STC 公司的 8 位单片机 STC12C5A 60S2 为主控制器,根据从传感器中获取 的数据,经过PID 算法处理后,输出控制信号至电机驱动芯片TB 6612FNG,以控制小车的两个电机,来使小车保持平衡状态。 整个系统制作完成后,小车可以在无人干预的条件下实现自主平衡,并且在 引入适量干扰的情况下小车能够自主调整并迅速恢复至稳定状态。通过蓝牙, 还可以控制小车前进,后退,左右转。 关键词:两轮自平衡小车 加速度计 陀螺仪 数据融合 滤波 PID 算 法 I Design of Control System of Two-Wheel Self-Balance Vehicle based on Microcontroller Abstract Two-wheel self-balance vehicle is a kind of highly unstable two-wheel robot. The characteristic of two-wheel vehicle is the nature of the instability as traditional inverted pendulum, and effective control must be exerted if we need to make it stable. This paper presents a design scheme of two-wheel self-balance vehicle. We need using gravity accelerometer gyroscope sensor MPU6050 for the inclination angle of vehicle, and using complementary filter for the data fusion of gyroscope and accelerometer. We choose an 8-bit microcontroller named STC12C5A60S2 from STC Company as main controller of the control system. The main controller output control signal, which is based on the data from the sensors, to the motor drive chip named TB6612FNG for controlling two motors of vehicle, and keeping the vehicle in balance. After the completion of the control system, the vehicle can achieve autonomous balance under the conditions of unmanned intervention, the vehicle can adjust automatically and restored to a stable state quickly in the case of giving appropriate interference as well. In addition, we can control the vehicle forward, backward and turn around. Key words: Two-Wheel Self-Balance Vehicle; Accelerometer; Gyroscope; Data fusion; Complementary filter; PID algorith

您可能关注的文档

文档评论(0)

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

本人是积极乐观向上的原创创作者

版权声明书
用户编号:5233242032000024

1亿VIP精品文档

相关文档