基于单片机的空调温度控制系统设计

  • 格式:doc
  • 大小:5.45 MB
  • 文档页数:61

摘 要:自动控制领域中,温度检测与控制占有很重要地位

页脚内容I

基于单片机的空调温度控制系统

设计

作者姓名:杨耀武

专业名称:信息工程

指导教师:黄宇讲师 摘 要:自动控制领域中,温度检测与控制占有很重要地位

页脚内容I 摘要

在自动控制领域中,温度检测与控制占有很重要地位。温度测控系统在工农业生产、科学研究和在人们的生活领域,也得到了广泛应用。因此,温度传感器的应用数量居各种传感器之首。目前,温度传感器正从模拟式向数字集成式方向飞速发展。

本论文概述了温控器的发展及基本原理,介绍了温度传感器的原理及特性。分析了DS18B20温度传感器的优劣。在此基础上描述了系统研制的理论基础,温度采集等部分的电路设计,并对测温系统的一些主要参数进行了讨论。同时在介绍温度控制系统功能的基础上,提出了系统的总体构成。针对测温系统温度采集、接收、处理、显示部分的总体设计方案进行了论证,进一步介绍了单片机在系统中的应用,分析了系统各部分的硬件及软件实现。利用Proteus7.6进行了可行性的仿真,利用单片机开发板验证在实际电路中能起到的效果。试验证明,这套温度控制器具有较强的可操作性,很好的可拓展性,控制简单方便。

课题初步计划是在普通环境下的测温,系统的设计及器件的选择也正是在这个基础上进行的。

关键词:DS18B20 单片机 温度控制 1602液晶显示 摘 要:自动控制领域中,温度检测与控制占有很重要地位

页脚内容II Abstract

In the automatic control

area,temperature monitoring and controling

have a very important position. The

temperature monitoring system has a

wildly applying in industry, agriculture,

science reasearching and daily life of people.

Therefore, the number of applying of the

temperature monitoring comes first of all

kinds of sensor. At present, the

temperature monitoring is transformed

from analog type to digital integrated type

with a very fast speed.

This paper introduces the developing and

fundamental of the temperature monitoring,

including the character of this kind of

sensor. It also analyses the advantage and

disadvantage of the temperature

monitoring which named DS18B20. On that

basis, the paper also has a further analysis

of the theoretical basis of the system

developing and the circuit design of

temperature monitoring. Besides, some

discussions about the important

parameters also took on desk. At the same

time, the auther of this paper also puts

forward the composition of totality about 摘 要:自动控制领域中,温度检测与控制占有很重要地位

页脚内容III this system, which including the different

function of the thermometer system. Then a

detailed analysis which is about the applying

of Microcontrollers and the applying of

different parts made by different

hardwares and softwares in the system. In

order to check the maneuverability and the

expansibility of the Microcontrollers

system, the auther used Proteus 7.6 to do

the testing and got a pretty good result.

This system puts the temperature

measured in normal situation as a confirm

condition. All design and selection of

component is also based on this suppose.

keywords: DS18B20, Microcontrollers,

Temeperature Controling, 1602 Liquid

Crystal Display摘 要:自动控制领域中,温度检测与控制占有很重要地位

页脚内容IV 目录

摘要 .............................................................. I

Abstract .................................................. II

目录 ............................................................ IV

前言 .............................................................. 1

1 系统总体设计方案及功能 ...................................... 2

1.1 温度传感器产品分类与选择 ............................. 2

1.1.1 常用的测温方法 ..................................... 2

1.1.2 温度传感器产品分类 ................................ 2

1.1.3 温度传感器的选择 ................................. 4

1.2 总体方案的确定 ........................................ 6

1.3 系统实现框图 .......................................... 7

2 系统单元电路设计 ............................................ 7

2.1 系统工作原理 ........................................... 7

2.2 系统相关硬件及模块介绍 .............................. 8 摘 要:自动控制领域中,温度检测与控制占有很重要地位

页脚内容V 2.2.1 温度采集电路 ...................................... 8

2.2.2 信号处理与控制电路 .............................. 9

2.2.3 温度显示电路 ................................... 10

2.2.4 按键功能设置电路 ............................... 11

2.2.5 继电器控制电路 ................................. 12

2.2.6 存储数据电路 ................................... 13

2.2.7 报警、音乐电路 ................................. 13

2.2.8 电动机电路 ...................................... 13

3 仿真软件介绍 ............................................... 15

3.1 Keil uVision2软件 ............................ 15

3.2 Proteus软件 ................................... 16

4 系统硬件设计 ............................................... 18

5 系统软件设计 ............................................... 20

5.1 DS18B20数据通信概述 ........................... 20

5.2 LCD1602液晶数据显示概述 ..................... 23

5.2.1 接口信号说明 .................................... 23

5.2.2 控制器接口说明 ................................ 24