Building on a handy Jim Williams' application note exploiting the predictable BJT VBE change with variable current for temperature measurements.
On June 12, 2011, the analog EE world lost a star when guru James M. Williams died. Jim’s hundreds of articles, books, and application notes were (and continue to be) a bottomless wellspring of information, inspiration, and the joy of seeing thorny design puzzles handily solved by a master, all wrapped up in a delightful writing style. The design idea presented here derives from one of his circuits published on page 7 of AN45 Measurement and Control Circuit Collection (Diapers and Designs on the Night Shift).
In his note, Jim discusses the appeal of using transistor VBE tempco as an inexpensive temperature sensor, but how in practice, its utility is limited by unpredictable transistor-to-transistor VBE variability. He explains how this problem necessitates initial sensor transistor calibration (and recalibration if the sensor ever needs replacement), which mostly cancels any expected convenience and cost savings.
Then Jim saves the day with an ingenious solution.
It turns out, says Jim, that although the constant-current VBE of a random transistor isn’t usefully predictable, BJT VBE change with variable-current is very predictable. Specifically, it reliably obeys this simple logarithmic equation…
∆VBE = Tabs 198µV LOG10(I1/I2)
Where Tabs = absolute temperature in oKelvin. Therefore, when used as a thermometer…
Tabs = ∆VBE 5050 / LOG10(I1/I2) = 5050 ∆VBE if I1/I2 = 10
Note the cool (and easily remembered) “fifty-fifty” constant!
Jim applies this relationship in the Figure 1 topology that’s said to put a 10:1 bias current cycle 1 onto Q2’s diode-connected NPN transistor, synchronously rectify the resulting 198µVpp / oK AC waveform, then amplify and offset the resulting DC to produce a 0 to 10V = 0 to 100oC, no sensor-transistor-specific calibration required, output.
Figure 1 Jim Williams’s ∆VBE-based thermometer.
I’ve used “fifty-fifty” in many successful thermometric applications and offer a new variation on the idea here in Figure 2’s OK-degrees-to-microseconds oscillator.
Figure 2 An oscillator that is an absolute thermometer.
The ∆VBE current ratio is set here by the R3/R4 resistor pair (plus a small contribution from the R1+R2 integrator network) to 16:1. This creates a temperature-proportional ∆VBE periodic step on A2 pin 7 of: LOG10 (16)/5050 = 238µV/OK whenever the A1 comparator switches the Q2 FET. I chose the larger 16 versus 10:1 current ratio to provide a somewhat easier signal for the op-amps to process, and to reduce the importance of some secondary potential error sources. C2 provides positive feedback to ensure the comparator transitions are quick and clean.
The A2 integrator then ramps from the ∆VBE step back toward A1’s 500mV setpoint as shown in Figure 3, generating symmetrical half-cycle timeouts of duration T = 10µs/OK = 3ms at 300OK = 27OC.
Figure 3 Thermometer oscillator waveforms.
Although as noted in the Willams application, the Q1 sensor transistor itself needs no calibration. Trimmer R1 is provided as one-point compensation mainly for integrator capacitor C1 and Vdd tolerances. Once R1 is adjusted, it need not be revisited even if Q1 is replaced.
The thermometer oscillator’s 0/5V output can be conveniently converted to a digital temperature readout by standard microcontroller timer hardware. At a clock rate of 1MHz, conversion resolution over one oscillation half-cycle period T is 0.1O.
This article was originally published on EDN.