基于单片机的空调温控器毕业论文 联系客服

发布时间 : 星期五 文章基于单片机的空调温控器毕业论文更新完毕开始阅读21b64dc5d5bbfd0a79567372

摘 要

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

本论文概述了温控器的发展及基本原理,介绍了温度传感器的原理及特性。分析了各种温度传感器的优劣。在此基础上描述了系统研制的理论基础,温度采集等部分的电路设计,并对测温系统的一些主要参数进行了讨论。同时在介绍温度控制系统功能的基础上,提出了系统的总体构成。针对测温系统温度采集、接收、处理、显示部分的总体设计方案进行了论证,进一步介绍了单片机在系统中的应用,分析了系统各部分的硬件及软件实现。

本控制电路是以AT89C51单片机为控制核心。整个系统硬件部分包括温度采样电路,自激式A/D转换器,按键电路,驱动电路,时序电路,和8段译码器,LED数码显示器。在配合用汇编语言编制的程序使软件实现,实现空调温度智能转换的基本功能。本控制电路成本低廉,功能实用,操作简便,有一定的实用价值。本文从3个方面展开论述,首先是硬件电路的描述;接着软件部分的设计;最后实现功能。

关键词:AT89C51单片机 温度控制 LED数码显示

ABSTRACT

In the field of automatic control, temperature detection and control of a very important position. Temperature monitoring and control system, have been widely used in the industrial and agricultural production, scientific research and in the field of people's lives. Therefore, the number of temperature sensor applications of various sensors of the first home. At present, the temperature sensor is moving from analog to digital integrated direction in the rapid development.

This paper provides an overview of temperature controller and the basic principles of development, introduced the principle of temperature sensor and characteristics. Analysis of the merits of the various temperature sensors. On this basis describes the theoretical basis for system development, acquisition, such as temperature part of the circuit design, measurement and some of the key parameters of the system are discussed. At the same time, introducing the function of the temperature control system based on the overall composition of the system. Temperature measurement system for collecting, receiving, processing, display part of the overall design of the demonstration program, and further introduced the single-chip applications in the system, analysis of the various parts of the system hardware and software.

This paper describes a single-chip microcomputer AT89C51 as the core temperature of the air-conditioning control system. The system is measured in the general environment to determine the value of the temperature conditions, the use of single-chip microcomputer to control air-conditioning refrigeration and heating system to achieve the required temperature. Preliminary plan is to issue under the ordinary temperature, the system design and choice of devices is also on this basis. Key words: AT89C51single-chip Temperature Control LED display

目 录

第1章 引言.............................................................. 1 第2章 系统总体设计方案.................................................. 2 2.1 课题背景............................................................. 2 2.2 单片机选择与论证..................................................... 2 2.3 显示器件选择与论证................................................... 2 2.4 所选器件的分析....................................................... 3 2.5 空调温控器的功能设计................................................. 4 2.6 理论分析与计算....................................................... 7 2.7 数模转换器........................................................... 8 第3章 系统硬件设计..................................................... 10 3.1 显示电路............................................................ 10 3.2 权电路.............................................................. 11 3.3 输出电路............................................................ 11 3.4 按键电路............................................................ 12 3.5 驱动电路............................................................ 12 3.6 温度采集电路........................................................ 13 3.7 压缩机驱动电路...................................................... 15 3.9 A/D转换电路 ........................................................ 16 3.10 温度采集........................................................... 17 第4章 系统软件设计..................................................... 18 4.1 软件设计思路........................................................ 18 4.2 程序流程框图........................................................ 19 4.3 AD590数据通信概述 .................................................. 21 4.4程序内容编写 ........................................................ 22 结论.................................................................... 26 参考文献................................................................ 27 附录.................................................................... 28 致谢.................................................................... 30

I

北京印刷学院毕业设计(论文)

第1章 引言

现代信息技术的三大基础是信息采集控制(例如本次研究涉及到的温度控制器技术)、信息传输(通信技术)和信息处理(计算机技术)。温度控制器属于信息技术的前沿尖端产品,尤其是温度控制器被广泛用于工农业生产、科学研究和生活等领域,数量日渐上升。近百年来,温控器的发展大致经历了以下两个阶段:(1)模拟,集成温度控制器;(2)智能数码温控器。目前,国际上新型温控器正从模拟式向数字式,由集成化向智能化,网络化的方向发展。

温度控制器是一种温度控制装置,它根据用户所需温度与设定温度之差值来控制中央空调末端之水阀(风阀)及风机,从而达到改变用户所需温度的目的。实现以上目的的方法理论上有很多,但目前业界主要有机械式温度控制器及智能电子式两大系列。

普通风机盘管空调温控器基本上是一个独立的闭环温度调节系统,主要由温度传感器、双位控制器、温度设定机构、手动三速开关和冷热切换装置组成。其控制原理是空调温控器根据温度传感器测得的室温与设定值的比较结果发生双位控制信号,控制冷热水循环管路电动水阀(两通阀或三通阀)的开关,即用切断和打开盘管内水流循环的方式,调节送风温度(供冷量)。 第一代空调温控器主要是电气式产品,空调温控器的温度传感器采用双金属片或气动温包,通过“给定温度盘”调整预紧力来设定温度,风机三速开关和季节转换开关为泼档式机械开关。这类空调温控器产品普遍存在“温度设定分度值过粗”、“时间常数太大”、“机械开关易损坏”等问题。

第二代空调温控器为电子式产品,温度传感器采用热敏电阻或热电阻,部分产品的温度设定和风速开关通过触摸键和液晶显示屏实现人机交互界面,冷热切换自动完成,运算放大电路和开关电路实现双位调节。这类智能空调温控器产品改善了人机交互界面,解决了“温度设定分度值过粗”等问题,但仍存在“控制精度不高”、“时间常数大”、“操作较复杂”等问题。

目前国内外生产厂家正在研究开发第三代智能型室温空调温控器,应用新型控制模型和数控芯片实现智能控制。现在已有国内厂家生产出了智能型室温空调温控器,并已应用于实际工程。

1