文档介绍:题目名称:
学院(部):
电气与信息工程学院
专业:
机电一体化技术
学生姓名:
班级:
学号
指导教师姓名:
职称
最终评定成绩:
湖南工业大学教务处
(2011届)
专科毕业设计(论文)
基于单片机控制的恒温箱设计
学院(部):
电气与信息工程学院
专业:
机电一体化技术
学生姓名:
刘勇
班级:
机电0821
学号08395182124
指导教师姓名:
周翔
职称讲师
最终评定成绩
2011年6年
摘要
本设计以单片机AT89c51为核心部件,采用单总线型数字式的温度传感器DS18B20作为温度采集,设计制作了带键盘输入控制,动态显示和越限报警功能的恒温控制系统。该系统既可以对当前温度进行实时显示,又可以对温度进行控制,并使其恒定在某一温度范围。控制键盘设计使设置温度简单快捷,两位整数一位小数的显示方式具有更高的显示精度。通过对系统软件和硬件的合理规划,发挥单片机自身集成多系统功能单元的优势,在不减少功能的前提下有效降低了成本,系统操作简便。
关键词:单片机,恒温控制,AT89C51,DS18B20,精度
ABSTRACT
This design with single-chip puter AT89c51 as the ponent with single bus-control digital temperature sensor DS18B20 as temperature gathering, design with a keyboard input control, the dynamic display and the limit alarm function of temperature control system. This system not only can real-time display of the current temperature and temperature control, and make its constant in a certain temperature range. Control the keyboard design makes set temperature simple and quick, two integer a decimal display mode has higher precision of the show. Through the system software and hardware reasonable planning, play microcontroller itself more system function unit integrated advantage, in not reduce functionality premise to reduce the cost and system easy operation.
Key words: single-chip ,puter temperature control, AT89C51 single chip ,DS18B20 ,precision
目录
第1章绪论 1
课题背景 1
国内外恒温控制技术发展现状及趋势 1
国外恒温控制的发展现状及趋势 1
国内恒温控制的发展现状及趋势 2
设计任务 2
设计目的 2
系统设计技术指标 3
系统功能 3
第2章恒温控制系统总体方案设计 4
4
一位式的模拟控制方案 4
二位式的模拟控制方案 4
PID算法控制方案 5
恒温控制系统工作原理 6
第3章恒温控制系统硬件设计 7
CPU主控模块 7
 AT89C51单片机简介 7
AT89C51各引脚功能说明 7
AT89C51单片机主要性能参数 8
8
温度采集模块 9
DS18B20的特点 9
DS18B20内部结构 11
DS18B20的内存结构 11
温度传感器DS18B20的测温原理 12
DS18B20的指令集 13
DS18B20与单片机的接口电路 14
按键输入电路 16
继电器模块 17
固态继电器SSR工作原理 17
固态