数字式温度传感器中英文对照外文翻译文献 联系客服

发布时间 : 星期三 文章数字式温度传感器中英文对照外文翻译文献更新完毕开始阅读5b8195ca43323968001c9277

外文翻译

bus low, the bus master must continue to hold the bus low for the duration of the time slot (at least 60μs).

The DS18B20 samples the 1-Wire bus during a window that lasts from 15μs to 60μs after the master initiates the write time slot. If the bus is high during the sampling window, a 1 is written to the DS18B20. If the line is low, a 0 is written to the DS18B20.

START OF SLOT MASTER WRITE ―0‖ SLOT START OF SLOT MASTER WRITE ―1‖ SLOT >1us>1usVcc1-wire BusGND15us60us

Figure 7.DS18B20 Write Time Slot

2.READ TIME SLOTS

The DS18B20 can only transmit data to the master when the master issues read time slots. Therefore, the master must generate read time slots immediately after issuing a Read Scratchpad [BEh] or Read Power Supply [B4h] command, so that the DS18B20 can provide the requested data. In addition, the master can generate read time slots after issuing Convert T [44h] or Recall E2 [B8h] commands to find out the status of the operation.

All read time slots must be a minimum of 60μs in duration with a minimum of a 1μs recovery time between slots. A read time slot is initiated by the master device pulling the 1-Wire bus low for a minimum of 1μs and then releasing the bus (see Figure 8). After the master initiates the read time slot, the DS18B20 will begin transmitting a 1 or 0 on bus. The DS18B20 transmits a 1 by leaving the bus high and

13

外文翻译

transmits a 0 by pulling the bus low. When transmitting a 0, the DS18B20 will release the bus by the end of the time slot, and the bus will be pulled back to its high idle state by the pull up resister. Output data from the DS18B20 is valid for 15μs after the falling edge that initiated the read time slot. Therefore, the master must release the bus and then sample the bus state within 15μs from the start of the slot.

>1usVcc1-wire busGND>1usMASTER READ ―0‖ SLOT MASTER READ ―1‖ SLOT Master samples 15us30us>1usMaster samples 15us15usDS18B20 read time slotBus master pulling low DS18B20 pulling low Resistor pullup

Figure 8.DS18B20 Read Time Slot

14

外文翻译

DS18B20介绍

1.说明

DS18B20数字式温度传感器提供9位到12位的摄氏温度测量,并且有用户可编程的、非易失性温度上下限告警出发点。DS18B20通过单总线通信,单总线被定义为只需要一根数据线与主微处理器相连进行通信。它的工作温度范围为-55°C到+12°C,且在-10到85范围内的精度为±0.5°C。另外,DS18B20能够从数据线中直接获得能量(寄生电源),消除了对外部供电的需求。 每一个DS18B20都有一个独一无二的64位序列码,这个序列码允许多个DS18B20在同一根单总线上工作。因此很容易用一片微处理器控制分布在较大领域的多个DS18B20。包括高压交流电环境控制、内置温度检测系统建筑,或者机器、处理器和控制系统在内的应用程序都会从这个特点中受益。

2.特点

? 独特的单线接口,只需要一个接口引脚即可通信

? 每个设备均由一个存储在板上ROM的独一无二的64位序列码 ? 多点能力使分布式温度检测应用得以简化 ? 不需要外部器件

? 可用数据线供电;电压范围是3.0V~5.5V ? 温度测量范围是-55°C到+12°C(-67°F到+257°F) ? -10°C 到85°C范围内测量精度为±0.5°C ? 传感器分辨率可从9位到12位由用户选择 ? 最大在750ms内转换12位数据的字节 ? 用户可定义的非易失性警报设置

? 告警搜索命令和寻址超出设定的温度界限的设备

15

外文翻译

? 软件与DS1822兼容

? 应用范围包括温度调节控制器、工业系统、消费产品、温度计,或者任何热

敏感系统

3.概述

图1给出了DS18B20的方框图,并且在引脚说明表格中给出了引脚介绍。64位ROM存储了设备的独有的序列号。高速暂存器包含2个字节的温度寄存器,温度寄存器存储来自温度传感器的数字输出。另外高速暂存器提供功能访问一个字节的温度上限及下限告警触发寄存器(TH和TL)和一个字节的配置寄存器。配置寄存器允许用户设定9位、10位、11位和12位的温度分辨率。TH,TL和配置寄存器是非易失性的(EEPROM),所以掉电后仍然能保存数据。 DS18B20使用单总线独有的协议准则,使用某一控制信号进行设备总线通信。控制线需要一个较小的上拉电阻,因为所有的设备通过一个三态漏极开路端口(如DS18B20的DQ引脚)连在总线上。在这个总线系统中,微处理器(控制设备)利用每一个设备的唯一64位码识别和寻址总线上的设备。因为每个设备有唯一的序列码,因此能够被同一个DS18B20寻址的设备数量几乎无限的。单总线协议,包括详细的命令解释和时间时隙说明,被掩膜在在单总线系统中。 DS18B20的另一个特点是不需要再外部供电下即可工作。当总线高电平时能量由单线上拉电阻经过DQ引脚获得。高电平同时充电一个内部电容,当总线低电平时由此电容供应能量。这种供电方法被称为“寄生电源”。另外一种选择是DS18B20由接在VDD的外部电源供电。

Vpu4.7K寄生电源电路DQ存储器和控制器温度灵敏元件GNDCpp内部电源Vdd64位ROM和1-Wire总线接口温度上限触发器TH高速缓存存储器温度下限触发器TL配置寄存器Vdd电源检测8位CRC生成器 16