a
FEATURES
Low Cost 3-Pin Package
Modulated Serial Digital Output
Proportional to Temperature
1.5 C Accuracy (typ) from –25 C to +100 C
Specified –40 C to +100 C, Operation to 150 C
Power Consumption 6.5 mW Max at 5 V
Flexible Open-Collector Output on TMP03
CMOS/TTL-Compatible Output on TMP04
Low Voltage Operation (4.5 V to 7 V)
APPLICATIONS
Isolated Sensors
Environmental Control Systems
Computer Thermal Monitoring
Thermal Protection
Industrial Process Control
Power System Monitors
Serial Digital Output Thermometers
TMP03/TMP04
FUNCTIONAL BLOCK DIAGRAM
TMP03/TMP04
TEMPERATURE
SENSOR
VPTAT
DIGITAL
MODULATOR
V
REF
1
D
OUT
2
V+
3
GND
PACKAGE TYPES AVAILABLE
TO-92
GENERAL DESCRIPTION
The TMP03/TMP04 are monolithic temperature detectors that
generate a modulated serial digital output that varies in direct
proportion to the temperature of the device. An onboard sensor
generates a voltage precisely proportional to absolute tempera-
ture which is compared to an internal voltage reference and
input to a precision digital modulator. The ratiometric encoding
format of the serial digital output is independent of the clock drift
errors common to most serial modulation techniques such as
voltage-to-frequency converters. Overall accuracy is
±
1.5°C
(typical) from –25°C to +100°C, with excellent transducer lin-
earity. The digital output of the TMP04 is CMOS/TTL
compatible, and is easily interfaced to the serial inputs of most
popular microprocessors. The open-collector output of the
TMP03 is capable of sinking 5 mA. The TMP03 is best suited
for systems requiring isolated circuits utilizing optocouplers or
isolation transformers.
The TMP03 and TMP04 are specified for operation at supply
voltages from 4.5 V to 7 V. Operating from 5 V, supply current
(unloaded) is less than 1.3 mA.
The TMP03/TMP04 are rated for operation over the –40°C to
+100°C temperature range in the low cost TO-92, SO-8, and
TSSOP-8 surface mount packages. Operation extends to 150°C
with reduced accuracy.
(continued on page 4)
TMP03/TMP04
1
D
OUT
2
V+
3
GND
BOTTOM VIEW
(Not to Scale)
SO-8
D
OUT
1
V+ 2
GND 3
8 NC
TMP03/
TMP04
7 NC
TOP VIEW
6 NC
(Not to Scale)
5 NC
NC 4
NC = NO CONNECT
Rev. B
Document Feedback
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781.329.4700 ©2002–2016 Analog Devices, Inc. All rights reserved.
Technical Support
www.analog.com
Information furnished by Analog Devices is believed to be accurate and reliable. However, no
responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other
rights of third parties that may result from its use. Specifications subject to change without notice. No
license is granted by implication or otherwise under any patent or patent rights of Analog Devices.
Trademarks and registered trademarks are the property of their respective owners.
TMP03/TMP04–SPECIFICATIONS
TMP03F
(V+ = 5 V, –40 C
≤
T
≤
100 C, unless otherwise noted.)
A
Parameter
ACCURACY
Temperature Error
Temperature Linearity
Long-Term Stability
Nominal Mark-Space Ratio
Nominal T1 Pulsewidth
Power Supply Rejection Ratio
OUTPUTS
Output Low Voltage
Output Low Voltage
Output Low Voltage
Digital Output Capacitance
Fall Time
Device Turn-On Time
POWER SUPPLY
Supply Range
Supply Current
Symbol
Conditions
–25°C < T
A
< +100°C
1
–40°C < T
A
< –25°C
1
Min
Typ
1.5
2.0
0.5
0.5
58.8
10
0.7
Max
4.0
5.0
Unit
°C
°C
°C
°C
%
ms
°C/V
T1/T2
T1
PSRR
1000 Hours at 125°C
T
A
= 0°C
Over Rated Supply
T
A
= 25°C
I
SINK
= 1.6 mA
I
SINK
= 5 mA
0°C < T
A
< 100°C
I
SINK
= 4 mA
–40°C < T
A
< 0°C
(Note 2)
See Test Load
1.4
V
OL
V
OL
V
OL
C
OUT
t
HL
0.2
2
2
15
150
20
4.5
7
1.3
V
V
V
pF
ns
ms
V
mA
V+
I
SY
Unloaded
0.9
NOTES
1
Maximum deviation from output transfer function over specified temperature range.
2
Guaranteed but not tested.
Specifications subject to change without notice.
Test Load
10 kΩ to 5 V Supply, 100 pF to Ground
TMP04F
Parameter
(V+ = 5 V, –40 C
≤
T
A
≤
100 C, unless otherwise noted.)
Symbol
Conditions
T
A
= 25°C
–25°C < T
A
< +100°C
1
–40°C < T
A
< –25°C
1
T1/T2
T1
PSRR
1000 Hours at 125°C
T
A
= 0°C
Over Rated Supply
T
A
= 25°C
I
OH
= 800
µA
I
OL
= 800
µA
(Note 2)
See Test Load
See Test Load
V+ –0.4
0.4
15
200
160
20
4.5
Unloaded
0.9
7
1.3
Min
Typ
1.0
1.5
2.0
0.5
0.5
58.8
10
0.7
Max
3.0
4.0
5.0
Unit
°C
°C
°C
°C
°C
%
ms
°C/V
ACCURACY
Temperature Error
Temperature Linearity
Long-Term Stability
Nominal Mark-Space Ratio
Nominal T1 Pulsewidth
Power Supply Rejection Ratio
OUTPUTS
Output High Voltage
Output Low Voltage
Digital Output Capacitance
Fall Time
Rise Time
Device Turn-On Time
POWER SUPPLY
Supply Range
Supply Current
1.2
V
OH
V
OL
C
OUT
t
HL
t
LH
V
V
pF
ns
ns
ms
V
mA
V+
I
SY
NOTES
1
Maximum deviation from output transfer function over specified temperature range.
2
Guaranteed but not tested.
Specifications subject to change without notice.
Test Load
100 pF to Ground
–2–
REV.
B
TMP03/TMP04
ABSOLUTE MAXIMUM RATINGS*
Maximum Supply Voltage . . . . . . . . . . . . . . . . . . . . . . . . . 9 V
Maximum Output Current (TMP03 D
OUT
) . . . . . . . . . 50 mA
Maximum Output Current (TMP04 D
OUT
) . . . . . . . . . 10 mA
Maximum Open-Collector Output Voltage (TMP03) . . . 18 V
Operating Temperature Range . . . . . . . . . . –55°C to +150°C
Dice Junction Temperature . . . . . . . . . . . . . . . . . . . . . . 175°C
Storage Temperature Range . . . . . . . . . . . . –65°C to +160°C
Lead Temperature (Soldering, 60 sec) . . . . . . . . . . . . . 300°C
*CAUTION
1
Stresses above those listed under Absolute Maximum Ratings may cause perma-
nent damage to the device. This is a stress rating only; functional operation at or
above this specification is not implied. Exposure to the above maximum rating
conditions for extended periods may affect device reliability.
2
Digital inputs and outputs are protected, however, permanent damage may occur
on unprotected units from high-energy electrostatic fields. Keep units in conduc-
tive foam or packaging at all times until ready to use. Use proper antistatic
handling procedures.
3
Remove power before inserting or removing units from their sockets.
Package Type
JA
JC
Units
°C/W
°C/W
T-3-1
R-8
162
1
158
1
120
43
NOTE
1
Θ
JA
is specified for device in socket (worst case conditions).
ORDERING GUIDE
Model
1
TMP03FS
TMP03FSZ
TMP03FSZ-REEL
TMP03FT9
TMP03FT9Z
TMP04FS
TMP04FS-REEL
TMP04FSZ
TMP04FSZ-REEL
TMP04FT9
TMP04FT9Z
1
Temperature Range
−40°C to +85°C
−40°C to +85°C
−40°C to +85°C
−40°C to +85°C
−40°C to +85°C
−40°C to +85°C
−40°C to +85°C
−40°C to +85°C
−40°C to +85°C
−40°C to +85°C
−40°C to +85°C
Package Description
8-Lead SOIC_N
8-Lead SOIC_N
8-Lead SOIC_N
3-Lead TO-92
3-Lead TO-92
8-Lead SOIC_N
8-Lead SOIC_N
8-Lead SOIC_N
8-Lead SOIC_N
3-Lead TO-92
3-Lead TO-92
Package Option
R-8
R-8
R-8
T-3-1
T-3-1
R-8
R-8
R-8
R-8
T-3-1
T-3-1
Z = RoHS Compliant Part.
CAUTION
ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily
accumulate on the human body and test equipment and can discharge without detection.
Although the TMP03 features proprietary ESD protection circuitry, permanent damage may
occur on devices subjected to high-energy electrostatic discharges. Therefore, proper ESD
precautions are recommended to avoid performance degradation or loss of functionality.
WARNING!
ESD SENSITIVE DEVICE
REV. B
–3–
TMP03/TMP04
(continued from page 1)
The TMP03 is a powerful, complete temperature measurement
system with digital output, on a single chip. The onboard tem-
perature sensor follows in the footsteps of the TMP01 low
power programmable temperature controller, offering excellent
accuracy and linearity over the entire rated temperature range
without correction or calibration by the user.
The sensor output is digitized by a first-order sigma-delta
modulator, also known as the “charge balance” type analog-to-
digital converter. (See Figure 1.) This type of converter utilizes
time-domain oversampling and a high accuracy comparator to
deliver 12 bits of effective accuracy in an extremely compact
circuit.
MODULATOR
INTEGRATOR
COMPARATOR
VOLTAGE REF
AND VPTAT
avoids major error sources common to other modulation tech-
niques, as it is clock-independent.
Output Encoding
1-BIT
DAC
Accurate sampling of an analog signal requires precise spacing
of the sampling interval in order to maintain an accurate repre-
sentation of the signal in the time domain. This dictates a
master clock between the digitizer and the signal processor. In
the case of compact, cost-effective data acquisition systems, the
addition of a buffered, high speed clock line can represent a
significant burden on the overall system design. Alternatively,
the addition of an onboard clock circuit with the appropriate
accuracy and drift performance to an integrated circuit can add
significant cost. The modulation and encoding techniques uti-
lized in the TMP03 avoid this problem and allow the overall
circuit to fit into a compact, 3-pin package. To achieve this, a
simple, compact onboard clock and an oversampling digitizer
that is insensitive to sampling rate variations are used. Most
importantly, the digitized signal is encoded into a ratiometric
format in which the exact frequency of the TMP03’s clock is
irrelevant, and the effects of clock variations are effectively can-
celed upon decoding by the digital filter.
The output of the TMP03 is a square wave with a nominal
frequency of 35 Hz (± 20%) at 25°C. The output format is
readily decoded by the user as follows:
T1
T2
CLOCK
GENERATOR
DIGITAL
FILTER
TMP03/04
OUT
(SINGLE-BIT)
Figure 1. TMP03 Block Diagram Showing First-Order
Sigma-Delta Modulator
Basically, the sigma-delta modulator consists of an input sampler, a
summing network, an integrator, a comparator, and a 1-bit
DAC. Similar to the voltage-to-frequency converter, this
architecture creates in effect a negative feedback loop whose
intent is to minimize the integrator output by changing the duty
cycle of the comparator output in response to input voltage
changes. The comparator samples the output of the integrator at
a much higher rate than the input sampling frequency, called
oversampling. This spreads the quantization noise over a much
wider band than that of the input signal, improving overall noise
performance and increasing accuracy.
The modulated output of the comparator is encoded using a
circuit technique
which results in a serial digi-
tal signal with a mark-space ratio format that is easily decoded
by any microprocessor into either degrees centigrade or degrees
Fahrenheit values, and readily transmitted or modulated over a
single wire. Most importantly, this encoding method neatly
Figure 2. TMP03 Output Format
400
×
T1
Temperature (°C) =
235
−
T
2
720
×
T1
Temperature (°F) =
455
−
T
2
The time periods T1 (high period) and T2 (low period) are
values easily read by a microprocessor timer/counter port, with
the above calculations performed in software. Since both peri-
ods are obtained consecutively, using the same clock,
performing the division indicated in the above formulas results
in a ratiometric value that is independent of the exact frequency
of, or drift in, either the originating clock of the TMP03 or the
user’s counting clock.
–4–
REV. B
TMP03/TMP04
Table I. Counter Size and Clock Frequency Effects on Quantization Error
Maximum
Count Available
4096
8192
16384
Optimizing Counter Characteristics
Maximum
Temp Required
125°C
125°C
125°C
Maximum
Frequency
94 kHz
188 kHz
376 kHz
Quantization
Error (25 C)
0.284°C
0.142°C
0.071°C
Quantization
Error (77 F)
0.512°F
0.256°F
0.128°F
Counter resolution, clock rate, and the resultant temperature
decode error that occurs using a counter scheme may be deter-
mined from the following calculations:
1. T1 is nominally 10 ms, and compared to T2 is relatively
insensitive to temperature changes. A useful worst-case
assumption is that T1 will never exceed 12 ms over the
specified temperature range.
T1 max = 12 ms
Substituting this value for T1 in the formula, temperature
(°C) = 235 – ([T1/T2]
×
400), yields a maximum value of
T2 of 44 ms at 125°C. Rearranging the formula allows the
maximum value of T2 to be calculated at any maximum
operating temperature:
T2 (Temp) = (T1max
×
400)/(235 – Temp) in seconds
2. We now need to calculate the maximum clock frequency we
can apply to the gated counter so it will not overflow during
T2 time measurement. The maximum frequency is calculated
using:
Frequency (max) = Counter Size/ (T2 at maximum
temperature)
Substituting in the equation using a 12-bit counter gives,
Fmax = 4096/44 ms 94 kHz.
3. Now we can calculate the temperature resolution, or quanti-
zation error, provided by the counter at the chosen clock
frequency and temperature of interest. Again, using a 12-bit
counter being clocked at 90 kHz (to allow for ~5% tempera-
ture over-range), the temperature resolution at 25°C is
calculated from:
Quantization Error (
°
C) =
400
×
([Count1/Count2] –
[Count1 –
1]/[Count2
+
1])
Quantization Error (
°
F) =
720
×
([Count1/Count2] –
[Count1 –
1]/[Count2
+
1])
where,
Count1
= T1max
×
Frequency, and
Count2
=
T2 (Temp)
×
Frequency. At 25°C this gives a resolution of
better than 0.3°C. Note that the temperature resolution
calculated from these equations improves as temperature
increases. Higher temperature resolution will be obtained by
employing larger counters as shown in Table I. The internal
quantization error of the TMP03 sets a theoretical minimum
resolution of approximately 0.1°C at 25°C.
Self-Heating Effects
with no load. In the TO-92 package mounted in free air, this
accounts for a temperature increase due to self-heating of
∆T
=
P
DISS
× θ
JA
= 4.5
mW
×
162°C/W = 0.73°C (1.3°F)
For a free-standing surface-mount TSSOP package, the tem-
perature increase due to self-heating would be
∆T
=
P
DISS
× θ
JA
= 4.5
mW
×
240°C/W = 1.08°C (1.9°F)
In addition, power is dissipated by the digital output which is
capable of sinking 800
µA
continuous (TMP04). Under full
load, the output may dissipate
T
2
P
DISS
=
(
0.6
V
)(
0.8
mA
)
T1
+
T
2
For example, with T2 = 20 ms and T1 = 10 ms, the power
dissipation due to the digital output is approximately 0.32 mW
with a 0.8 mA load. In a free-standing TSSOP package, this
accounts for a temperature increase due to output self-heating
of
∆T
=
P
DISS
× Θ
JA
= 0.32
mW
×
240°C/W = 0.08°C (0.14°F)
This temperature increase adds directly to that from the quies-
cent dissipation and affects the accuracy of the TMP03 relative
to the true ambient temperature. Alternatively, when the same
package has been bonded to a large plate or other thermal mass
(effectively a large heatsink) to measure its temperature, the
total self-heating error would be reduced to approximately
∆T
=
P
DISS
× Θ
JC
= (4.5
mW
+ 0.32
mW)
×
43°C/W = 0.21°C (0.37°F)
Calibration
The TMP03 and TMP04 are laser-trimmed for accuracy and
linearity during manufacture and, in most cases, no further
adjustments are required. However, some improvement in per-
formance can be gained by additional system calibration. To
perform a single-point calibration at room temperature, measure
the TMP03 output, record the actual measurement tempera-
ture, and modify the offset constant (normally 235; see the
Output Encoding section) as follows:
Offset Constant =
235
+
(T
OBSERVED
– T
TMP03OUTPUT
)
A more complicated 2-point calibration is also possible. This
involves measuring the TMP03 output at two temperatures,
Temp1 and Temp2, and modifying the slope constant (normally
400) as follows:
Slope Constant
=
Temp
2
−
Temp1
T1
@
Temp1
T1
@
Temp
2
−
T
2 @
Temp1
T
2 @
Temp
2
The temperature measurement accuracy of the TMP03 may be
degraded in some applications due to self-heating. Errors intro-
duced are from the quiescent dissipation, and power dissipated
by the digital output. The magnitude of these temperature er-
rors is dependent on the thermal conductivity of the TMP03
package, the mounting technique, and effects of airflow. Static
dissipation in the TMP03 is typically 4.5 mW operating at 5 V
where
T1
and
T2
are the output high and output low times,
respectively.
REV. B
–5–