DS18S20温度传感器的高精度测温及校正算法.doc

DS18S20温度传感器的高精度测温及校正算法.doc

  1. 1、本文档共7页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
DS18S20温度传感器的高精度测温及校正算法 /bjlpwf/   摘 nbsp;要: 文献[1]中给出一种DS18S20数字式温度传感器测温修正算法,但这种算法还不能充分利用DS18S20寄存器所给出的数据,最大限度地反映温度传感器的测量数值。其次是没有考虑算法给出的温度的校准问题,这里提出一种精确的测温算法,可以无误差地表示传感器给出的温度值,同时还研究了传感器输出值的校准问题,给出了基于最小二乘法的校准公式。在仿真过程中,以高精度的测温仪器为标准,给出了算法的校正公式,结果表明校正公式的误差优于0.01 ℃。   关键词: DS18S20; 测温; 传感器; 校正      Algorithm of high?precision temperature measurement   and calibration for temperature sensor DS18S20   AN Kai   (Shandong Aerospace Electro?technology Institute, Yantai 264670, China)   Abstract: An algorithm on temperature measurement calibration for the digital temperature sensor DS18S20 is proposed in Reference [1], but it can′t make full use of the data given by DS18S20 registers to represent the temperature value from the sensor exactly. In addition, the algorithm does not pay attention to the calibration of temperature measurement. A accurate algorithm for temperature measurement is presented in this paper, which can derive the temperature values from the DS18S20 sensor. The calibration of temperature output value of DS18S20 is investigated in this paper. The calibration expression based on the least square method is offered. By dint of the measuring instrument with high precision, the calibration expression was developed. The simuliation results indicate that the calibration expression can greatly improve the measurement precision, and its measurement error is less than 0.01℃.   Keywords: DS18S20; temperature measurement; sensor; callibration   0 nbsp;引 nbsp;言   目前,测量温度都是采用间接测量的方法,即利用温度传感器的性能随温度而变化的特性,通过测量该性能参数得到被测温度的大小[2]。用以测量温度的特性有材料的热膨胀、电阻、热电动势、导磁率、介电系数、光学特性、弹性等[3]。温度传感器的选用是高精度测温的重要环节。在温度测量时由于被测对象常常远离测试设备,传统的模拟温度传感器与测试设备之间的导线的电阻值随环境温度产生变化,而流过传感器的工作电流在导线电阻上产生的电压将迭加在传感器的输出信号上,成为无法消除的原始误差,这种误差会严重制约温度测量精度[4?7]。此外,多点测量切换和放大电路零点漂移也将严重影响温度测量精度[8]。由于模拟温度传感器存在上述不足,新型温度传感器的研究与应用正从模拟式向数字式方向发展[9?10]。数字温度传感器不必进行误差补偿,并适配各种微控制器,具有较高的温度分辨率。   1 nbsp;DS18S20温度传感器特性   DS18S20是美国DALLAS半导体公司生产的可组网数字式温度传感器,在其内部使用了片上(ON?B0ARD)专利技术。全部传感元件及转换电路集成在形如一只三极管的集成电路内。与其他温度传感器相比,DS1

您可能关注的文档

文档评论(0)

xingyuxiaxiang + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档