2010届毕业设计论文数字温度计

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

基于单总线温度传感器的温度检测系统设计12010届本科生毕业设计(论文)中文题目:基于单总线温度传感器的温度检测系统设计英文题目:TheTemperatureDetectionSystemDesignbasedonewirebustemperaturesensor专业应用电子技术专业方向电子产品应用与开发班级08应电学号2008209036学生姓名王宇鹏指导教师屈召贵教研室电气工程及其自动化四川师范大学成都学院2010年06月28日基于单总线温度传感器的温度检测系统设计2基于单总线温度传感器的温度检测系统设计摘要:温度是工业生产和自动控制中最常见的工艺参数之一。过去温度检测系统设计中,大多采用模拟技术进行设计,这样就不可避免地遇到诸如传感器外围电路复杂及抗干扰能力差等问题;而其中任何一环节处理不当,就会造成整个系统性能的下降。随着半导体技术的高速发展,特别是大规模集成电路设计技术的发展,数字化、微型化、集成化成为了传感器发展的主要方向。本文介绍了检测的基本概念,单总线数字温度传感器DS18B20及单片机AT89C2051的特性、内部结构及工作原理,给出了DS18B20与单片机AT89C2051接口的应用实例,以及由两者组成温度检测系统的方法,并给出了对DS18B20进行各种操作的软件流程图及操作程序。关键词:温度检测;单总线温度传感器DS18B20;单片机AT89C2051;汇编语言TheTemperatureDetectionSystemDesignbasedonewirebustemperaturesensorAbstract:Temperatureisthemostcommononeofprocessparametersinautomaticcontrolandindustrialproduction.Inthetraditionaltemperaturemeasurementsystemdesign,oftenusingsimulationtechnologytodesign,andthiswillinevitablyencountererrorcompensation,suchaslead,complexoutsidecircuit,pooranti-jammingandotherissues,andpartofadealwiththemImproperly,couldcausetheentiresystemofthedecline.Withmodernscienceandtechnologyofsemiconductordevelopment,especiallylarge-scaleintegratedcircuitdesigntechnologies,digital,miniaturization,integrationsensorsarebecominganimportantdirectionofdevelopment.Thispaperpresentsthebasicconceptofdetection,asingledigitaltemperaturesensorDS18B20thecharacteristicsandworkingprincipleisgivenDS18B20with89C2051MCUinterfaceapplicationexamples,andthecompositionofDS18B20temperaturedetectionsystem,andgivesthevariousoperationsoftheDS18B20Softwareflowchartandoperationprograms.Keyword:TemperatureDetection;DS18B20;AT89C2051;Assemblerlanguage基于单总线温度传感器的温度检测系统设计3目录中文摘要英文摘要1引言......................................................................51.1前言..................................................................51.2检测概述..............................................................51.3智能传感器概述........................................................51.4单总线系统概述.........................................................61.5智能温度传感器发展的新趋势................................................72数字温度传感器DS18B20....................................................92.1DS18B20概述...........................................................92.1.1性能特点..........................................................92.1.2内部结构.........................................................92.1.3管脚排列.........................................................102.1.4工作方式........................................................102.2DS18B20存储器及设置寄存器..........................................112.3DS18B20测温原理......................................................132.4DS18B20测温过程.....................................................152.5DS18B20使用注意事项..................................................173单片机AT89C2051.........................................................193.1AT89C2051概述........................................................193.2AT89C2051外部单元....................................................203.2.1引脚.............................................................203.2.2电源.............................................................213.3AT89C2051内部单元....................................................223.3.1结构框图.........................................................223.3.2运算器...........................................................223.3.3控制器...........................................................233.3.4存储器...........................................................243.4AT89C2051程序保密性能................................................243.5AT89C2051软硬件的开发................................................254温度检测系统设计........................................................264.1方案比较.............................................................264.2总体设计.............................................................264.3详细设计.............................................................274.3.1硬件原理图.......................................................274.3.2DS18B20与89C2051连线图.........................................274.3.3显示电路.........................................................284.3.4复位电路.........................................................285软件调试................................................................29基于单总线温度传感器的温度检测系统设计45.1系统流程..............................................................295.1.1对DS18B20操作流程图..............................................295.1.2初始化流程图......................................................305.1.3读操作流程图......................................................315.1.4写操作流程图......................................................325.1.5温度转换流程图...................................................335.2系统部分程序设计及分析...............................................335.2.1初始化子程序.....................................................335.2.2读子程序.........................................................345.2.3写子程序.........................................................355.2.4延时子程序........................................................366结论...................................................

1 / 52
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功