题目:基于单片机的热电偶温度巡检仪内蒙古科技大学毕业设计说明书(毕业论文)II基于单片机的热电偶温度巡检仪摘要在很多工业场合都会遇到温度的多路巡回检测、报警和控制的问题,目前的温度检测仪器普遍智能化程度不高、没有通信功能,并且要求输入规定的信号。针对目前温度检测仪表的现状,本文设计了一种以AT89S52单片机为核心的智能温度巡检仪,具有自动校准、串行通信、传感器非线性校正等功能,提高了仪器的智能程度。系统采用K型热电偶测量技术和模拟开关芯片,实现了多点温度巡回采集处理的功能,应用于各种温度测量场合。系统主要由四大部分组成:1.温度数据采集部分,主要以恒流源获取镍镉-镍硅热电偶的温度信号;2.I/O功能扩展部分,负责键盘控制、液晶显示、语音报警及控制等功能;3.串口通信部分,通过串口与上位机进行数据通信;4.以PC机为核心的上位机部分,上位机采用高级语言设计友好的可视化人机界面,将其所接收的信号转换曲线或表格,清晰明了地显示出巡检对象的温度状况。本系统分利用了单片机的数据处理及实时检测能力,以K型热电偶作温度传感器,精度高、量程宽、稳定性好、性能可靠,并可按照用户设置的报警温度和危险温度作出语音报警和智能防护措施,改进了工作人员的工作方式,提高了工作效率和管理水平。.关键词:智能仪器;温度巡检仪;单片机;热电偶内蒙古科技大学毕业设计说明书(毕业论文)IIITheThermocoupleoftemperature-cruisingtestbasedonsingle-chipdesignAbstractThereismuchneedofmultiwaytemperaturemeasurement,alarmandcontrolincertainindustrysituations.Generaltemperaturemeasureinstrumentisnotintelligentenough.Ithasnofunctionofcommunication,andrequiresstatedsignal.Aimingatthecurrentproblem,thispapermainlyintroducesthedesignofamultiwayintelligenttemperaturemeasureinstrumentbasedonAT89C52microprocessor.Thesystemhasthefunctionofautoadjust,serialcommunication,andsensornonlinearityself-correction.Itadoptsthree-wiremeasuringtechniqueofthermistorandanalogswitchestorealizemultiwaytemperaturemeasurement.Itmainlycomprisesfourparts:1.Temperaturedataacquisitionunit,whichadoptsaconstantcurrentsourcetogetthetemperaturedata2.Functionexpandunit,whichincludesMCU,keyboard,voicealarmmoduleandLCDscreen;3.Communicationpart,whichtakeschargeofcommunicatingwithUppermachine;4.Uppermachinepart,whichadoptsVisualBasictodesignafriendlyman-machineinterface,andclearlydisplaysthestateofthemeasuredobjectascurvesandtables.whichhasmeritsofaccuratemeasure,widerange,goodstability,andreliableperformance.Itcangivethealarmandself-protectwhileachievingthealarmtemperatureandthedangeroustemperatureuserset,andimprovesthemodeofoperatorworking,efficiencyandthemanagementlevel.Keywords:intelligentinstrument;temperature-cruisingtest;MCS51;Thermocouple内蒙古科技大学毕业设计说明书(毕业论文)IV目录第一章引言..............................................................................................................................11.1温度测量简述.............................................................................................................11.2系统工艺.....................................................................................................................11.3设计的总体目标.........................................................................................................21.4温度巡检仪的技术现状.............................................................................................3第二章系统总体方案设计......................................................................................................42.1技术原理.....................................................................................................................42.2温度信号处理.............................................................................................................5第三章硬件设计......................................................................................................................63.1热电偶的测温.............................................................................................................63.1.1传感器分类......................................................................................................63.1.2热电偶传感器..................................................................................................63.1.3热电偶的工作原理..........................................................................................73.1.4热电偶测量温度的方法..................................................................................83.1.5测量信号的放大和冷端补偿..........................................................................93.2MAX6675芯片..........................................................................................................103.2.1性能特点........................................................................................................103.2.2工作原理.......................................................................................................113.2.3与单片机的通讯............................................................................................123.2.4热补偿与噪声补偿........................................................................................133.2.5应用中的注意问题........................................................................................14内蒙古科技大学毕业设计说明书(毕业论文)V3.3多通道的巡回切换...................................................................................................143.4A/D转换器ADC0832...............................................................................................163.5单片机的功能...........................................................................................................183.6LED显示驱动设计...................................................................................................193.6.1数码管驱动....................................................................................................203.6.2数码管参数及应用........................................................................