The silicon bandgap temperature sensor is an extremely common form of temperature sensor (thermometer) used in electronic equipment. Its main advantage is that it can be included in a silicon integrated circuit at very low cost. The principle of the sensor is that the forward voltage of a silicon diode, which may be the base-emitter junction of a bipolar junction transistor (BJT), is temperature-dependent, according to the following equation:[1]
VBE=VG0\left(1-{
T | |
T0 |
T = temperature in kelvins,
T0 = reference temperature,
VG0 = bandgap voltage at absolute zero,
VBE0 = junction voltage at temperature T0 and current IC0,
k = Boltzmann constant,
q = charge on an electron,
n = a device-dependent constant.
By comparing the voltages of two junctions at the same temperature, but at two different currents, IC1 and IC2, many of the variables in the above equation can be eliminated, resulting in the relationship:
\DeltaVBE=
kT | ⋅ ln\left( | |
q |
IC1 | |
IC2 |
\right)
Note that the junction voltage is a function of current density, i.e. current/junction area, and a similar output voltage can be obtained by operating the two junctions at the same current, if one is of a different area to the other.
A circuit that forces IC1 and IC2 to have a fixed N:1 ratio,[2] gives the relationship:
\DeltaVBE=
kT | |
q |
⋅ ln\left(N\right)
The voltage difference between two p-n junctions (e.g. diodes), operated at different current densities, is proportional to absolute temperature (PTAT).
PTAT circuits using either BJT or CMOS transistors are widely used in temperature sensors (where we want the output to vary with temperature), and also in bandgap voltage references and other temperature-compensating circuits (where we want the same output at every temperature).[2] [3] [4]
If high precision is not required it is enough to bias a diode with any constant low current and use its −2 mV/˚C thermal coefficient for temperature calculation, however this requires calibration for each diode type. This method is common in monolithic temperature sensors.