资源预览内容
第1页 / 共47页
第2页 / 共47页
第3页 / 共47页
第4页 / 共47页
第5页 / 共47页
第6页 / 共47页
第7页 / 共47页
第8页 / 共47页
第9页 / 共47页
第10页 / 共47页
亲,该文档总共47页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
1摘 要该系统为一个帆板控制系统,通过对风扇转速的控制,调节风力大小改变帆板角度。为了满足帆板控制系统的设计要求,进行了各单元模块的比较论证及确定,本系统以AT89C52单片机作为系统的核心控制芯片,选HQ7101模拟三轴加速度传感器模块来测量帆板转动的角度,灵敏度高,满足对角度的准确测量。对于关键的电机驱动电路,经过充分的比较与论证,最终选用驱动模块L298N,通过单片机输出PWM脉冲,更好地实现了电机的调速;并且加入PID控制,实现了控制角度的优化。系统显示部分采用12864液晶显示,串行接口,编程容易,并且现实的信息量大。关键词: AT89C52 ;PWM脉冲;L298N2AbstractThis system is a panel control system, through the control of the fan speed, adjust the size change wind windsurfing angle. In order to meet the requirements of design panel control system, compares and demonstrates each module and determination, this system takes the AT89C52 single chip as the core control chip, HQ7101 simulation of three axis accelerometer module to measure the windsurfing rotation angle, high sensitivity, accurate measurement of the angle of the meeting.The key of the motor drive circuit, through comparison with sufficient argumentation, the final selection of the drive module L298N, pulse through the singlechip output PWM, better realize the motor speed; and adding PID control, to realize the optimization of control angle. System display part adopts 12864 liquid crystal display, serial interface, easy programming, and the amount of information real big.Keywords: AT89C52 ; PWM pulse; L298N.1目录1 绪论.1 1.1 课题研究的背景及目的.1 1.2 帆板控制系统在国内外的现状分析.1 1.3 课题研究的主要内容.2 1.4 课题研究的目标.2 1.5 拟解决的关键问题.2 2 系统方案选择及论证.3 2.1 系统方案.3 2.1.1 主控制器的选择.3 2.1.2 电源模块的选择.4 2.1.3 角度信号采集模块的选择.4 2.1.4 A/D 转换模块的选择.4 2.1.5 驱动模块的选择.5 2.1.6 显示模块的选择.5 2.2 系统理论分析与计算.5 3 系统硬件设计与实现.6 3.1 系统硬件的基本组成.6 3.2 硬件电路模块设计.6 3.2.1 AT89C52 控制芯片设计.6 3.2.2 驱动模块电路设计.9 3.2.3 采集模块电路设计.10 3.2.4 显示模块电路设计.10 3.5 电源模块电路设计.11 3.5.1 直流稳压电源的基本原理.11 3.5.2 电源电路设计.13 4 软件设计.14 4.1 程序功能描述与设计思路.14 4.2 LCD 液晶显示的设计.14 4.3 角度控制流程图.
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号