Latest
Electronics · 4 min read

How a Bandgap Reference Works: Cancelling Temperature with PTAT and CTAT

Why almost every chip contains a bandgap reference, how adding a CTAT and a PTAT voltage gives about 1.2 V that barely moves with temperature, and how to read its datasheet numbers.

ADCs, LDO regulators, sensors and oscillators all need a voltage they can trust: one that stays the same whether the chip is cold, hot, or running from a sagging battery. The circuit that provides it is the bandgap reference, and it is one of the most elegant ideas in analog design.

The idea in one sentence

Find one voltage that falls with temperature, find another that rises with temperature, and add them in the right ratio so the slopes cancel.

The CTAT voltage: \(V_{BE}\)

The base-emitter voltage of a forward-biased bipolar transistor (BJT) decreases as temperature rises. Near room temperature its slope is about

\[\frac{\partial V_{BE}}{\partial T} \approx -2\ \text{mV/K}\]

A voltage that falls with temperature is called CTAT (complementary to absolute temperature). In a standard CMOS process, designers use the parasitic vertical PNP transistor that comes for free with the process.

The PTAT voltage: \(\Delta V_{BE}\)

Now bias two identical BJTs at different current densities, for example the same current through one transistor and through \(n\) transistors in parallel. The difference between their base-emitter voltages is

\[\Delta V_{BE} = V_T \ln n, \qquad V_T = \frac{kT}{q}\]

Since \(V_T\) is proportional to absolute temperature, so is \(\Delta V_{BE}\). Its slope is

\[\frac{\partial \Delta V_{BE}}{\partial T} = \frac{k}{q}\ln n \approx 0.0862 \ln n\ \ \text{mV/K}\]

This is a PTAT (proportional to absolute temperature) voltage. It is small (for \(n = 8\) it is only about 54 mV at room temperature), but it can be amplified with a resistor ratio.

Adding them up

The reference voltage is

\[V_{REF} = V_{BE} + K\,V_T \ln n\]

For zero temperature coefficient, the slopes must cancel:

\[K \ln n \times 0.0862\ \text{mV/K} \approx 2\ \text{mV/K} \;\Rightarrow\; K \ln n \approx 23\]

Substituting \(V_{BE} \approx 0.65\) V and \(V_T \approx 25.9\) mV at 300 K:

\[V_{REF} \approx 0.65 + 23 \times 0.0259 \approx 1.25\ \text{V}\]

That number is no coincidence. It lands close to the bandgap energy of silicon (about 1.2 eV, extrapolated to 0 K), which is how the circuit got its name.

In the classic op-amp-based topology, an amplifier forces two nodes to the same voltage, the \(\Delta V_{BE}\) appears across a resistor and becomes a PTAT current, and a second resistor scales it. The factor \(K\) is set by a resistor ratio, which matches very well on-chip even when absolute resistor values vary by 20% or more.

Reading the datasheet numbers

Metric Meaning Typical unit
Temperature coefficient (TC) How much \(V_{REF}\) moves over the temperature range ppm/°C
Line sensitivity How much \(V_{REF}\) moves with supply voltage %/V or mV/V
PSRR Rejection of supply noise at a given frequency dB
Power Total supply current × voltage µW or nW

The box-method TC is

\[TC = \frac{V_{max} - V_{min}}{V_{nom}\,(T_{max} - T_{min})} \times 10^6\ \ \text{ppm/°C}\]

For example, a 1.2 V reference that varies by 2.4 mV over a 125 °C range has a TC of 16 ppm/°C.

Beyond the classic bandgap

  • Curvature. \(V_{BE}\) is not perfectly linear in temperature, so a first-order bandgap leaves a small parabolic error. Curvature-correction techniques reduce it further.
  • Sub-1 V references. Modern supplies can be below 1.2 V. Current-mode designs sum PTAT and CTAT currents into a resistor to produce a lower, scaled reference.
  • Ultra-low-power references. Implantable and IoT devices need references that consume only a few microwatts or less. Designs using MOSFETs in subthreshold, sometimes without resistors at all, are an active research area because large resistors cost a lot of silicon area at nanoampere currents.

Key takeaways

  • \(V_{BE}\) falls about 2 mV/K (CTAT), and \(\Delta V_{BE} = V_T \ln n\) rises (PTAT).
  • Weighting and adding them cancels the first-order temperature dependence, giving about 1.2 V.
  • Accuracy comes from ratios (resistor ratio, transistor area ratio), not absolute values. That theme runs through all of analog IC design.

#analog#bandgap#voltage-reference#low-power

LearnSilicon

Clear, practical articles on VLSI, chip design and electronics, from first principles. About LearnSilicon →