节点文献

一线总线型温度传感器在多点测温中的编码优化

Optimization of Addressing Code of Digital Temperature Sensor Bass the 1-wire Bus at Measuring Multiple Temperatures

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 陈良光

【Author】 CHEN Liang-guang(Department of Computer,Hangzhou Institute of Commerce,Hangzhou 310035,China)

【机构】 杭州商学院计算机系 浙江杭州 310035

【摘要】 运用数字型传感器DS18X20按一线总线方式进行多点测温的关键技术是传感器的地址编码问题。使用少数几位十进制编码取代48位二进制序列号作地址编码容易在工程中实施。根据地址码与序列号的关系介绍了3种处理方式:手工编制关系表、逐次比较式建立关系表和内嵌式智能建表,并对3种处理方式的可行性和实用性进行了比较。根据器件结构特征重点分析了效率最高的了第3种方法,并阐述了编码器的设计和使用方法。

【Abstract】 It is critical technology to encode the digital sensor DS18X20,while measure multiple temperatures with the 1-wire bus.It is easy to practice for project engineering that addressing code is used decimal code instead of 48-bit serial number.By the structure of DS18X20 and the table of addressing code with serial number,introduce three modes to realize it.These are manual mode table,successive approximation mode table and embedded inteligence table.A comparison between the three modes in the performability and availability is also drawn.As focal point,analyze the third mode.It is because that is efficiency.In the mode,make two or three BCD instead of the 6 bytes of serial number on DS18X20 and write the BCD into register TH/TL.Then,describe the design of encoder and application method,which have simple interface,good reliability and practical value.

  • 【文献出处】 仪表技术与传感器 ,Instrument Technique and Sensor , 编辑部邮箱 ,2004年01期
  • 【分类号】TP212.11
  • 【被引频次】10
  • 【下载频次】132
节点文献中: 

本文链接的文献网络图示:

本文的引文网络