风力摆最终版.pdfVIP

  • 68
  • 0
  • 约1.35万字
  • 约 17页
  • 2020-10-06 发布于未知
  • 举报
2015 年全国大学生电子设计竞赛 风力摆控制系统(B 题) 2015 年 8 月 15 风力摆控制系统 摘要 STC89C52 是单片机里应用比较广泛的一款,在自动控制领域里享有很高的 价值。本设计采用 STC89C52 单片机作为主控制芯片,设计并制作一套风力摆控 制系统。该系统主要是以单片机最小系统模块、电源模块、电机驱动模块、12864 液晶显示模块组成的。利用三轴加速度陀螺仪 MPU-6050 对轴流风机姿态的采集 反馈给 STC89C52,通过PID 控制算法提高动态性能,实现类似自由摆运动、幅 度可控的摆动,以及按照设置的方向(角度)摆动等功能。 关键词:STC89C52,三轴加速度陀螺仪、L298N 驱动、轴流风扇、12864 液 晶显示。 Abstract STC89C52 is a wide range of applications in the micro controller, in the field of automatic control to enjoy a high value. This design uses STC89C52 micro controller as the main control chip, design and manufacture a set of wind pendulum control system. The system is mainly based on single-chip micro- computer system module, power supply module, motor driver module, 12864 LCD module. Using the three axis acceleration gyroscope MPU-6050 to collect feedback to the STC89C52, the PID control algorithm is used to improve the dynamic performance, and to achieve a similar free swing motion, the am- plitude controllable swing, and in accordance with the direction of setting (angle) swing and other functions. Keywords: STC89C52, three axis acceleration gyroscope, L298N drive, axial flow fan, 12864 LCD 目录 一.方案论证 1 1. 系统方案的总体程序框图 1 1.1 微控制器的论证与选择 1 1.2 风扇控制方案选择 1 1.3 电机驱动的论证与选择 2 1.4 速度控制的论证与选择 2 1.5 角度测量方案选择 2 1.6 显示方案选择 3 二.系统理论分析与计算 3 2.1 风扇调试原理 3 2.2 风力摆状态测量与计算 4 2.3 控制算法分析 4 三.系统结构 5 3.1 机械结构 5 3.2 测控电路结构 5 四.系统软件6 4.1 主程序流程框图 6 五.测试方案及结果 6 六.结束语 7 七.参考文献8 附录 一.系统方案: 1.系统总体设计框图如下图所示 显示模块 S T 蜂鸣器 C 8 电 9

文档评论(0)

1亿VIP精品文档

相关文档