參數(shù)資料
型號: TMP03FRU
廠商: ANALOG DEVICES INC
元件分類: 溫度/濕度傳感器
英文描述: Serial Digital Output Thermometers
中文描述: DIGITAL TEMP SENSOR-SERIAL, 12BIT(s), 1.50Cel, RECTANGULAR, SURFACE MOUNT
封裝: TSSOP-8
文件頁數(shù): 13/16頁
文件大?。?/td> 375K
代理商: TMP03FRU
TMP03/TMP04
REV. 0
–13–
When the READ_TMP04 routine is called, the counter registers
are cleared. The program sets the counters to their 16-bit mode,
and then waits for the TMP04 output to go high. When the
input port returns a logic high level, Timer 0 starts. The timer
continues to run while the program monitors the input port.
When the TMP04 output goes low, Timer 0 stops and Timer 1
starts. Timer 1 runs until the TMP04 output goes high, at
which time the TMP04 interface is complete. When the
subroutine ends, the timer values are stored in their respective
SFRs and the TMP04’s temperature can be calculated in
software.
Since the 80C51 operates asynchronously to the TMP04, there
is a delay between the TMP04 output transition and the start of
the timer. This delay can vary between 0
μ
s and the execution
time of the instruction that recognized the transition. The
80C51’s “jump on port.bit” instructions (JB and JNB) require
24 clock cycles for execution. With a 12 MHz clock, this
produces an uncertainty of 2
μ
s (24 clock cycles/12 MHz) at
each transition of the TMP04 output. The worst case condition
occurs when T1 is 4
μ
s shorter than the actual value and T2 is 4
μ
s longer. For a +25
°
C reading (“room temperature”), the
nominal error caused by the 2
μ
s delay is only about
±
0.15
°
C.
The TMP04 is also easily interfaced to digital signal processors
(DSPs), such as the ADSP-210x series. Again, only a single I/O
pin is required for the interface (Figure 35).
V+
D
OUT
GND
TMP04
+5V
ADSP-210x
÷
n
CLOCK
OSCILLATOR
16-BIT DOWN
COUNTER
TIMER
ENABLE
FI (FLAG IN)
10MHz
Figure 35. Interfacing the TMP04 to the ADSP-210x Digital
Signal Processor
The ADSP-2101 only has one counter, so the interface software
differs somewhat from the 80C51 example. The lack of two
counters is not a limitation, however, because the DSP
architecture provides very high execution speed. The ADSP-
2101 executes one instruction for each clock cycle, versus one
instruction for twelve clock cycles in the 80C51, so the ADSP-
2101 actually produces a more accurate conversion while using
a lower oscillator frequency.
The timer of the ADSP-2101 is implemented as a down
counter. When enabled by means of a software instruction, the
counter is decremented at the clock rate divided by a
programmable prescaler. Loading the value
n
– 1 into the
prescaler register will divide the crystal oscillator frequency by
n
.
For the circuit of Figure 35, therefore, loading 4 into the
prescaler will divide the 10 MHz crystal oscillator by 5 and
thereby decrement the counter at a 2 MHz rate. The TMP04
output is ratiometric, of course, so the exact clock frequency is
not important.
A typical software routine for interfacing the TMP04 to the
ADSP-2101 is shown in Listing 2. The program begins by
initializing the prescaler and loading the counter with 0FFFF
H
.
The ADSP-2101 monitors the FI flag input to establish the
falling edge of the TMP04 output, and starts the counter. When
the TMP04 output goes high, the counter is stopped. The
counter value is then subtracted from 0FFFF
H
to obtain the
actual number of counts, and the count is saved. Then the
counter is reloaded and runs until the TMP04 output goes low.
Finally, the TMP04 pulse widths are converted to temperature
using the scale factor of Equation 1.
Some applications may require a hardware interface for the
TMP04. One such application could be to monitor the
temperature of a high power microprocessor. The TMP04
interface would be included as part of the system ASIC, so that
the microprocessor would not be burdened with the overhead of
timing the output pulse widths.
A typical hardware interface for the TMP04 is shown in Figure
36. The circuit measures the output pulse widths with a
resolution of
±
1
μ
s. The TMP04 T1 and T2 periods are
measured with two cascaded 74HC4520 8-bit counters. The
counters, accumulating clock pulses from the 1 MHz external
oscillator, have a maximum period of 65 ms.
The logic interface is straightforward. On both the rising and
falling edges of the TMP04 output, an exclusive-or gate
generates a pulse. This pulse triggers one half of a 74HC4538
dual one-shot. The pulse from the one-shot is ANDed with the
TMP04 output polarity to store the counter contents in the
appropriate output registers. The falling edge of this pulse also
triggers the second one-shot, which generates a reset pulse for
the counters. After the reset pulse, the counters will begin to
count the next TMP04 output phase.
As previously mentioned, the counters have a maximum period
of 65 ms with a 1 MHz clock input. However, the TMP04’s T1
and T2 times will never exceed 32 ms. Therefore the most
significant bit (MSB) of counter #2 will not go high in normal
operation, and can be used to warn the system that an error
condition (such as a broken connection to the TMP04) exists.
The circuit of Figure 36 will latch and save both the T1 and T2
times simultaneously. This makes the circuit suitable for
debugging or test purposes as well as for a general purpose
hardware interface. In a typical ASIC application, of course, one
set of latches could be eliminated if the latch contents, and the
output polarity, were read before the next phase reversal of the
TMP04.
相關(guān)PDF資料
PDF描述
TMP03FT9 Serial Digital Output Thermometers
TMP03 Serial Digital Output Thermometers
TMP03FS Serial Digital Output Thermometers
TMP04FRU Serial Digital Output Thermometers
TMP04FS Serial Digital Output Thermometers
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
TMP03FRU-REEL7 功能描述:IC SENSOR TEMP/SERIAL OC 8-TSSOP RoHS:否 類別:集成電路 (IC) >> PMIC - 熱管理 系列:- 標(biāo)準(zhǔn)包裝:1 系列:- 功能:溫度監(jiān)控系統(tǒng)(傳感器) 傳感器類型:內(nèi)部和外部 感應(yīng)溫度:-40°C ~ 125°C,外部傳感器 精確度:±2.5°C 本地(最大值),±5°C 遠程(最大值) 拓撲:ADC,比較器,寄存器庫 輸出類型:2 線 SMBus? 輸出警報:無 輸出風(fēng)扇:無 電源電壓:2.7 V ~ 5.5 V 工作溫度:-40°C ~ 125°C 安裝類型:表面貼裝 封裝/外殼:SOT-23-8 供應(yīng)商設(shè)備封裝:SOT-23-8 包裝:Digi-Reel® 其它名稱:296-22675-6
TMP03FRUZ-REEL7 制造商:Rochester Electronics LLC 功能描述: 制造商:Analog Devices 功能描述:
TMP03FS 功能描述:IC SENSOR TEMP/SERIAL OC 8SOIC RoHS:否 類別:集成電路 (IC) >> PMIC - 熱管理 系列:- 標(biāo)準(zhǔn)包裝:2,500 系列:SilentSense™ 功能:溫度監(jiān)控系統(tǒng)(傳感器) 傳感器類型:內(nèi)部和外部 感應(yīng)溫度:-55°C ~ 125°C,外部傳感器 精確度:±2°C 本地(最大),±3°C 遠程(最大) 拓撲:ADC(三角積分型),比較器,寄存器庫 輸出類型:I²C?/SMBus? 輸出警報:是 輸出風(fēng)扇:是 電源電壓:2.7 V ~ 5.5 V 工作溫度:-55°C ~ 125°C 安裝類型:表面貼裝 封裝/外殼:8-TSSOP,8-MSOP(0.118",3.00mm 寬) 供應(yīng)商設(shè)備封裝:8-MSOP 包裝:帶卷 (TR) 其它名稱:MIC284-2BMMTRMIC284-2BMMTR-ND
TMP03FS-REEL 功能描述:IC SENSOR TEMP/SERIAL OC 8SOIC RoHS:否 類別:集成電路 (IC) >> PMIC - 熱管理 系列:- 標(biāo)準(zhǔn)包裝:2,500 系列:SilentSense™ 功能:溫度監(jiān)控系統(tǒng)(傳感器) 傳感器類型:內(nèi)部和外部 感應(yīng)溫度:-55°C ~ 125°C,外部傳感器 精確度:±2°C 本地(最大),±3°C 遠程(最大) 拓撲:ADC(三角積分型),比較器,寄存器庫 輸出類型:I²C?/SMBus? 輸出警報:是 輸出風(fēng)扇:是 電源電壓:2.7 V ~ 5.5 V 工作溫度:-55°C ~ 125°C 安裝類型:表面貼裝 封裝/外殼:8-TSSOP,8-MSOP(0.118",3.00mm 寬) 供應(yīng)商設(shè)備封裝:8-MSOP 包裝:帶卷 (TR) 其它名稱:MIC284-2BMMTRMIC284-2BMMTR-ND
TMP03FSZ 功能描述:IC SENSOR TEMP/SERIAL OC 8SOIC RoHS:是 類別:集成電路 (IC) >> PMIC - 熱管理 系列:- 標(biāo)準(zhǔn)包裝:2,500 系列:SilentSense™ 功能:溫度監(jiān)控系統(tǒng)(傳感器) 傳感器類型:內(nèi)部和外部 感應(yīng)溫度:-55°C ~ 125°C,外部傳感器 精確度:±2°C 本地(最大),±3°C 遠程(最大) 拓撲:ADC(三角積分型),比較器,寄存器庫 輸出類型:I²C?/SMBus? 輸出警報:是 輸出風(fēng)扇:是 電源電壓:2.7 V ~ 5.5 V 工作溫度:-55°C ~ 125°C 安裝類型:表面貼裝 封裝/外殼:8-TSSOP,8-MSOP(0.118",3.00mm 寬) 供應(yīng)商設(shè)備封裝:8-MSOP 包裝:帶卷 (TR) 其它名稱:MIC284-2BMMTRMIC284-2BMMTR-ND