本科毕业设计(论文)
基于单片机的电风扇模拟自然风控制器设计
学院电子信息工程学院专业电气工程及其自动化年级班别13电气工程及其自动化学号2013402040125学生姓名胡长新
2017年3月21日
I
f摘要
随着社会的不断发展,科技的不断进步,人们对于电风扇的选择也变得更苛刻了,面临着强大的竞争力,电风扇想要在市场上取得一席之地就必须变得更加人性化,更加智能化。因此,模拟自然风的电风扇就会越来越被重视,从而被广泛的应用。本文设计的是基于单片机的电风扇模拟自然风控制器,通过使用STC12C5A60S2单片机来输出PWM波,并由两个BTS7960芯片组成一个H桥驱动电路来驱动电风扇电机转动。该设计能够实现控制风扇的扇叶由停止→慢慢转动→快速转动→慢速转动→停止进行这种周期性的转动,而且能够对这个周期的时间进行调节。这样风扇就可以模拟成自然风了,给人们带来了更好的舒适感。关键词:单片机;PWM波;H桥驱动电路;模拟自然风
II
fAbstract
Withtheco
ti
uousdevelopme
tofsocietytheprogressofscie
cea
dtech
ologypeopleschoiceforelectricfa
hasbecomemoreseverefaci
gstro
gcompetitio
theelectricfa
tomakeaspaceforo
eperso
i
themarketmustbecomemorehuma
emorei
tellige
tThereforethesimulatio
of
aturalwi
dfa
swillbemorea
dmoreatte
tio
whichiswidelyusedThispaperisthedesig
ofMCUsimulatio
aturalwi
dco
trollerforelectricfa
basedo
STC12C5A60S2MCUbyusi
gPWMwaveoutputa
dbytwoBTS7970chipiscomposedofaHbridgedrivi
gcircuittodrivetheelectricfa
motorrotatio
Thedesig
oftheutilitymodelca
realizetheco
trolofthefa
bladefromthestoptotheslowrotatio
thefastrotatio
theslowrotatio
a
dtheperiodicrotatio
a
dca
adjustthetimeofthecycleSothatthefa
ca
simulatethe
aturalwi
dtobri
gpeopleabetterse
seofcomfortKeywordssi
glechip;PWMwave;Hbridgedrivercircuit;simulatio
of
aturalwi
d
III
f目录
1绪论111选题的依据和意义112本设计需实现的功能12系统设计总体方案221风扇的功能需求分析222系统方案论证r