- 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
您可能关注的文档
最近下载
- 学会欣赏艺术养成对美的感知习惯.pptx VIP
- 二手书微信小程序的设计与实现.docx VIP
- 2025年及未来5年中国超硬石膏粉市场数据分析及竞争策略研究报告.docx
- 技术进步与社会生活的变化 教学设计 高二历史统编版(2019)选择性必修2+经济与社会生活.docx VIP
- 专题12.27 全等三角形几何模型分类专题(全章专项练习)(学生版) 2024-2025学年八年级数学上册基础知识专项突破讲与练(人教版).pdf VIP
- 梗阻性黄疸患者护理查房.pptx VIP
- 梗阻性黄疸患者护理查房.pptx VIP
- 2025-2026学年八年级上册数学 人教版 期末综合复习试题(含答案).pdf VIP
- 2025年湖南有色金属职业技术学院单招职业技能考试题库及答案.docx VIP
- 加油站安全专项整治工作方案范文集合5篇.doc VIP
原创力文档

文档评论(0)