如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
PAGEII基于电容充放电技术的温度测试摘要:温度是与人们的生产生活密切相关的物理量之一,目前有多种温度测量方法,如:玻璃温度计测温、半导体测温、热敏电阻测温、红外辐射测温、铂电阻测温以及热电偶测温等等,根据不同的测温精度及温度范围,可选用不同的测温方式。本文采用一种没有ADC模块的模拟量检测方法,通过编写程序控制单片机的通用输入输出口、定时器等模块协同工作,通过捕捉电容充电时间确定当前的热敏电阻阻值,并通过查表实现温度测量。系统实现了0℃~60℃范围内的温度测量,设计的温度计具有低成本、高精度的特点,应用前景较为广阔。关键词:温度;热敏电阻;单片机;电容;系统ANovelThermometerBasedontheCapacitiveChargingandDischargingTechnologyAbstract:Thetemperatureisaphysicalquantitycloselyrelatedwithpeople'sproductionandlife,resultinginavarietyoftemperaturemeasurementmethod,aglassthermometertemperaturesensor,semiconductortemperaturesensor,NTCthermistortemperaturesensor,infraredradiationtemperaturesensor,platinumresistancetemperaturemeasuringandthermocouplethermometer,etc.Withthedifferenttemperatureprecisionandtemperaturerange,wecanselectdifferentwaysofmeasuringtemperature.AnanaloguetestmethodwithoutADCmoduleisintroducedinthispaper,whichmakesinput,outputandtimermoduleofMCUworkcollaborativelybyprogramming,determinesthecurrentresistanceofthermistorbycalculatingcharge-timeofcapacitor,andachievetemperaturemeasurementbylookinguptotable.ThisSystemachievesthetemperaturemeasurementwhichrangesfrom0℃to60℃,andthedesignofthermometerhascharacteristicsoflowcostandhighprecision,whichcanbewidelyusedinthefuture.Keywords:AVRMCU;Temperature;Thermistors;SCM;Capacitor;system目录TOC\o"1-3"\h\z\uHYPERLINK\l"_Toc294129425"摘要PAGEREF_Toc294129425\hIHYPERLINK\l"_Toc294129426"AbstractPAGEREF_Toc294129426\hIIHYPERLINK\l"_Toc294129427"1引言PAGEREF_Toc294129427\h1HYPERLINK\l"_Toc294129428"1.1选题背景与选题意义PAGEREF_Toc294129428\h1HYPERLINK\l"_Toc294129429"1.2本文任务PAGEREF_Toc294129429\h1HYPERLINK\l"_Toc294129430"1.3本文的结构PAGEREF_Toc294129430\h2HYPERLINK\l"_Toc294129431"2测量方法的原理PAGEREF_Toc294129431\h3HYPERLINK\l"_Toc294129432"2.1方案的比较PAGEREF_Toc294129432\h3HYPERLINK\l"_Toc294129433"2.2基于电容充放电技术的温度测量原理PAGEREF_Toc294129433\h4HYPERLINK\l"_Toc294129434"2.2.1测量原理PAGEREF_Toc294129434\h4HYPERLINK\l"_Toc29