基于单片机的空调温度控制系统设计毕业论文(设计)word格式

2019-04-22 22:34

成都理工大学工程技术学院毕业论文

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

设计

作者姓名:杨耀武

专业名称:信息工程

指导教师:黄宇讲师

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

摘要

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

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

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

关键词:DS18B20 单片机 温度控制 1602液晶显示

- I -

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

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 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

- II -

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

目录

摘要 ............................................................................................................ I Abstract .................................................................................................. II 目录 ......................................................................................................... III 前言 ........................................................................................................... 1 1 系统总体设计方案及功能 ................................................................... 2

1.1 温度传感器产品分类与选择 ..................................................... 2 1.1.1 常用的测温方法 ................................................................... 2 1.1.2 温度传感器产品分类 ........................................................... 2 1.1.3 温度传感器的选择 ............................................................... 4 1.2 总体方案的确定 ......................................................................... 6 1.3 系统实现框图 ............................................................................. 6 2 系统单元电路设计 ............................................................................... 7

2.1 系统工作原理 ............................................................................. 7 2.2 系统相关硬件及模块介绍 ......................................................... 7 2.2.1 温度采集电路 ....................................................................... 7 2.2.2 信号处理与控制电路 ........................................................... 8 2.2.3 温度显示电路 ....................................................................... 9 2.2.4 按键功能设置电路 ............................................................. 10 2.2.5 继电器控制电路 ................................................................. 11 2.2.6 存储数据电路 ..................................................................... 11 2.2.7 报警、音乐电路 ................................................................. 12 2.2.8 电动机电路 ......................................................................... 12 3 仿真软件介绍 ..................................................................................... 14

3.1 Keil uVision2软件 .................................................................. 14 3.2 Proteus软件 ............................................................................ 15 4 系统硬件设计 ..................................................................................... 17 5 系统软件设计 ..................................................................................... 19

- III -

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

5.1 DS18B20数据通信概述 ........................................................ 19 5.2 LCD1602液晶数据显示概述 ................................................ 21 5.2.1 接口信号说明 ..................................................................... 21 5.2.2 控制器接口说明 ................................................................. 21 5.2.3 控制接口时序说明 ............................................................. 23 5.3 存储器24C02数据存储概述 ................................................ 24 5.3.1 I2C 总线的定义 ................................................................ 24 5.3.2 I2C 总线的时序 ................................................................ 24 5.3.3 数据传送 ............................................................................. 25 5.4 软件程序设计 ......................................................................... 25 6 仿真及实验结果 ................................................................................. 28

6.1 程序调试过程中遇到的问题及解决办法 ............................. 28 6.2 调试结果 ................................................................................. 28 总结 ......................................................................................................... 30 致谢 ......................................................................................................... 31 参考文献 ................................................................................................. 32 附件1 系统硬件电路图 ........................................................................ 33 附件2 系统软件程序 ............................................................................ 34

- IV -


基于单片机的空调温度控制系统设计毕业论文(设计)word格式.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:2018年电动汽车燃料电池发展现状及市场前景趋势分析(目录)

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: