基于单片机的红外测温仪的设计毕业设计
基于单片机的红外温度计设计

大学毕业论文(设计)大学毕业论文(设计)x x x x x x x x x 大学学位论文 基于单片机的红外温度计系统 姓名: 专业: 学院: 指导教师: 提交日期:2017年月日大学毕业论文(设计)大学毕业论文(设计)摘 要要随着社会的进步和发展,人们越来越重视身体健康,同时技术的进步,各种现代化电子设备在各个领域应用越来越广,电子计算机也越来越普及,在医疗领域,温度计应用非常广泛,但是传统的温度计读数不准,温度示数读取不方便,特别是一些老人,更是不能独自使用传统温度计,针对这种情况,本课题设计研究了一款基于单片机的红外温度计。
该系统的主要功能是通过红外传感器非接触检测人体温度,根据软件中对报警温度的设置,检测的温度超过37度,蜂鸣器就会报警。
系统的硬件组成部分主要包括单片机控制器,非接触式TN901红外测温传感器、lcd1602液晶显示、蜂鸣器电路等部分。
软件部分是利用单片机C 语言编程,C 语言入门简单,编程效率较高,方便移植,复用性良好,系统软件编程均为函数化设计,方便了功能逻辑实现。
当系统开始工作时,传感器采集的信号传送到单片机中,单片机经过处理后,将温度信息显示在液晶上。
利用该系统能够方便的检测人体温度,具有方便快捷的优点,在电子设备迅速普及应用的今天,该系统具有广泛的实际应用价值,在后期逐渐完善功能后,通过进一步推广,能够带来可观的经济效益。
带来可观的经济效益。
关键词:红外传感器,单片机,蜂鸣器电路,液晶显示红外传感器,单片机,蜂鸣器电路,液晶显示大学毕业论文(设计)大学毕业论文(设计)ABSTRACTWith the social progress and development, people pay more and more attention to health at the same time, the progress of technology, modern electronic equipment used in various fields more and more widely, computer is more and more widely used in the medical field, the thermometer is widely used, but the traditional thermometer temperature allowed, shows the number of reads is not convenient, especially some the old man is not alone, the use of traditional thermometer, in view of this situation, the design of an infrared thermometer based on mcu. The main function of the system is to detect the human body temperature by non-contact infrared sensor, according to the setting of the alarm temperature in the software, the detection temperature of more than 37 degrees, the buzzer will alarm. The hardware of the system mainly includes MCU controller, non-contact TN901 infrared temperature sensor, LCD1602 LCD display, buzzer circuit and so on. Part of the software is the use of single-chip C language programming, C language entry is simple, high programming efficiency, easy to transplant, good reusability, system software programming are functional design, facilitate the realization of functional logic. When the system starts to work, the signal collected by the sensor is transmitted to the microcontroller, and the temperature information is displayed on the lcd. The system can detect the temperature of the human body has the advantages of convenient, fast and convenient, rapid popularization and application in electronic devices today, the system has a broad application value in the later gradually improve the function, through further promotion, can bring considerable economic benefits.Keywords: infrared sensor, MCU, buzzer circuit, liquid crystal display大学毕业论文(设计)大学毕业论文(设计)目 录录摘要摘要 ............................................................... ............................................................... I ABSTRACT .......................................................... II 目录目录 ............................................................. .............................................................III 第一章引言第一章引言 ......................................................... .........................................................1 1.1 研究背景和意义研究背景和意义.................................................. 1 1.2 体温计发展现状体温计发展现状.................................................. 1 1.3 本课题的研究内容本课题的研究内容................................................ 1 1.4 本文结构本文结构........................................................ 2 第二章设计方案第二章设计方案 ..................................................... .....................................................3 2.1 主控芯片设计方案主控芯片设计方案................................................ 3 2.2 显示电路设计方案显示电路设计方案................................................ 3 第三章硬件电路设计第三章硬件电路设计 ................................................. .................................................5 3.1 系统结构系统结构........................................................ 5 3.2 主控芯片电路主控芯片电路.................................................... 5 3.2.1 单片机概述单片机概述 ................................................. .................................................5 3.2.2 单片机的构成特性单片机的构成特性 ........................................... ...........................................6 3.2.3 晶振电路晶振电路 ................................................... ...................................................7 3.2.4 复位电路复位电路 ................................................... ................................................... 8 3.3 液晶显示电路液晶显示电路.................................................... 9 3.4 系统USB 电源电路电源电路............................................... 11 3.5 红外传感器电路红外传感器电路................................................. 12 第四章软件设计第四章软件设计 .................................................... ....................................................13 4.1 主程序软件设计主程序软件设计................................................. 13 4.2 液晶显示设计液晶显示设计................................................... 14 4.2 红外测温软件设计红外测温软件设计............................................... 16 4.3液晶驱动流程图液晶驱动流程图................................. 错误!未定义书签。
毕业设计(论文)基于STC89C51单片机非接触式红外测温仪设计

非接触式红外测温仪设计摘要温度测量技术应用十分广泛,而且在现代设备故障检测领域中也是一项非常重要的技术。
但在某些应用领域中,要求测量温度用的传感器不能与被测物体相接触,这就需要一种非接触的测温方式来满足上述测温需求。
本论文正是应上述实际需求而设计的红外测温仪。
红外测温仪是以黑体辐射定律作为理论基础,是光学理论和微电子学综合发展的产物。
与传统的测温方式相比,具有响应时间短、非接触、不干扰被测温场、使用寿命长、操作方便等一系列优点。
本文介绍了红外测温仪测温的基本原理和实现方法,提出了以STC89C51单片机为其核心控制部件的红外测温系统。
详细介绍了该系统的构成和实现方式,给出了硬件原理图和软件的设计流程图。
该系统主要由光学系统、光电探测器、显示输出等部分组成。
光学系统汇集其视场内目标的红外辐射能量,红外能量聚焦在光电探测仪上并转变为相应的电信号。
STC89C51单片机负责控制启动温度测量、接收测量数据、并按照单片机中的温度值计算算法计算出目标的温度值再通过LED把结果显示出来。
关键词: STC89C51单片机,红外测温,LED显示THE DESIGN OF NON-CONTECT INFRAREDTHERMOMETERABSTRACTThe technology of temperature measurement is used widespread, and it also important in the modern equipment failure examination field. But in some application domains, we needn’t the sensor contact with the measured object which used in temperature measurement, this needs a kind of non-contact temperature measurement to satisfies the demand and the design of this infrared thermometer is also based on the demand.Infrared thermomter, it uses the blackbody radiation laws as the theories foundation, it is the outcome that the optical theories and micro-electronics learn a comprehensive development. Compared to the way of traditional temperature measurement, it has a series of merits, such as short in response time, non-contact, noninterference to temperature field, long useful time and convenient operation, etc.The paper introduces the basic principle of infrared thermometer and the method of realization, puts forward infrared trermometer system with the STC89C51 MCU as the CPU. The paper introduces the composing and the method of that system in detail, and gives the hardware principle diagram and the design flow chart of the software. The system formed by the optical system, photoelectron detector,display and output partially. The optical system collects the infrared radiation energy of the object in its field of view, the infrared energy focusing on the instrument and transforms to the corresponding electrical signal. The STC89C51 MCU is used to start the temperature survey, data receive, count the value of the object temperature based on the arithmetic with in MCU and the result is displayed on LED.KEYWORDS: The STC89C51 MCU, infrared radiation thermometry, the LED display前言 (1)第一章红外测温系统的设计背景及方案介绍 (2)§1.1温度测量技术的概述 (2)§1.2红外测温原理及方法 (3)§1.3 红外测温系统的方案介绍 (5)第二章红外测温系统的硬件设计 (7)§2.1 单片机处理模块 (7)§2.2红外测温模块 (10)§2.4 RS232A转换电路模块 (12)§2.5 电源模块 (13)§2.6 键盘模块 (14)§2.7 LED显示模块 (14)第三章红外测温系统的软件设计 (17)§3.1 主程序模块的设计 (17)§3.2 红外测温程序模块 (18)§3.3键盘扫描程序模块 (20)§3.4 显示程序模块 (22)总结 (23)参考资料 (24)致谢 (24)附录 (24)英文翻译 (26)温度是确定物质状态的重要参数之一,它的测量与控制在国防、军事、科学研究以及工农业生产中占有十分重要的地位。
基于单片机的红外测温仪的设计毕业设计

1摘要为了克服传统温度计测量温度的主要缺点——需要测量者与被测目标近距离接触和测量不方便,在顾及仪器测量高精度前提下,以追求最低成本为原则,研制了非接触式热释电红外测温仪,实现了对物体表面温度快速准确的测量。
本文主要设计了红外测温仪的整体系统构架,根据热释电原理,主要针对人体体温测量进行了具体的设计开发,包括整体方案,总体电路及各单元电路的设计,软件设计,硬件焊接及系统调试,并利用设计出来的红外测温仪在环境温度30℃下对人体温度进行了测量,对人体的温度测量的误差低于±0.1℃,提高了测量精度。
红外测温仪的设计主要为适应人体体温快速无接触测量的需要。
此外还介绍了热释电红外传感器的工作原理以及比较适合人体红外检测的热释电传感器PM611的优点和等效电路,阐述了基于热释电传感器的红外测温仪的工作原理,讨论了该系统的设计与实现方法,简单介绍了测温系统的适用条件。
关键词:温度测量热释电PM611AbstractTo decrease the limitation of traditional method of temperature measuring such as close contact between measurer and the target and inconvenience when measuring, we developed a non-contact type piezoelectric infrared thermometer, realizes fast and accurate surface temperature measurements. This article also designed the overall system architecture infrared thermometer. Then under the piezoelectric principle, aimed at human body temperature measurement for a specific design, development including hardware, peripherals technology, SCM, and the host program . Designed by using the infrared thermometer at ambient temperature 30℃on the human body were measured on the human body temperature measurement error is less a ±0.1℃improve the measurement accuracy. This thermometer mainly applies to no-contact, speedy body-heat measurement. This article mainly introduces operational principles of piezoelectric infrared sensor and the structure of hydroelectrically sensor PM611.It formulates the theory of the thermometer based on hydroelectrically sensor and studies how to design and implement of the system.Finally,it indicates the conditional demand of the system.Keywords: Temperature Measurement Piezoelectrically PM611毕业设计(论文)原创性声明和使用授权说明原创性声明本人郑重承诺:所呈交的毕业设计(论文),是我个人在指导教师的指导下进行的研究工作及取得的成果。
基于单片机实现红外测温仪设计

\\\\\\\\\攀枝花学院本科毕业设计(论文)基于单片机实现红外测温仪设计学生姓名: XXXX学生学号: ************院(系):电气信息工程学院年级专业: 2010级电子信息工程指导教师:伍刚教授二〇一四年五月摘要温度的测量应用十分广泛。
测温方式一般可分为接触式和非接触式。
接触式测温优点是简单、可靠、测量精度高,但它必须让它的测温传感器和被测物体接触测量它们之间达到热平衡之后的温度,所以缺点是响应时间长。
而且在很多应用领域中要求测量温度的传感器不能与被测物体接触,这就需要一种非接触式的测温方式来满足要求。
红外测温是根据被测物体的红外辐射能量来确定物体温度的,不需和被测物体接触且具有不影响被测物体温度场、温度分辨率高、响应速度快、测温范围广、稳定性好等特点。
本论文正是应上述实际需求而设计的红外测温仪。
本文介绍了红外测温仪测温的基本原理和实现方法,提出了以STC89C51单片机为其核心控制部件的红外测温系统。
详细介绍了该系统的实现方式和构成,给出了软件的设计流程图和硬件原理图。
该系统主要红外测温传感器、时钟芯片、单片机、液晶显示、电源管理等部分组成。
红外测温传感器汇集其视场内目标的红外辐射能量并把红外能量聚焦在光电探测仪上并转变为相应的电信号。
STC89C51单片机负责控制启动接受时钟电路的时钟信号、温度测量、接收测量数据、并按照单片机中的温度值计算算法计算出目标的温度值和日期时间再通过LCD把结果显示出来。
关键词:单片机,红外测温,设计ABSTRACTTemperature measurement is widely used. Temperature measurement methods can be divided into contact and non -contact . Contact temperature advantage is simple, reliable, high accuracy, but the temperature sensor and the object it must be allowed to reach a temperature of -contact measurement after thermal equilibrium between them, so the disadvantage is that the response time is long . And in many fields of application is not required to measure a temperature sensor in contact with the measured object , which requires a non-contact temperature measuring method to meet the requirements. Infrared temperature measurement is to determine the temperature of the object based on the object 's infrared radiation energy , and the object without touching the object and has no impact on the temperature field, temperature , high resolution, fast response, wide temperature range, stable good characteristics . This paper is designed to be above the actual needs of the infrared thermometer .This paper introduces the basic principle and method of infrared thermometer temperature measurement is proposed to STC89C51 microcontroller core control components for infrared temperature measurement system . Details of the implementation and composition of the system , given the software and hardware design flow diagram . The system is mainly infrared temperature sensor , clock chip, microcontroller, LCD , composed power management section. Infrared temperature sensor brings together its field of infrared radiation energy targets and the infrared energy is focused on the photoelectric detector and converted into a corresponding electrical signal . STC89C51 SCM is responsible for controlling start accepting clock circuit clock signal , temperature measurement, receive measurement data and calculation algorithm to calculate the target temperature and the date and time according to the microcontroller temperature value then the results are displayed via LCD .Keywords: microcontroller, infrared temperature measurement, design目录摘要 (I)ABSTRACT (II)目录 (II)1绪论 (1)1.1本课题的研究背景和意义 (1)1.2本课题的研究现状与发展趋势 (1)1.3设计的目的和意义 (3)1.4本课题研究的内容 (3)1.5 本课题设计的任务 (4)2方案分析与选择 (5)2.1设计方案 (5)2.2方案论证 (6)3系统的硬件设计 (7)3.1单片机模块 (7)3.2红外测温模块 (10)3.2.1红外测温仪的原理和性能分析 (10)3.2.2MLX90614的特性 (15)3. 2 .3MLX90614引脚及其功能 (15)3.2.4 MLX90614 原理图 (16)3.3 DS1302时钟模块 (16)3.4电源模块 (18)3.5 LCD显示模块 (18)4 系统的软件设计 (22)4.1 软件的设计架构 (22)4.2 主控程序 (22)4.3应用模块 (23)4.3.1 MLX90614部分软件设计 (23)4.3 .2DS1302部分软件设计 (25)5系统仿真 (26)5.1软件介绍 (26)5.1.1 keil介绍 (26)5.1.2protues介绍 (31)5.1.3 DXP介绍 (32)5.2仿真图 (34)6、PCB板 (35)7系统调试 (36)7.1电路的组装 (36)7.1硬件调试、 (36)7.2软件调试 (37)7.3软硬件联合调试 (37)结论 ........................................................................................ 错误!未定义书签。
基于单片机的红外线测温仪的设计

(二二 〇 一 三 年 十二 月科研训练学校代码: 10128 学 号:题 目:基于单片机的红外线测温仪的设计 学生姓名:X X X学 院:信息工程学院 系 别:电子系 班 级:通信10-1班 指导教师:基于单片机的红外线测温仪的设计XXX(内蒙古工业大学信息工程学院内蒙古呼和浩特10080)摘要:为了克服传统温度计测量温度的主要缺点——需要测量者与被测目标近距离接触以及测量不方便。
在考虑仪器测量高精度前提下,以追求最低成本为原则,研制了基于单片机的非接触式热释电红外测温仪,实现了对物体表面温度快速准确的测量。
本文也设计了红外测温仪的整体系统构架,介绍一种采用51单片机和TN系列传感器实现红外测温。
红外测温打破了传统的接触式测温模式,它根据被测物体的红外辐射能量来确定物体的温度,不与被测物体接触,具有不扰动被测物体温度分布场,温度分辨率高、响应速度快、测温范围广,稳定性好、可同时测量环境温度和目标温度的特点。
此外还介绍了热释电红外传感器的工作原理以及比较适合人体红外检测的热释电传感器PM611的优点和等效电路,阐述了基于热释电传感器的红外测温仪的工作原理,讨论了该系统的设计与实现方法,简单介绍了测温系统的适用条件。
关键词:温度测量;单片机;红外线;非接触式热释电中图分类号:TP212.11 文献标识码:ADesign of infrared thermometer based on single chip microcomputerXXX(Information Engineering Institute,Inner Mongolia University of Technology,Inner Mongolia,Hohhot,10080,China)Abstract: To decrease the limitation of traditional method of temperature measuring such as close contact between measurer and the target and inconvenience when measuring, we developed a non-contact type piezoelectric infrared thermometer, realizes fast and accurate surface temperature measurements. This article also designed the overall system architecture infrared thermometer,introduces a 51 single-chip microcomputer and TN series sensor was adopted to realize infrared measuring temperature. Infrared measuring temperature broke the traditional contact-type temperature measurement model, based on the infrared radiation energy of the object to be tested to determine the temperature of the object, not contact with the object under test, with no disturbance temperature distribution field object to be tested, the temperature of high resolution, fast response, wide temperature range, good stability, can simultaneously measure the environment temperature, and the characteristics of the target temperature.This article mainly introduces operational principles of piezoelectric infrared sensor and the structure of hydroelectrically sensor PM611.It formulates the theory of the thermometer based on hydroelectrically sensor and studies how to design and implement of the system.Finally,it indicates the conditional demand of the system.Key words: temperature measurement; single chip microcomputer; infrared; non-contact type piezoelectric由于医学发展的需要,在很多情况下,一般的温度计已经满足不了快速而又准确的测温要求,例如车站和机场等人口密度较大的地方进行人体温度测量。
51单片机-毕业设计基于单片机设计的红外线遥控器

ping primary school fire safety systems to e nha nce fire safety, prote ction of public property and t he life and property safety of teacher s and students, school fire safety into day-to-day ma nagement, is devel opi ng the following fire safety system. 1, strengt hen fire safety educati on of the whole school. Accordi ng to the re quireme nts of the Fire S ervices A ct, so t hat everyone has of keeping fire control safety, pr otecting fire control facilities, fire preve ntion, reports of fire学生毕业设计(论文)报告系别:专业:班号:学生姓名:学生学号:设计(论文)题目:基于单片机设计的红外线遥控器指导教师:设计地点:起迄日期:ping primary school fire safety systems to e nha nce fire safety, prote ction of public property and t he life and property safety of teacher s and students, school fire safety into day-to-day ma nagement, is devel opi ng the following fire safety system. 1, strengt hen fire safety educati on of the whole school. Accordi ng to the re quireme nts of the Fire S ervices A ct, so t hat everyone has of keeping fire control safety, pr otecting fire control facilities, fire preve ntion, reports of fire常州信息职业技术学院电子与电气工程学院毕业设计论文毕业设计(论文)任务书专业电子信息工程班级电子085 姓名傅浩一、课题名称:基于单片机设计的红外线遥控器二、主要技术指标:1.遥控距离:0~10m2.额定工作电压:直流3V(普通5号干电池2节);红外光平均辐照度≥40μW/cm2;指向性(辐照度为20μW/cm2)≥30度3.欠压条件下(直流2.4v):红外光平均辐照度≥20μW/cm2,指向性(辐照度为10μW/cm2)≥30度三、工作内容和要求:1.以AT89C2051单片机作为核心,综合应用了单片机中断系统、定时器、计数器等知识,应用红外光的优点2.遥控发射器通过对红外光发射频率的控制来区别不同的操作3.遥控接收器通过对红外光接收频率的识别,判断出控制操作,来完成整个红外遥控发射、接收过程四、主要参考文献:[1] 梅丽凤,王艳秋,张军等. 单片机原理及接口技术,北京:清华大学出版社,2004年.[2] 戴峻峰,付丽辉. 多功能红外线遥控器的设计,传感器世界.2002,8(12):16~18.[3] 李光飞,楼然苗,胡佳文等. 单片机课程设计实例指导,北京:北京航空航天出版社,2004年.[4] 苏长赞. 红外线与超声波遥控,北京:人民邮电出版社.1995年.学生(签名)2010 年 5 月7 日指导教师(签名)2010 年5 月10 日教研室主任(签名)2010 年5 月10 日系主任(签名)2010 年5 月12 日ping primary school fire safety systems to e nha nce fire safety, prote ction of public property and t he life and property safety of teacher s and students, school fire safety into day-to-day ma nagement, is devel opi ng the following fire safety system. 1, strengt hen fire safety educati on of the whole school. Accordi ng to the re quireme nts of the Fire S ervices A ct, so t hat everyone has of keeping fire control safety, pr otecting fire control facilities, fire preve ntion, reports of fire毕业设计(论文)开题报告设计(论文)题目基于单片机设计的红外线遥控器一、选题的背景和意义:随着社会的发展、科技的进步以及人们生活水平的逐步提高,各种方便于生活的遥控系统开始进入了人们的生活。
基于单片机的红外感应器设计[毕业论文]
![基于单片机的红外感应器设计[毕业论文]](https://img.taocdn.com/s3/m/6b4652ff6c175f0e7dd137bf.png)
基于单片机的红外感应器设计[毕业论文] 支持正版,从我做起,一切是在为了方便大家~知识就是力量~绝密文件,核心资料,拒绝盗版,支持正版,从我做起,一切是在为了方便大家~知识就是力量~绝密文件,核心资料,拒绝盗版,浙江万里学院(2013届)论文题目基于单片机的红外感应器设计(英文) Infrared Sensors Circuit Design based onSingle-chip Microcomputer所在学院电子信息学院专业班级通信工程093 学生姓名学号 09017437 指导教师职称完成日期 2013 年 4 月 27 日摘要传感器是一种能将检测到的信息按一定规律转换成为电信号或其他所需形式的信息输出的检测装置,而红外感应器是现在市面上应用比较广泛的一种感应器,它是一种用红外线作为介质的测量系统,不仅在现代科技,国防和工农业等领域得到了广泛的应用,连在我们日常生活中也常常存在它的身影,比如商场里的感应水龙头,自动干手器,报警器等都用到了红外感应器。
本文就提出了了一个基于单片机的红外感应器,本设计介绍了由51单片机来构成整个设计的主控芯片的红外感应器,该设计除了具备最基本的语音提示外,还可以根据周围的光线的强弱来控制过道的灯,除此之外,还能分辨出客人是进入还是离开。
它可以在一定程度上为人们的生活和工作带来便来。
关键词:传感器;51单片机;红外感应;语音提示;光线强弱AbstractSensor is a an ability to be converted into an electrical signal according to certain rules or other required information in the form output detection device, the infrared sensor is now available in a much wider application as a sensor, It is a measurement system using infrared as a medium, not only in the field of modern science and technology, defense, and industrial and agricultural has been widely used, often its presence even in our daily life, Such as shopping malls in the faucet, automatic hand dryer, alarm are all used in the infrared sensor.This paper proposed a microcontroller-based infrared sensors, the design constitutes the entire design of the controller chips by 51 microcontroller infrared sensors, the design with the most basic voice prompts, you can also according to the surrounding light the strength to control the aisle lights, in addition, but also tell the guests to enter or leave. To a certain extent, it can be for people to live and workwill bring.Key Words: Sensor;51 Single-chip Microcontroller; Infrared Sensor; Voice Prompts;The Intensity of Light目录摘要...................................................................... (4)ABSTRACT................................................................ ................................................... 5 1 引言...................................................................... .................................................... 1 1.1课题的研究背景 ..................................................................... ............................ 1 1.2课题的内容和要求 ..................................................................... ........................ 2 1.3 本课题的研究意义...................................................................... ....................... 2 1.4 设计主要的应用场所...................................................................... ................... 2 2 系统模块分析...................................................................... .................................... 3 2.1 主控芯片51单片机简介...................................................................... ............. 3 2.1.1 51单片机简介...................................................................... ......................... 3 2.1.2 本设计中单片机的分析...................................................................... ......... 3 2.2 语音模块分析...................................................................... ............................... 4 2.2.1 语音芯片简介...................................................................... ......................... 4 2.2.2 语音芯片分类...................................................................... ......................... 4 2.2.3 语音芯片应用范围...................................................................... ................. 5 2.2.4 本设计中语音模块的分析...................................................................... ..... 5 2.3 红外模块分析...................................................................... ............................... 5 2.3.1 红外对管的特征和原理...................................................................... ......... 5 2.3.2 红外对管的分类...................................................................... ..................... 6 2.3.3 本设计中的红外对管分析...................................................................... ..... 6 3 系统硬件设计...................................................................... .................................... 7 3.1 单片机最小系统...................................................................... ........................... 7 3.1.1 复位电路...................................................................... ................................. 7 3.1.2 晶振电路...................................................................... ................................. 8 3.2 光敏感应电路...................................................................... ............................... 8 3.3 语音芯片模块电路...................................................................... ....................... 8 3.4 继电器电路...................................................................... ................................... 9 3.5 红外感应模块电路...................................................................... ....................... 9 3.6 滤波电路...................................................................... ..................................... 10 4 系统软件设计...................................................................... .................................. 11 4.1 程序生成环境...................................................................... ..............................11 4.1.1 Keil uVision2简介 ..................................................................... ................. 11 4.1.2程序生成步骤...................................................................... ........................ 11 4.2 系统流程图...................................................................... ................................. 13 4.2.1 进门流程图...................................................................... ........................... 13 4.2.1 出门流程图...................................................................... ........................... 13 4.3 系统程序分析...................................................................... .. (14)4.3.1 模块初始化程序分析...................................................................... .. (14)4.3.2 消抖程序分析...................................................................... .. (14)4.3.3 语音模块程序分析...................................................................... ............... 15 5 结论...................................................................... .................................................. 18 致谢...................................................................... . (19)参考文献...................................................................... (20)附录1 系统实物图...................................................................... ............................. 21 附录2 系统整体电路图........................................................................................... 22 附录3 毕业设计作品说明书...................................................................... . (23)浙江万里学院本科毕业论文 - 1 -1 引言1.1课题的研究背景人类光凭自己的感觉器官能够获取的信息是有限的,很多信息需要借助外在的一些工具来获取,而传感器就是一种能够将感受到的被测量的信息按一定的规律转变成电信号或者其他信号并且输出的一种检测装置,它可以满足信息的存储、处理、显示、输出、记录和控制等要求,是实现自动检测和自动控制的首要环节。
基于单片机的温度测量系统毕业设计论文

基于单片机的温度测量系统毕业设计论文摘要:本文设计了一种基于单片机的温度测量系统。
该系统主要由传感器、单片机、显示屏等组成,通过传感器获取环境温度数据,由单片机进行数据处理和显示,并通过显示屏将温度数据以直观的形式展现出来。
通过与市场上现有的温度测量设备对比,本系统具有体积小、功耗低、精确度高、价格便宜等优点。
该系统在工业生产、科研实验等领域具有广泛应用前景。
关键词:单片机;温度测量;传感器;显示屏第一章引言1.1研究背景温度是工业生产和科学研究中的一个重要参数,对于保证生产质量、保障实验准确性具有至关重要的作用。
在现有的温度测量设备中,电子温度计是一种常见的测量方法。
然而,由于传统电子温度计通常体积较大、功耗较高,不便携,而且价格较高,因此有必要设计一种体积小、功耗低、价格便宜的新型温度测量系统。
1.2研究目的本文的研究目的是设计一种基于单片机的温度测量系统,以提供一种便携、实用的温度测量解决方案。
通过传感器采集环境温度数据,通过单片机进行数据处理和显示,并通过显示屏将温度数据以直观的形式展现出来。
第二章原理与方法2.1系统组成在本系统中,主要使用了DS18B20数字温度传感器、STC89C52单片机、液晶显示屏等元件。
其中DS18B20传感器采用了一线总线通信,可直接与STC89C52单片机进行通信。
单片机通过扫描传感器获取温度数据,并通过液晶显示屏进行显示。
2.2系统设计系统的设计主要分为硬件设计和软件设计两部分。
硬件设计包括传感器和单片机的连接电路设计,以及显示屏的驱动电路设计。
软件设计包括单片机程序的编写和液晶显示屏的显示程序设计。
第三章系统实现3.1传感器连接电路设计通过DS18B20传感器的一线总线接口,将其与STC89C52单片机相连。
传感器的数据线连接到单片机的P2口,同时需要上拉电阻器上拉电平。
3.2显示屏驱动电路设计显示屏使用了基于平行接口的1602型液晶显示屏,根据显示屏的规格书,设计了驱动电路。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
1摘要为了克服传统温度计测量温度的主要缺点——需要测量者与被测目标近距离接触和测量不方便,在顾及仪器测量高精度前提下,以追求最低成本为原则,研制了非接触式热释电红外测温仪,实现了对物体表面温度快速准确的测量。
本文主要设计了红外测温仪的整体系统构架,根据热释电原理,主要针对人体体温测量进行了具体的设计开发,包括整体方案,总体电路及各单元电路的设计,软件设计,硬件焊接及系统调试,并利用设计出来的红外测温仪在环境温度30℃下对人体温度进行了测量,对人体的温度测量的误差低于±0.1℃,提高了测量精度。
红外测温仪的设计主要为适应人体体温快速无接触测量的需要。
此外还介绍了热释电红外传感器的工作原理以及比较适合人体红外检测的热释电传感器PM611的优点和等效电路,阐述了基于热释电传感器的红外测温仪的工作原理,讨论了该系统的设计与实现方法,简单介绍了测温系统的适用条件。
关键词:温度测量热释电PM611AbstractTo decrease the limitation of traditional method of temperature measuring such as close contact between measurer and the target and inconvenience when measuring, we developed a non-contact type piezoelectric infrared thermometer, realizes fast and accurate surface temperature measurements. This article also designed the overall system architecture infrared thermometer. Then under the piezoelectric principle, aimed at human body temperature measurement for a specific design, development including hardware, peripherals technology, SCM, and the host program . Designed by using the infrared thermometer at ambient temperature 30℃on the human body were measured on the human body temperature measurement error is less a ±0.1℃improve the measurement accuracy. This thermometer mainly applies to no-contact, speedy body-heat measurement. This article mainly introduces operational principles of piezoelectric infrared sensor and the structure of hydroelectrically sensor PM611.It formulates the theory of the thermometer based on hydroelectrically sensor and studies how to design and implement of the system.Finally,it indicates the conditional demand of the system.Keywords: Temperature Measurement Piezoelectrically PM611毕业设计(论文)原创性声明和使用授权说明原创性声明本人郑重承诺:所呈交的毕业设计(论文),是我个人在指导教师的指导下进行的研究工作及取得的成果。
尽我所知,除文中特别加以标注和致谢的地方外,不包含其他人或组织已经发表或公布过的研究成果,也不包含我为获得及其它教育机构的学位或学历而使用过的材料。
对本研究提供过帮助和做出过贡献的个人或集体,均已在文中作了明确的说明并表示了谢意。
作者签名:日期:指导教师签名:日期:使用授权说明本人完全了解安阳工学院关于收集、保存、使用毕业设计(论文)的规定,即:按照学校要求提交毕业设计(论文)的印刷本和电子版本;学校有权保存毕业设计(论文)的印刷本和电子版,并提供目录检索与阅览服务;学校可以采用影印、缩印、数字化或其它复制手段保存论文;在不以赢利为目的前提下,学校可以公布论文的部分或全部内容。
作者签名:日期:目录1 绪论 (1)1.1 选题意义 (1)1.2 红外测温技术的发展历程 (2)1.3 国内外研究现状 (3)1.4 设计的目的与意义 (4)2 红外测温仪的原理和性能分析 (6)2.1 红外基础理论 (6)2.2 红外线测温仪的理论依据 (7)2.3 红外线测温仪的性能指标 (8)2.4 影响温度测量的主要因素及修正方法 (9)2.5 红外线测温仪的特点 (12)3 红外测温仪的硬件设计 (13)3.1 总体设计 (13)3.2 单片机最小系统的设计 (14)3.2.1 单片机的选型 (15)3.2.2 复位电路 (17)3.2.3 时钟电路 (19)3.3 温度检测系统设计 (19)3.3.1 热释电温度传感器的选型 (20)3.3.2 放大电路的设计 (22)3.3.3 模数转换电路的设计 (24)3.4 整体电路设计 (26)4 红外测温仪的软件设计 (27)4.1 主程序设计 (27)4.2 子程序设计 (28)5 系统调试 (30)5.1 系统硬件调试 (30)5.2 系统软件调试 (30)5.3 调试中出现的问题 (31)5.4 调试结果分析 (31)5.5 改进方案及推广应用 (32)结束语 (34)致谢 (35)参考文献 (36)附录1 硬件连接图 (37)附录2 源程序 (38)1 绪论由于医学发展的需要,在很多情况下,一般的温度计己经满足不了快速而又准确的测温要求,例如车站和机场等人口密度较大的地方进行人体温度测量。
虽然现在国外这种测温的技术都比较成熟,但是国内这方面的技术还处于发展阶段。
因此,为了适应医学发展的需要,有效地进行特殊环境下的温度测量,从而有力地控制和预防诸如甲流、非典之类型的特殊疾病的传播,急需设计一种测温速度快,准确率高的测温仪。
针对一般的工业用的红外测温仪的精确度不够高,我们根据这种红外线测温的原理,通过关键器件的选择、瞄准系统的设计以及温度补偿的自动调节来提高红外线测温仪的精确度,设计了一种用红外线测温电路,用于人员密集且流量大的场合进行快速的人体温度测量。
1.1 选题意义伴随着人们生活水平的不断提高以及对生活质量要求的提高,人们对自身的健康状况越来越关注,而人体的体温、血压、脉搏和呼吸是鉴别人体健康状况的重要参数,对这些生理指标的监控与测量则可以更好的体现人体自身的健康状况,所以他们在医疗领域中占有十分重要的地位,也为人民的生活带来极大的方便。
本次设计主要围绕体温这一生理指标展开,以AT89S52单片机为控制核心对温度进行实时采集,开发设计红外测温仪的全过程,根据红外线测温仪的原理,通过关键器件的选择以及温度补偿的自动调节来提高红外线测温仪的精确度,设计了一种非接触式人体体温测试仪,用于人体体温的快速测量。
全文主要阐述了非接触式人体体温测试仪的硬件设计和软件设计。
硬件方面首先谈到了系统的总体设计,然后分别从红外线传感器,运算放大器,A/D 转换,数据处理,显示部分等功能模块进行了论述并详细介绍了各个芯片的结构和功能,使系统具有稳定性好,精度高,测量安全,使用方便等特点。
在软件方面,此设计使用C语言来编写程序代码,具有编译速度快,运行效率高等特点。
设计的软件部分采用模块化结构,每个模块作为一个子程序,根据系统功能划分,程序由模块组成,所以整个程序的编制、调试和维护都比较方便,结构清晰,提高了可靠性和修改性,并给出了针对各个应用模块的设计思路和设计框架,对各部分程序进行解释说明,从而实现非接触式人体体温的数字显示。
对非接触式测温仪的设计是以功能性为基础,以创新性为指导,以实践性为依托,具有大好的发展前景和广泛的应用场合。
通过本次设计,希望可以为今后拓展体温监测应用领域提供新的思路和方法,在医学、体育、消防、军事训练、等领域得到更广泛的应用。
最后,文章对本次设计做出了详细的总结。
1.2 红外测温技术的发展历程红外测温技术在生产过程中,在产品质量控制和监测,设备在线故障诊断和安全保护以及节约能源等方面发挥了着重要作用。
近20年来,非接触红外测温仪在技术上得到迅速发展,性能不断完善,功能不断增强,品种不断增多,适用范围也不断扩大,市场占有率逐年增长。
比起接触式测温方法,红外测温有着响应时间快、非接触、使用安全及使用寿命长等优点。
非接触红外测温仪包括便携式、在线式和扫描式三大系列,并备有各种选件和计算机软件,每一系列中又有各种型号及规格。
在不同规格的各种型号测温仪中,正确选择红外测温仪型号对用户来说是十分重要的。
红外检测是一种在线监测(不停电)式高科技检测技术,它集光电成像技术、计算机技术、图像处理技术于一身,通过接收物体发出的红外线(红外辐射),将其热像显示在荧光屏上,从而准确判断物体表面的温度分布情况,具有准确、实时、快速等优点。
任何物体由于其自身分子的运动,不停地向外辐射红外热能,从而在物体表面形成一定的温度场,俗称“热像”。
红外诊断技术正是通过吸收这种红外辐射能量,测出设备表面的温度及温度场的分布,从而判断设备发热情况。
目前应用红外诊技术的测试设备比较多,如红外测温仪、红外热电视、红外热像仪等等。
像红外热电视、红外热像仪等设备利用热成像技术将这种看不见的“热像”转变成可见光图像,使测试效果直观,灵敏度高,能检测出设备细微的热状态变化,准确反映设备内部、外部的发热情况,可靠性高,对发现设备隐患非常有效。
红外诊断技术对电气设备的早期故障缺陷及绝缘性能做出可靠的预测,使传统电气设备的预防性试验维修(预防试验是50年代引进前苏联的标准)提高到预知状态检修,这也是现代电力企业发展的方向。
特别是现在大机组、超高电压的发展,对电力系统的可靠运行,关系到电网的稳定,提出了越来越高的要求。
随着现代科学技术不断发展成熟与日益完善,利用红外状态监测和诊断技术具有远距离、不接触、不取样、不解体,又具有准确、快速、直观等特点,实时地在线监测和诊断电气设备大多数故障(几乎可以覆盖所有电气设备各种故障的检测)。