LM34/LM35
Precision Monolithic
Temperature Sensors
Introduction
Most commonly-used electrical temperature sensors are dif-
ficult to apply. For example, thermocouples have low output
levels and require cold junction compensation. Thermistors
are nonlinear. In addition, the outputs of these sensors are
not linearly proportional to any temperature scale. Early
monolithic sensors, such as the LM3911, LM134 and LM135,
overcame many of these difficulties, but their outputs are
related to the Kelvin temperature scale rather than the more
popular Celsius and Fahrenheit scales. Fortunately, in 1983
two I.C.’s, the LM34 Precision Fahrenheit Temperature Sen-
sor and the LM35 Precision Celsius Temperature Sensor,
were introduced. This application note will discuss the LM34,
but with the proper scaling factors can easily be adapted to
the LM35.
The LM34 has an output of 10 mV/˚F with a typical nonlin-
earity of only
±
0.35˚F over a −50 to +300˚F temperature
range, and is accurate to within
±
0.4˚F typically at room
temperature (77˚F). The LM34’s low output impedance and
linear output characteristic make interfacing with readout or
control circuitry easy. An inherent strength of the LM34 over
other currently available temperature sensors is that it is not
as susceptible to large errors in its output from low level
leakage currents. For instance, many monolithic tempera-
ture sensors have an output of only 1 µA/˚K. This leads to a
1˚K error for only 1 µ-Ampere of leakage current. On the
other hand, the LM34 may be operated as a current mode
device providing 20 µA/˚F of output current. The same 1 µA
of leakage current will cause an error in the LM34’s output of
only 0.05˚F (or 0.03˚K after scaling).
Low cost and high accuracy are maintained by performing
trimming and calibration procedures at the wafer level. The
device may be operated with either single or dual supplies.
With less than 70 µA of current drain, the LM34 has very little
self-heating (less than 0.2˚F in still air), and comes in a
TO-46 metal can package, a SO-8 small outline package
and a TO-92 plastic package.
Forerunners to the LM34
The making of a temperature sensor depends upon exploit-
ing a property of some material which is a changing function
of temperature. Preferably this function will be a linear func-
tion for the temperature range of interest. The base-emitter
voltage (V
BE
) of a silicon NPN transistor has such a tem-
perature dependence over small ranges of temperature.
Unfortunately, the value of V
BE
varies over a production
range and thus the room temperature calibration error is not
specified nor guaranteeable in production. Additionally, the
temperature coefficient of about −2 mV/˚C also has a toler-
ance and spread in production. Furthermore, while the
tempo may appear linear over a narrow temperature, there is
a definite nonlinearity as large as 3˚C or 4˚C over a full
−55˚C to +150˚C temperature range.
Another approach has been developed where the difference
in the base-emitter voltage of two transistors operated at
different current densities is used as a measure of tempera-
ture. It can be shown that when two transistors, Q1 and Q2,
are operated at different emitter current densities, the differ-
ence in their base-emitter voltages, V
BE
,is
(1)
where k is Boltzman’s constant, q is the charge on an
electron, T is absolute temperature in degrees Kelvin and
J
E1
and J
E2
are the emitter current densities of Q1 and Q2
respectively. A circuit realizing this function is shown in Fig-
ure 1.
Equation (1) implies that as long as the ratio of I
E1
to I
E2
is
held constant, then V
BE
is a linear function of temperature
(this is not exactly true over the whole temperature range,
but a correction circuit for the nonlinearity of V
BE1
and V
BE2
will be discussed later). The linearity of this V
BE
with tem-
perature is good enough that most of today’s monolithic
temperature sensors are based upon this principle.
An early monolithic temperature sensor using the above
principle is shown in Figure 2. This sensor outputs a voltage
which is related to the absolute temperature scale by a factor
of 10 mV per degree Kelvin and is known as the LM135. The
circuit has a V
BE
of approximately
(0.2 mV/˚K) x (T)
developed across resistor R. The amplifier acts as a servo to
enforce this condition. The V
BE
appearing across resistor R
is then multiplied by the resistor string consisting of R and
the 26R and 23R resistors for an output voltage of
(10 mV/˚K) x (T). The resistor marked 100R is used for offset
trimming. This circuit has been very popular, but such Kelvin
temperature sensors have the disadvantage of a large con-
stant output voltage of 2.73V which must be subtracted for
use as a Celsius-scaled temperature sensor.
00905101
FIGURE 1.
National Semiconductor
Application Note 460
October 1986
LM34/LM35 Precision Monolithic Temperature Sensors AN-460
© 2002 National Semiconductor Corporation AN009051 www.national.com
Forerunners to the LM34 (Continued)
Various sensors have been developed with outputs which
are proportional to the Celsius temperature scale, but are
rather expensive and difficult to calibrate due to the large
number of calibration steps which have to be performed.
Gerard C.M. Meijer
(4)
has developed a circuit which claims
to be inherently calibrated if properly trimmed at any one
temperature. The basic structure of Meijer’s circuit is shown
in Figure 3. The output current has a temperature coefficient
of 1 µA/˚C. The circuit works as follows: a current which is
proportional to absolute temperature, I
PTAT
, is generated by
a current source. Then a current which is proportional to the
V
BE
drop of transistor Q4 is subtracted from I
PTAT
to get the
output current, I
O
. Transistor Q4 is biased by means of a
PNP current mirror and transistor Q3, which is used as a
feedback amplifier. In Meijer’s paper it is claimed that the
calibration procedure is straightforward and can be per-
formed at any temperature by trimming resistor R4 to adjust
the sensitivity, dI
O
/dT, and then trimming a resistor in the
PTAT current source to give the correct value of output
current for the temperature at which the calibration is being
performed.
Meijer’s Celsius temperature sensor has problems due to its
small output signal (i.e., the output may have errors caused
by leakage currents). Another problem is the trim scheme
requires the trimming of two resistors to a very high degree
of accuracy. To overcome these problems the circuits of
Figure 4 (an LM34 Fahrenheit temperature sensor) and
Figure 5 (an LM35 Celsius temperature sensor) have been
developed to have a simpler calibration procedure, an output
voltage with a relatively large tempco, and a curvature com-
pensation circuit to account for the non-linear characteristics
of V
BE
versus temperature. Basically, what happens is tran-
sistors Q1 and Q2 develop a V
BE
across resistor R1. This
voltage is multiplied across resistor nR1. Thus at the
non-inverting input of amplifier A2 is a voltage two diode
drops below the voltage across resistor nR1. This voltage is
then amplified by amplifier A2 to give an output proportional
to whichever temperature scale is desired by a factor of 10
mV per degree.
Circuit Operation
Since the two circuits are very similar, only the LM34 Fahr-
enheit temperature sensor will be discussed in greater detail.
The circuit operates as follows:
Transistor Q1 has 10 times the emitter area of transistor Q2,
and therefore, one-tenth the current density. From Figure 4,
it is seen that the difference in the current densities of Q1
and Q2 will develop a voltage which is proportional to abso-
lute temperature across resistor R
1
. At 77˚F this voltage will
be 60 mV. As in the Kelvin temperature sensor, an amplifier,
A1, is used to insure that this is the case by servoing the
base of transistor Q1 to a voltage level, V
PTAT
,ofV
BE
xn.
The value of n will be trimmed during calibration of the de-
vice to give the correct output for any temperature.
00905102
FIGURE 2.
00905103
FIGURE 3.
00905104
FIGURE 4.
AN-460
www.national.com 2
Circuit Operation (Continued)
For purposes of discussion, suppose that a value of V
PTAT
equal to 1.59V will give a correct output of 770 mV at 77˚F.
Then n will be equal to V
PTAT
/V
BE
or 1.59V/60 mV = 26.5,
and V
PTAT
will have a temperature coefficient (tempco) of:
Subtracting two diode drops of 581 mV (at 77˚F) with temp-
cos of −2.35 mV/˚C each, will result in a voltage of 428 mV
with a tempco of 10 mV/˚C at the non-inverting input of
amplifier A2. As shown, amplifier A2 has a gain of 1.8 which
provides the necessary conversion to 770 mV at 77˚F
(25˚C). A further example would be if the temperature were
32˚F (0˚C), then the voltage at the input of A2 would be 428
mV–(10 mV/˚C) (25˚C) = 0.178, which would give V
OUT
=
(0.178) (1.8) = 320 mV the correct value for this tempera-
ture.
Easy Calibration Procedure
The circuit may be calibrated at any temperature by adjust-
ing the value of the resistor ratio factor n. Note that the value
of n is dependent on the actual value of the voltage drop
from the two diodes since n is adjusted to give a correct
value of voltage at the output and not to a theoretical value
for PTAT. The calibration procedure is easily carried out by
opening or shorting the links of a quasi-binary trim network
like the one shown in Figure 6. The links may be opened to
add resistance by blowing an aluminum fuse, or a resistor
may be shorted out of the circuit by carrying out a
“zener-zap”. The analysis in the next section shows that
when the circuit is calibrated at a given temperature, then the
circuit will be accurate for the full temperature range.
How the Calibration Procedure
Works
Widlar
(5)
has shown that a good approximation for the
base-emitter voltage of a transistor is:
(2)
where T is the temperature in ˚Kelvin, T
0
is a reference
temperature, V
GO
is the bandgap of silicon, typically 1.22V,
00905105
FIGURE 5.
00905106
FIGURE 6.
AN-460
www.national.com3

604-00011

Mfr. #:
Manufacturer:
Parallax
Description:
Board Mount Temperature Sensors LM34 Temp Sensor
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet