智能非接触式体温计的毕业设计
- 格式:docx
- 大小:927.87 KB
- 文档页数:66
基于STM32红外非接触体温仪毕业设计一、概述随着全球疫情的爆发,人们对于体温监测的需求日益增加。
在这样的大背景下,红外非接触体温仪成为了一种非常重要的工具。
而在这个毕业设计中,我们将结合STM32芯片,设计一款红外非接触体温仪,并将其加以实践。
二、设计思路1. 红外测温原理在设计红外非接触体温仪前,我们首先需要理解红外测温的原理。
红外测温利用红外线能量与物体表面产生的热量之间的关系,通过检测物体的表面温度来确定物体的温度。
我们将通过研究这些原理,来确定我们的测温方案。
2. STM32芯片的选择在选择芯片时,我们需要考虑到性能、功耗、成本等方面的因素。
经过调研和比较,我们最终选择了STM32作为我们的芯片。
因为它具有性能强劲、低功耗等特点,非常适合用于这样的应用场景。
3. 软件设计在软件设计方面,我们将使用C语言来编写嵌入式程序。
我们需要设计一个用户界面,用于显示测量得到的温度数据,并且需要设计相应的算法,用于对红外信号进行处理,最终得到准确的温度值。
4. 硬件设计在硬件设计方面,我们将搭建红外传感器、显示屏、按钮等硬件模块,并且需要设计相应的电路进行连接。
我们也需要考虑到电源管理、EMI等问题,以确保产品的安全可靠。
三、实施步骤1. 系统框图设计先前设计的理念已经明确,我们需要通过系统框图来具体的描述各个模块之间的关系以及通信方式。
2. 红外传感器选型及连接我们需要选择适合的红外传感器,并且设计相应的电路来进行连接。
在连接的过程中,我们需要注意信号的稳定性、传输速率等问题,以保证数据的准确性。
3. 软件开发从STM32的数据手册以及相应的参考设计中,我们可以获得一些基础的代码框架来开始我们的开发工作。
我们需要编写测温算法、UI设计、以及异常处理等功能。
4. 硬件搭建在硬件搭建阶段,我们需要进行电路的焊接、模块的搭建等工作。
在这个过程中,我们需要注意安全问题,并且需要进行相应的测试。
四、成果展示在毕业设计结束后,我们获得了一款基于STM32的红外非接触体温仪。
西电“星火杯”论文人体温度非接触式测量仪院系: 电子工程学院班级: 021012作者:0210116502101109021011690210113502101122西安电子科技大学摘要红外测温技术由于其方便、快速、准确的特点而被广泛应用于医学、航空以及钢铁制造等工业中。
本文介绍了一种使用51单片机作为控制器、基于红外热释电温度传感器TPS434的非接触式电子体温计的实现方法,并在此基础上给出了实现电子体温计的电路原理以及程序流程。
系统工作原理是智能电子体温计是一种典型的智能化仪表,它以单片机作为核心,在软件控制下,与其它硬件电路相结合,实现智能化的体温测量。
系统硬件组成环节主要有:温度传感器、放大电路、A/D转换电路、单片机系统、液晶显示模块和语音芯片。
其软件部分包括:A/D转换、数字滤波、智能功能以及显示等程序。
其工作原理是:体温信号由温度传感器变换为电信号后,进入放大电路进行放大处理以满足A/D转换器的要求,然后在A/D转换程序控制下经A/D 转换器转换成数字信号。
此信号送入单片机系统,利用单片机本身的软件功能进行数字滤波、线性化处理、数据存储、逻辑判断,从而实现相应的智能功能。
并将最后的测量结果送人液晶显示模块,在显示程序控制下进行显示,包括显示温度数据和汉字。
同时语音芯片在程序的控制下进行语音播报。
从而使测温前后的各种操作更趋于智能化和人性化。
关键词: 单片机; 红外体温计; 热电堆; 热敏电阻; TPS434;ABSTRACTThe technique of temperature measurement is widely used in iatrology, aviation,and stell manufacture because of its convenience, fast speed and high accuracy. This paper introduce a method to design an un-touched electronic thermometer which based on MS51 single chip and infared sensor TPS434. Also, it gives the principle of the electronic thermometer and the programe flow figure.System is the principle of intelligent electronic thermometer is a typic intelligent instruments, to SCM as its core, under the control of the software, hardware and other circuits combined, and intelligent temperature measurement. System hardware links are: temperature sensors, amplifier, A / D converter circuit, SCM systems, liquid crystal display modules and voice chips. Some of its software, including: A / D converter, digital filtering, intelligent show, and other functions and procedures. Its working principle is: the temperature signals from temperature sensors to transform electrical signals, into the amplifier to zoom in processing to meet the A / D converter requirements, and then in the A / D converter controlled under the A / D converter into digital Signal. This signals into the SCM system, using their own SCM software for digital filtering, linear processing, data storage, logical judgement, thus realizing the corresponding intelligent functions. And the final survey results to give liquid crystal display modules, are displayed under the program control, including temperature data and display Chinese characters. At the same time voice chip in the process conducted under the control of voice broadcast. So that the temperature before and after various operations tend to be more intelligent and humane. Keywords: Single chip; Infared thermometer; Thermopile; Thermistor; TPS434;目录第一章绪论........................................................................................................... - 6 -1.1 体温计的发展与现状................................................................................. - 6 -1.2 红外测温技术............................................................................................. - 6 -1.2.1 红外测温背景................................................................................... - 7 -1.2.2 红外测温原理................................................................................... - 7 -1.2.3 红外测温传感器分类....................................................................... - 9 -1.2.4 红外测温的优点............................................................................... - 9 -第二章整体方案概述........................................................................................... - 10 -2.1 系统结构框图........................................................................................... - 10 -2.2 核心器件简介........................................................................................... - 10 -2.2.1 电源部分....................................................................................... - 11 -2.2.2 8051单片机..................................................................................... - 12 -2.2.3 红外温度传感器............................................................................. - 12 -2.2.4 高精度运放..................................................................................... - 13 -2.2.5 语音芯片......................................................................................... - 13 -2.3 本章小结................................................................................................... - 14 -第三章系统硬件设计........................................................................................... - 14 -3.1 电源设计................................................................................................... - 14 -3.1.1 稳压芯片介绍................................................................................. - 14 -3.1.2 原理概述......................................................................................... - 15 -3.2 信号调理电路........................................................................................... - 18 -3.2.1 前置放大电路................................................................................. - 18 -3.2.2 次级调理电路................................................................................. - 19 -3.3 图形点阵式LCD显示电路..................................................................... - 20 -3.3.1 图形点阵式LCD-12232概述 ....................................................... - 20 -3.3.2 图形点阵式LCD-12232与MCU接口设计 ................................ - 21 -3.3.3 图形点阵式LCD-12232驱动方法 ............................................... - 21 -3.4 语音播报电路........................................................................................... - 24 -3.4.1 ISD4003与MCU接口设计........................................................... - 24 -3.4.2 ISD4003驱动方法 .......................................................................... - 25 -3.5控制核心电路............................................................................................ - 26 -3.5.1 MCU与外部接口 ........................................................................... - 26 -3.5.2 内部A/D转换器............................................................................ - 26 -3.6 按键功能设计........................................................................................... - 29 -3.6.1 测量播报按键................................................................................. - 29 -3.6.2 复位按键......................................................................................... - 29 -3.6.3 待编程键......................................................................................... - 29 -第四章系统软件设计........................................................................................... - 30 -4.1 软件工作流程........................................................................................... - 30 -4.2 驱动程序设计........................................................................................... - 31 -4.2.1 液晶- 12232驱动程序设计 ......................................................... - 31 -4.2.2 语音- ISD4003驱动程序设计..................................................... - 31 -4.2.3 温度传感器- 18B20驱动程序设计............................................. - 32 -4.3 本章小结................................................................................................... - 32 -第五章问题分析及解决方案............................................................................... - 33 -5.1问题的发现................................................................................................ - 33 -5.2 方案的改进............................................................................................... - 33 -第六章误差处理方法........................................................................................... - 33 -6.1 影响精度的因素....................................................................................... - 33 -6.2 处理方法................................................................................................... - 34 -6.3 本章小结................................................................................................... - 34 -结束语..................................................................................................................... - 34 -致谢......................................................................................................................... - 35 -参考文献................................................................................................................. - 35 -附录一程序代码................................................................................................. - 36 -附录二实物照片................................................................................................. - 52 -第一章绪论1.1 体温计的发展与现状体温计是一种测量人体温度、辅助疾病诊断的常用医疗器具。
基于单片机的非接触式数字体温仪摘要:人体温度相对恒定是维持人体正常生命活动的重要条件之一,当体温高于41度或低于35度时将严重影响人体各系统的机能活动,甚至危害生命。
很多疾病都可使体温正常调节机能发生障碍而使体温发生变化,如非典型肺炎的首要症状就是发烧。
临床上对病人检查体温,观察其变化对诊断疾病或判断某些疾病的预防有重要意义。
在大型集会或各类活动中,由于参加人数众多,如果再入场时能对体温进行检测,则能有效控制各类传染病的交叉传播。
非接触式体温计所需测温时间短,不需要与体肤接触,避免了病菌交叉感染,并且可以进行数据记录与判断,非常适合这种情况下使用。
本设计采用STC89C52作为核心,集合非接触式温度传感器OTP-538U,集成运放LM324,ADC转换芯片ADC0809,液晶显示器LCD1602实现一个带报警功能的可分类记录的非接触式体温记录系统。
关键词:MCU STC89S52 非接触式温度传感器 OTP-538U 集成运放LM324 数模转换芯片ADC0809 液晶显示器LCD1602Mcu-based Non-contact Digital Body TemperatureMeterAbstract:Maintain relatively constant body temperature is a major life activity of human normal condition , when the body temperature above 41 degrees or below 35 degrees will severely affect the functioning of various body systems , or even life-threatening. Many diseases can occur so that the regulatory function of temperature barriers in the normal body temperature changes, such as the first symptoms of SARS is fever. Check the body temperature of patients in clinical observed changes in the diagnosis of certain diseases or to judge the importance of prevention of disease.In large meetings or various activities, the over-whelming, if re-admission testing temperature can be effective in controlling spread of various infectious diseases cross. Required for non-contact thermometer temperature time is short, do not need to skin and body contact to avoid cross infection, and the data can be recorded with the judge, very suitable for such use.This design uses STC89C52 as a core, a collection of non-contact temperature sensor OTP-538U, integrated operational amplifier LM324, ADC conversion chip ADC0809, LCD1602 LCD with alarm function to achieve a record can be classified non-contact temperature recording systemKeywords: MCU STC89C52 non-contact temperature sensor OTP-538U integrated operational amplifier LM324 ADC0809 LCD1602目录第一章绪论 (4)第二章系统总体研究方案 (6)第三章系统硬件设计 (8)3.1 主要IC芯片介绍 (8)3.1.1 STC89C52单片机 (8)3.1.2 非接触式温度传感器OTP-538U (10)3.1.3 LM324四运放 (3)3.1.4 ADC0809 (4)3.1.5 1602字符型LCD简介 (7)3.2 系统硬件系统的设计 (11)3.2.1 温度采集和放大电路的设计 (12)3.2.2 ADC转换电路的设计 (12)3.2.3 液晶显示电路的设计 (13)3.2.4 键盘控制电路的设计 (14)3.2.5 报警电路的设计 (14)3.2.6 系统整体电路 (15)第四章系统软件系统的设计 (16)4.1 液晶显示子程序设计 (17)4.2 键盘按键子程序设计 (17)4.3 温度信号处理子程序设计 (19)4.4 报警子程序设计 (20)4.5 记录子程序设计 (20)第五章结束语 (21)致谢 (22)参考文献 (23)附录: (24)第一章绪论人体温度相对恒定是维持人体正常生命活动的重要条件之一,当体温高于41度或低于35度时将严重影响人体各系统的机能活动,甚至危害生命。
本科毕业论文非接触式红外体温计的设计Design of Contactless Infrared ThermometerSystem学院名称:专业班级:学生姓名:学号:指导教师姓名:指导教师职称:年月毕业设计(论文)原创性声明和使用授权说明原创性声明本人郑重承诺:所呈交的毕业设计(论文),是我个人在指导教师的指导下进行的研究工作及取得的成果。
尽我所知,除文中特别加以标注和致谢的地方外,不包含其他人或组织已经发表或公布过的研究成果,也不包含我为获得安阳工学院及其它教育机构的学位或学历而使用过的材料。
对本研究提供过帮助和做出过贡献的个人或集体,均已在文中作了明确的说明并表示了谢意。
作者签名:日期:指导教师签名:日期:使用授权说明本人完全了解安阳工学院关于收集、保存、使用毕业设计(论文)的规定,即:按照学校要求提交毕业设计(论文)的印刷本和电子版本;学校有权保存毕业设计(论文)的印刷本和电子版,并提供目录检索与阅览服务;学校可以采用影印、缩印、数字化或其它复制手段保存论文;在不以赢利为目的前提下,学校可以公布论文的部分或全部内容。
作者签名:日期:目录92结论 (18)91非接触式红外体温计的设计摘要:本文针对传统的测温仪器自身存在的诸多缺点以及在现实生活中所暴露的使用不便,缺少安全性等缺陷,提出了一种非接触式红外测温系统设计方案。
该系统是以STC89C52作为红外测温传感器数据传输和控制核心。
此外,还设计了报警模块、显示电路、功能按键等外围模块。
本系统实现了对实时温度的显示,以及对后者过限时报警,同时还能对温度测量报警的上下限进行调节。
它的最大的创新不仅仅是因为可以测量基本的温度,更在于它可以控制继电器电路使温度在测量范围内。
它的安全性,方便性更有利于普通百姓的使用。
本次红外测温系统的设计简化了电路结构,提高了测温的稳定性及可靠性。
该系统具有反应速度快、传输效率高、测量精度高、可靠性高等优点。
关键字:STC89C52;报警;红外测温Design of Contactless Infrared Thermometer System Abstract:In view of the traditional temperature measuring instrument , there are many shortcomings, And in real life it exposes much inconvenience,lacks of safety ,so i put forward this design of contactless infrared temperature measurement system .The system is based on single chip microcomputer STC89C52 that as being the center of infrared measuring temperature sensor data’s transmission and regulation.In addition, it is also equipped with alarm circuits,key switch, liquid crystal display output andkey circuits.This system realize real-time temperature display, and give an alarm when the temperature beyond limitation configured, surely the limitation can be changed else.The system's biggest innovation not only in the realization of basic functions temperature measurement,but also can control a relay circuit to get the temperature in measuring range.Its safety, convenienceare more helpful of the use of the common people.The designof infrared temperature measurement system simplifythe circuit structure, improve the stability and reliability of measuring temperature.The great reactionspeed, high transmission efficiency, high accuracy and high reliability is also its advantage.Key words:STC89C52; alarm; infrared temperature measurement引言随着经济的发展,社会生活水平的提高,人们对自身身体情况愈来愈重视。
非接触式红外测温仪设计摘要温度测量技术应用十分广泛,而且在现代设备故障检测领域中也是一项非常重要的技术。
但在某些应用领域中,要求测量温度用的传感器不能与被测物体相接触,这就需要一种非接触的测温方式来满足上述测温需求。
本论文正是应上述实际需求而设计的红外测温仪。
红外测温仪是以黑体辐射定律作为理论基础,是光学理论和微电子学综合发展的产物。
与传统的测温方式相比,具有响应时间短、非接触、不干扰被测温场、使用寿命长、操作方便等一系列优点。
本文介绍了红外测温仪测温的基本原理和实现方法,提出了以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)温度是确定物质状态的重要参数之一,它的测量与控制在国防、军事、科学研究以及工农业生产中占有十分重要的地位。
课程设计报告智能温度测量仪专业:班级:学生姓名:学号:指导教师:完成时间:文献综述----智能温度测量仪摘要:本文主要介绍了智能温度测量仪的设计,包括硬件和软件的设计。
先对该测量仪进行概括性介绍,然后介绍该测量仪在硬件设计上的主要器件:“Pt100热电阻”、AT89C51单片机和LCD显示器以及描述测量仪的总体结构原理。
在本设计中,是以铂电阻PT100作为温度传感器,采用恒流测温的方法,通过单片机进行控制,用放大器、A/D转换器进行温度信号的采集。
总体来说,该设计是切实可行的。
关键词:温度;Pt100热电阻;AT89C51单片机;LCD显示器。
Abstract: This paper describes the design of the intelligent temperature measuring instrument, including hardware and software design. Be the first general description of the measuring instrument, and then describes the hardware design of the measuring instrument's main device: "Pt100 thermal resistance", AT89C51 microcontroller and LCD display, and describe the principle of measuring the overall structure. In this design, as is the PT100 platinum resistance temperature sensor, temperature measurement using constant current method, through the microcontroller to control, amplifier, A / D converter for temperature signal acquisition. Overall, the design is feasible. Key words: temperature; Pt100 thermal resistance; AT89C51 microcontroller; LCD monitor.引言:温度是日常生活、工业、医学、环境保护、化工、石油等领域最常遇到的一个物理量,也是工业控制中主要的被控参数之一。
【关键字】系统非接触式红外遥感体温计的设计摘要针对传统水银体温计和电子体温计的种种缺陷和不便,本文设计了一种非接触测量体温计。
该体温计利用GE公司的红外热电堆温度传感器ZTP实现对温度信号的非接触测量。
微弱的电压信号缩小采用低失调、低漂移、高精度的集成仪用运算缩小器AD620。
模数转换用自带ADC的16位单片机MSP149。
本文从硬件技术和软件方法上详细阐述了该仪器的实现手段。
系统具有报警选择和长时间无人操作自动待机的功能,具有智能化的特点。
关键词热电堆温度传感器体温AD620DESIGN OF NON-CONTACT INFRARED REMOTETHERMOMETERABSTRACTThe paper designs of a non-contact measurement thermometer to solve the traditional mercury thermometer and electronic thermometer of deficiencies and inconveniences. The infrared thermopile temperature sensor ZTP produced by GE achieves the untouched measuring of body temperature. The weak electric voltage signal is amplified by the extremely low offset voltage、low drift、high precision of integrated instrument operational amplifier AD620. A/D is realized by 16 bits MCU MSP149, which has ADC function. The paper explains the realization of the instrument from the two aspects-hardware techniques and software methods. The system has functions such as selectable alarm feature and auto-standy if there is no operation for long time, the design has intelligentized feature.KEY WORDS the thermopile temperature sensor body temperature AD620目录附录二........................................................................................................... 错误!未定义书签。
《智能测温仪》毕业设计论文智能测温仪是一种结合了智能技术和温度测量技术的设备,广泛应用于医疗、工业、家居等领域。
本文旨在通过设计和制作一个智能测温仪的原型,实现对人体体温的快速、准确测量,并具备数据记录和分析的功能。
本文将从以下几个方面进行论述。
首先,本文将对智能测温仪的设计目的和功能进行阐述。
智能测温仪的设计目的是为了提供一种可靠、安全、精准测量人体体温的设备。
在功能方面,智能测温仪具备自动识别人体的能力,并可以通过非接触式测温方式快速测量体温。
同时,智能测温仪还具备数据记录和分析的功能,可以将测得的体温数据存储并分析,为用户提供更多的参考信息。
其次,本文将对智能测温仪的硬件设计进行详细介绍。
智能测温仪的硬件主要包括传感器、微控制器、显示屏和按键等组成部分。
传感器主要用于感知周围的温度,通过与微控制器进行通信实现测温功能。
微控制器负责数据的处理和控制整个设备的运行。
显示屏用于显示测量结果和其他信息,按键则用于设备的操作控制。
然后,本文将对智能测温仪的软件设计进行详细阐述。
智能测温仪的软件主要包括测温算法、数据存储和分析算法以及用户界面设计。
测温算法是实现测量精准度的关键,需要考虑传感器的误差和其他因素对测量结果的影响。
数据存储和分析算法主要用于将测得的体温数据存储在设备中,并提供数据分析的功能,以便用户可以更好地了解自己的身体状况。
用户界面设计则需要符合人机工程学原理,使用户能够方便地操作设备。
最后,本文将对智能测温仪的实际应用进行讨论。
智能测温仪可以广泛应用于医疗、工业、家居等领域,为用户提供方便、快速、准确的体温测量服务。
在医疗领域,智能测温仪可以用于门诊、急诊等场所的体温监测;在工业领域,智能测温仪可以用于生产线体温监测,以确保员工健康和生产质量;在家居领域,智能测温仪可以用于家庭成员的日常体温监测,及时发现和预防疾病。
综上所述,智能测温仪是一种集成了智能技术和温度测量技术的设备,在多个领域具备广泛应用前景。
摘要红外模组是汇集其视场内目标的红外辐射能量,将红外能量聚焦在光电探测仪上并转变为相应的数字信号的传感器,它具有非接触测温方式、温度分辨率高、响应速度快、不扰动被测目标温度分布场、测量精度高、稳定性好和使用寿命长等一系列优点,比传统的接触式测温有更多的场合适应性。
本文介绍了一种基于单片机实用温度实时检测和记录系统。
它的设计思路主要是利用红外模组传感器,采集人体发射出的红外线,得到数字信号送入单片机,由MCS-51单片机通过温度补偿来实现温度值的转换并送入LCD1602显示和超温声光报警功能,同时通过无线模块进行中短距离传输到PC机和组态王Kingview进行数据的保存和后台处理等功能。
本设计实现了非接触式的温度测量,并且感应时间在3秒以内,分辨力达到0.01°C,精度在0.5°C以内,实现了无线传输到组态王的控制,并且在组态王上实现了温度的存储、查询、报表显示等多种功能。
关键词:红外测温系统;非接触式;组态王;无线传输AbstractThe Infrared module is to bring together its field of view infrared radiation energy goals will focus infrared energy on a photoelectric detector and digital signal into a corresponding sensor, which has non-contact temperature measurement method, temperature, high resolution, fast response, without disturbing the measured target temperature distrbution field, high accu- racy, good stability and long life and a series of advantages over traditional contact-type temperature adaptability more occasions.This paper introduces a practical temperature based on single chip real-time detection and recording system. Its design concept is the use of the main infrared sensor module to collect the body emits infra-red, get the digital signal into the microcontroller, the MCS-51 microcontroller to achieve temperature compensation by the conversion temperature and over-temperature into the LCD1602 display and sound and light alarm , Through short-range wireless module for transmission to the PC, and Kingview preservation and back-office data processing functions. The Design and Implementation of a non-contact temperature measurement, and induction time of 3 seconds or less, resolution to 0.01 ° C, accuracy 0.5 ° C or less, to achieve the wireless transmission to the configuration control of the king and the king on the configuration Achieved temperature storage, query, report shows and other features.Key Words:Infrared temperature measurement system;non- contact;Kingview;wireless- -transmission目录引言 (1)1 红外测温系统的设计背景 (2)1.1 单片机发展历程 (2)1.2 体温计的发展历程 (3)2 红外测温技术简介 (4)2.1 温度测量技术的概述 (4)2.2 红外测温原理 (4)2.3 红外测温的方法 (5)3 红外测温系统的总体方案选择 (6)3.1 重要模块的方案对比与选择 (6)3.1.1温度传感器的选择 (6)3.1.2无线传输模块选择 (6)3.1.3显示模块的选择 (6)3.2 芯片和组态王介绍 (6)3.2.1主从控制器STC89C51 (7)3.2.2红外模组TN_9 (8)3.2.3无线收发CC1100E (9)3.2.4电平转换芯片MAX232 (11)3.2.5液晶1602 (12)3.2.6稳压芯片LM2576 (14)3.2.7组态王Kingview (14)3.3 系统硬件总体设计方案 (16)3.4 系统软件设计方案 (17)4 红外测温系统的硬件设计 (18)4.1 主从单片机处理模块 (18)4.2 TN-9红外测温模块接口设计 (18)4.3 无线收发CC1100E模块接口设计 (19)4.4 RS232A电平转换模块 (20)4.5 液晶显示和声光报警模块 (21)4.6 键盘模块 (21)4.7 电源设计模块 (22)5 红外测温系统的软件设计 (24)5.1 主程序的设计 (24)5.1.1主控制器的主程序模块 (24)5.1.2从控制器的主程序模块 (25)5.2 TN_9红外测温程序模块 (26)5.3 无线收发CC1100E程序模块 (29)5.3.1无线发送程序 (29)5.3.2无线接收程序 (30)5.4 键盘扫描程序模块 (31)5.5 组态王与单片机通信程序模块 (33)5.6 组态王应用设计 (34)6 系统调试和性能分析 (38)6.1 所用仪器 (38)6.2 焊接与调试过程 (38)6.3 测温系统的误差分析 (38)6.4 系统性能分析 (39)6.5 如何减小误差 (39)7 结论 (40)谢辞 (41)参考文献 (42)附录 (43)引言现在社会,随着生活节奏的变快,父母在忙碌中抽出时间帮助孩子测体温是一件非常麻烦的事,而且由于儿童不稳定,好动,既耗费时间又费精力;老年人活动不便,使用传统的体温计很不方便,而且由于人老眼花,也不能看清体温计汞柱的位置;现在各种流行病比较多,传染性比较强,传统的接触式测温系统有很大的局限性,特别是在高发病的场所诸如学校或者事业单位里……本文所设计的红外体温检测系统就是针对这些问题而设计开发的,该系统是将微机技术、光学聚焦技术、传感器技术、无线传输技术和上位机软件技术等相结合,可以非接触式的测出人体温度,通过LCD1602来显示温度结果,当人体温度高于某一数值时作出声光报警,提醒被测者让其早作准备,同时通过无线传输传到上位机,在上位机上进行数据处理和保存,比如数据显示和报警、数据存储、数据查询、生成曲线报表等多项功能。