How the Calibration Procedure
Works
(Continued)
and V
beo
is the transistor’s base-emitter voltage at the refer-
ence temperature, T
0
. The above equation can be re-written
as
V
BE
= (sum of linear temp terms)
+ (sum of non-linear temp terms) (3)
where the first two terms of Equation (1) are linear and the
last two terms are non-linear. The non-linear terms were
shown by Widlar to be relatively small and thus will be
considered later.
Let us define a base voltage, V
b
, which is a linear function of
temperature as: V
b
=C
1
T. This voltage may be repre-
sented by the circuit in Figure 1. The emitter voltage is V
e
=
V
b
−V
be
which becomes:
If V
e
is defined as being equal to C
2
atT=T
0
, then the above
equation may be solved for C
1
. Doing so gives:
(4)
Using this value for C
1
in the equation for V
e
gives:
(5)
If V
e
is differentiated with respect to temperature, T, Equation
(4) becomes dV
e
/dT = (C
2
+V
G0
)/T
0
.
This equation shows that if V
b
is adjusted at T
0
to give V
e
=
C
2
, then the rate of change of V
e
with respect to temperature
will be a constant, independent of the value of V
b
, the
transistor’s beta or V
be
. To proceed, consider the case where
V
e
=C
2
= 0 at T
0
= 0˚C. Then
Therefore, if V
e
is trimmed to be equal to (4.47 mV) T (in ˚C)
for each degree of displacement from 0˚C, then the trimming
can be done at ambient temperatures.
In practice, the two non-linear terms in Equation (1) are
found to be quadratic for positive temperatures. Tsividis
(6)
showed that the bandgap voltage, V
0
, is not linear with
respect to temperature and causes nonlinear terms which
become significant for negative temperatures (below 0˚C).
The sum of these errors causes an error term which has an
approximately square-law characteristic and is thus compen-
sated by the curvature compensation circuit of Figure 7.
A Unique Compensation Circuit
As mentioned earlier, the base-emitter voltage, V
BE
, is not a
linear function with respect to temperature. In practice, the
nonlinearity of this function may be approximated as having
a square-law characteristic. Therefore, the inherent
non-linearity of the transistor and diode may be corrected by
introducing a current with a square-law characteristic into the
indicated node of Figure 4. Here’s how the circuit of Figure 7
works: transistors Q1 and Q2 are used to establish currents
in the other three transistors. The current through Q1 and Q2
is linearly proportional to absolute temperature, I
PTAT
,asis
the current through transistor Q5 and resistor R
B
. The cur-
rent through resistor R
A
is a decreasing function of tempera-
ture since it is proportional to the V
BE
of transistor Q4. The
emitter current of Q3 is equal to the sum of the current
through Q5 and the current through R
A
, and thus Q3’s
collector current is a constant with respect to temperature.
The current through transistor Q4, I
C4
, will be used to com-
pensate for the V
BE
nonlinearities and is found with the use
of the following equation:
where V
BE4
=V
BE1
+V
BE2
−V
BE3
.
From the above logarithmic relationship, it is apparent that
I
C4
becomes
00905107
FIGURE 7.
AN-460
www.national.com 4
A Unique Compensation Circuit
(Continued)
Thus, a current which has a square law characteristic and is
PTAT
2
, is generated for use as a means of curvature correc-
tion.
Processing and Layout
The sensor is constructed using conventional bipolar epi-
taxial linear processing. SiCr thin-film resistors are used in
place of their diffused counterparts as a result of their better
tempco matching, an important consideration for resistors
which must track over temperature. Such resistors include
R1 and nR1 of the bandgap circuit.
Another point of interest in the construction of the device
centers around transistors Q1 and Q2 of Figure 4. In order
for the circuit to retain its accuracy over temperature, the
leakage currents of each transistor, which can become quite
significant at high temperatures, must be equal so that their
effects will cancel one another. If the geometries of the two
transistors were equivalent, then their leakage currents
would be also, but since Q1 has ten times the emitter area of
Q2, the accuracy of the device could suffer. To correct the
problem, the circuit is built with Q1 and Q2 each replaced by
a transistor group consisting of both Q1 and Q2. These
transistor groups have equivalent geometries so that their
leakage currents will cancel, but only one transistor of each
group, representing Q1 in one group and Q2 in the other pair
is used in the temperature sensing circuit. A circuit diagram
demonstrating this idea is shown in Figure 8.
Using the LM34
The LM34 is a versatile device which may be used for a wide
variety of applications, including oven controllers and remote
temperature sensing. The device is easy to use (there are
only three terminals) and will be within 0.02˚F of a surface to
which it is either glued or cemented. The TO-46 package
allows the user to solder the sensor to a metal surface, but in
doing so, the GND pin will be at the same potential as that
metal. For applications where a steady reading is desired
despite small changes in temperature, the user can solder
the TO-46 package to a thermal mass. Conversely, the
thermal time constant may be decreased to speed up re-
sponse time by soldering the sensor to a small heat fin.
Fahrenheit Temperature Sensors
As mentioned earlier, the LM34 is easy to use and may be
operated with either single or dual supplies. Figure 9 shows
a simple Fahrenheit temperature sensor using a single sup-
ply. The output in this configuration is limited to positive
temperatures. The sensor can be used with a single supply
over the full −50˚F to +300˚F temperature range, as seen in
Figure 10, simply by adding a resistor from the output pin to
ground, connecting two diodes in series between the GND
pin and the circuit ground, and taking a differential reading.
This allows the LM34 to sink the necessary current required
for negative temperatures. If dual supplies are available, the
sensor may be used over the full temperature range by
merely adding a pull-down resistor from the output to the
negative supply as shown in Figure 11. The value of this
resistor should be |−V
S
|/50 µA.
For applications where the sensor has to be located quite a
distance from the readout circuitry, it is often expensive and
inconvenient to use the standard 3-wire connection. To over-
come this problem, the LM34 may be connected as a
two-wire remote temperature sensor. Two circuits to do this
are shown in Figure 12 and Figure 13. When connected as a
remote temperature sensor, the LM34 may be thought of as
a temperature-dependent current source. In both configura-
tions the current has both a relatively large value,
00905108
FIGURE 8.
AN-460
www.national.com5
Fahrenheit Temperature Sensors
(Continued)
(20 µA/˚F) x (T
A
+ 3˚F),
and less offset when compared to other sensors. In fact, the
current per degree Fahrenheit is large enough to make the
output relatively immune to leakage currents in the wiring.
Temperature to Digital Converters
For interfacing with digital systems, the output of the LM34
may be sent through an analog to digital converter (ADC) to
provide either serial or parallel data outputs as shown in
Figure 14 and Figure 15. Both circuits havea0to+128˚F
scale. The scales are set by adjusting an external voltage
reference to each ADC so that the full 8 bits of resolution will
be applied over a reduced analog input range. The serial
output ADC uses an LM385 micropower voltage reference
diode to set its scale adjust (V
REF
pin) to 1.28V, while the
parallel output ADC uses half of an LM358 low power dual op
amp configured as a voltage follower to set its V
REF
/2 pin to
0.64V. Both circuits are operated with standard 5V supplies.
Basic Fahrenheit Temperature Sensor
(+5˚ to +300˚F)
00905109
FIGURE 9.
Temperature Sensor, Single Supply,
−50˚ to +300˚F
00905110
FIGURE 10.
Full-Range Fahrenheit Temperature Sensor
00905111
FIGURE 11.
AN-460
www.national.com 6

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