基于单片机的锅炉设计.doc

约38页DOC格式手机打开展开

基于单片机的锅炉设计,2.3万字37页摘要本文列举了单片机在锅炉中的一个实际应用,并对设计的温度控制系统的组成及主要电路的作用进行了详细的介绍。文章介绍了用单片机控制的、基于数字温度传感器ds1820的温度测量和控制系统:重点阐述了ds1820的工作原理、指令系统、单片机与ds1820之间的接口、数据传递、通信协议。该系...
编号:10-33843大小:356.00K
分类: 论文>通信/电子论文

内容介绍

此文档由会员 刘丽 发布

基于单片机的锅炉设计
2.3万字 37页

摘 要

本文列举了单片机在锅炉中的一个实际应用,并对设计的温度控制系统的组成及主要电路的作用进行了详细的介绍。
文章介绍了用单片机控制的、基于数字温度传感器DS1820的温度测量和控制系统:重点阐述了DS1820的工作原理、指令系统、单片机与DS1820之间的接口、数据传递、通信协议。该系统采用单片机与数字温度传感器DS1820相结合,能够测量出-55℃-125℃之间的温度,同时还具有通过控制加热系统调节被测环境温度和对超限温度进行报警等功能。

关键词 温度传感器DS1820;单片机;硬件设计;软件设计


Abstract

Practical application of one-chip computer in heat-treatment furnace is listed,and detailed introduction is given to the compositionsand the main functions of temperature control system.
The paper introduces the temperature measurement and control system based on the DS1820. The author emphasizes on the working principle of the DS1820, instructionset, data transfer, the interface and the communication protocol between the DS1820 and single chip microcomputer. The system adopt single chi'p microcomputer combined with the DS1820,it can measure temperature between -55℃-125℃. The system not only can measure the temperature of the environment , but also can alarm when the temperature is beyond the rang of the safe temperature which is set.

Key words DS1820; Single Chip Microcomputer; tlardware Design; Software Design



目 录

第1章 绪 论
第2章 系统简介
2.1 系统的组成
2.1.1系统组成图
2.1.2 系统各部分工作原理
2.1.3 系统各部分功能
2.2 系统的工作过程
第3章 系统的硬件电路设计
3.1 微处理器的89C51的简介
3.1.1 引脚性能
3.2 DS1820的简介
3.2.1 DS1820功能块的详细说明
3.2.2 DS1820测温原理
3.2.3 DS1820使用中注意事项
3.3 控制电路设计
3.3.1主回路设计
3.3.2 键盘显示电路
3.3.3 接口电路
3.3.4温度控制电路
第4章 控制的算法
4.1 温度控制的PID算法
第5章 温度控制程序
5.1 总 述
5.2 主程序
5.3 T0中断服务程序CT0
5.4 子程序
致 谢
参考文献
附录1
附录2



参考文献
[5]《单片机外围电路设计》沙占友主编,电子工业出版社
[6] 陈明荧.8051单片机课程设计实训教材 北京:清华大学出版社
[7] 胡汉才.单片机原理及其接口技术 北京:清华大学出版社
[8] 徐淑华 程退安 姚万生 .单片机微型机原理及应用 哈尔滨工业大学出版社



附录1
本设计使用的单片机程序如下:
#include
//*************************
void INIT()
{
ADCON1=0X07;
TRISC=0X80;
TRISB=0X00;
TRISD=0X00;
RD1=0;
RD0=0;
......




附录2
温度传感器DS1820 的汇编程序
晶振:12M
TEMPER_L EQU 36H
TEMPER_H EQU 35H
TEMPER_NUM EQU 60H
FLAG1 BIT 00H
......