基于单片机的智能风扇控制系统论文
- 格式:doc
- 大小:436.93 KB
- 文档页数:36
摘 要
随着现代信息技术的飞速发展,温度测量控制系统在工业、农业及人们的日常生活中扮演着一个越来越重要的角色,它对人们的生活具有很大的影响,所以温度采集控制系统的设计与研究有十分重要的意义。
近年来,电风扇增设了各种新功能,既彰显了个性,也在无形中提高了档次。电风扇起停的自动控制,能够解决夏天人们晚上熟睡时,由于夜里温度下降而导致受凉,或者从睡梦中醒来亲自开关电风扇的问题,具有重要的现实意义。从此目的出发,本文介绍了一种基于AT89C51单片机的电风扇智能调速器的设计,该设计以AT89C51控制器为核心,巧妙利用温度传感器电路,及时而准确的采集环境温度,利用双向晶闸管对电机进行无级调速,把智能控制技术用于家用电器的控制中,用人体周围的环境温度对风扇进行温控。
关键字:电风扇,单片机,温度传感器,数码管
Smart fan control system based on single chip microcomputer
Author: Yang wanli
Tutor: He hongli
Abstract
With the rapid development of modern information technology, temperature measuring
control system play an increasingly important role in industry, agriculture and People's Daily
life. It has a great influence on people's lives, so the design of the control system of
temperature acquisition and research has the very vital significance.
In recent years, Electric fans added lots of new features . It doesn’t reveal the individual character, but in virtually it also improves the level. The automatic control of fan’s start and
stop can solve the problem which when people are sleeping at night in summer, due to
temperature drop and lead to catch cold at night, or waking from sleep to switch electric fan,
so it has important practical significance . Therefore, the paper introduces the design of
electric fan intelligent governor based on AT89C51 . The design uses AT89C51 controller as
the core, skillfully using temperature sensor circuit timely and accurately to collect
environment temperature, and using the two-way thyristor to stepless speed regulation of
motor. The intelligent control technology is used in home appliances control, and uses the
human body environment temperature to realize the control of temperature of fan.
Key words: Fan,Single chip microcomputer , The temperature sensor ,Nixietube
目 录
1绪论 ......................................................................................................................................... 1
2芯片介绍 ................................................................................................................................. 2
2.1 AT89C51单片机介绍 .................................................................................................... 2
2.2 温度传感器DS18B20介绍 ........................................................................................... 5
3 硬件电路及系统原理分析 .................................................................................................... 8
3.1 系统总体设计 ................................................................................................................ 8
3.2 功能描述 .......................................................................................................................... 8
3.3 单片机最小系统电路 .................................................................................................... 10
3.4 键盘控制电路 ................................................................................................................ 11
3.5数码管显示电路 ............................................................................................................. 12
3.6 电机调速电路 .............................................................................................................. 13 3.6.1 电机调速原理 ................................................................ 13
3.6.2 电机控制模块设计 ............................................................ 14
3.7 报警电路 ........................................................................................................................ 15
4 控制器软件设计 ................................................................................................................ 16
4.1 主程序 .......................................................................................................................... 16
4.2 温度传感器模块 .......................................................................................................... 17
4.3 电机调速与控制子模块 .............................................................................................. 18
5仿真结果 ............................................................................................................................... 20
结论 .......................................................................................................................................... 23
致谢 .......................................................................................................................................... 24
参考文献 .................................................................................................................................. 25
附录 .......................................................................................................................................... 26