Bandgap Theory
The equations behind the bandgap reference. Numbers are pre-layout simulation in the typical (tt) corner.
Two diode-connected PNPs carry the same current . Q2 is eight unit devices in parallel, so its current density is eight times lower and its is smaller by
An error amplifier forces the two branch voltages and to be equal, which puts all of across R1. That sets a PTAT bias current:
A third PMOS copies into R2 and a third unit PNP, Q3:
The first term falls with temperature and the second rises. The ratio sets the balance, and since it's a ratio of matched resistors, the absolute resistor value cancels out. xschem's symbol annotations estimate = 11.4 kΩ and = 102 kΩ from sheet resistance, a ratio of 8.9. In simulation the PDK model gives = 14.5 kΩ. The simulation measures 54.5 mV across R1, matching = 53.7 mV, which sets = 3.75 µA per branch at 27 °C.
The slope isn't perfectly linear, so a first-order bandgap always leaves a slight bow in its curve. The ratio that puts VREF at exactly 1.200 V places the peak of that bow near −40 °C, not mid-range. Lengthening R2 trades a higher VREF for a flatter curve:
| R2 length | VREF at 27 °C | Drift (−40 to 125 °C) |
|---|---|---|
| 17.77 µm (this design) | 1.200 V | 73 ppm/°C |
| 18.4 µm | 1.217 V | 33 ppm/°C |
References
- B. Razavi, Design of Analog CMOS Integrated Circuits, 2nd ed., McGraw-Hill, 2017, ch. 12 (bandgap references).
- P. R. Gray, P. J. Hurst, S. H. Lewis, R. G. Meyer, Analysis and Design of Analog Integrated Circuits, 5th ed., Wiley, 2009, ch. 4.
- SkyWater, SKY130 PDK documentation, https://skywater-pdk.readthedocs.io