Bandgap Reference
VREF is 1.200 V at 27 °C from a 1.8 V supply. Unless noted, all numbers below are pre-layout simulation in the typical (tt) corner.
Overview
A bandgap reference produces a voltage that barely moves with temperature, supply, or process. It works by adding two voltages with opposite temperature slopes. The base-emitter voltage of a bipolar transistor, , falls by about 2 mV/°C. The difference between the of two transistors run at different current densities, , rises in proportion to absolute temperature (PTAT). Scaled correctly, the sum is flat to first order. That flat value sits near the silicon bandgap voltage, which is where the name comes from.
| Parameter | Target | Simulated |
|---|---|---|
| Supply | 1.8 V | 1.8 V (works down to 1.51 V) |
| VREF at 27 °C | 1.2 V | 1.2000 V |
| Temperature drift, −40 to 125 °C | 14.4 mV, 73 ppm/°C | |
| Process corners (tt/ss/ff/sf/fs), VREF at 27 °C | 1.1974 to 1.2009 V | |
| Mismatch, 200-run Monte Carlo | σ ≈ 45 to 50 mV | |
| Line regulation, 1.62 to 1.98 V | 9.9 mV/V | |
| PSRR | −44 dB to 10 kHz, −40 dB at 1 MHz | |
| Supply current | 20 µA (36 µW) | |
| Start-up | must start unaided | settles 8.4 µs into a 10 µs VDD ramp |
| Loop stability | phase margin above 60° | 36 dB gain, 1.1 MHz crossover, 89° margin |
| Saturation, −40 to 125 °C, 1.62 to 1.8 V | every analog device saturated | worst margin 0.11 V |
The rest of the design is on its own pages:
- Theory: the bandgap equations and how sets VREF and drift.
- Circuit tuning: how every transistor was kept in saturation at 1.8 V.
- Device sizes: the model, W and L of every transistor.
- Simulations: the full ngspice test suite on the schematic.
- Layout: how the layout is drawn and wired, and the DRC and LVS checks.
- Post-layout simulation: the same tests on the layout with its extracted parasitics.
- Limitations and next steps.
Schematic
The core (xschem/bandgap_core.sch) has four blocks:
- PTAT core. An LVT PMOS mirror, M1 to M3 (8/4 µm), feeds Q1 (1×), R1 + Q2 (8×) and R2 + Q3 (1×).
The PNPs are the sky130
pnp_05v5_W3p40L3p40, the same vertical PNP as the BJT page. R1 and R2 areres_xhigh_po_0p35poly resistors, about 2 kΩ/sq. RCA and RCB (42 kΩ each, the wideres_xhigh_po_2p85) sit at the top of the first two branches. They carry equal currents, so they lift both amplifier inputs (AH, BH) by the same ~0.16 V without changing equation 3. Why they're needed is explained in Circuit tuning. - Error amplifier. A five-transistor OTA with an NMOS-LVT input pair (M5, M6), an LVT PMOS mirror load (M7, M8) and tail M4. The PMOS load matters. The OTA output drives the PMOS mirror gates, which must track VDD, and a PMOS load references the output to VDD, so it does that on its own. The input wired to BH (the side with R1) goes to the amplifier's diode side, which makes the overall loop negative feedback.
- Bias. M12 and M13 copy the PTAT current into an NMOS diode that biases the tail. The whole circuit is self-biased, with no external current.
- Start-up. Every self-biased reference has a second stable state where no current flows. The weak, always-on M9 pulls node S high. While VREF is low, M11 pulls PB down and current starts flowing. Once VREF rises, M10 pulls S low and M11 turns off, so the start-up circuit is idle in normal operation.
C1 (a 30 × 30 µm MIM cap, about 1.8 pF) is the dominant-pole compensation on the amplifier output. Vloop is a 0 V source between the amplifier output (PBO) and the mirror gates (PB). It does nothing in normal simulation, and the stability test injects its AC signal there. The LVS netlist script replaces it with a short.
Layout
All 28 devices are placed and wired, and the layout is DRC clean and LVS clean against xschem/bandgap_core.sch.
The floorplan has four bands, from top to bottom:
- PMOS: the mirror M1 to M3 and the bias mirror M12 sit side by side, since all four must match. Next come the amplifier load M7/M8 and the start-up pull-up M9.
- NMOS: the amplifier input pair M5/M6 side by side, the tail M4 and its bias diode M13, and the start-up devices M10/M11.
- Resistors, on their side: the matched RCA/RCB pair one above the other, then R2 and R1. Standing upright, the two 60 µm resistors set the height of the whole block (87.6 × 99.1 µm). Turning them sideways cut the area by 13 %.
- Bipolars and cap: Q1 and the eight Q2 units as a 3 × 3 common-centroid array, with Q1 in the centre. Any gradient across the array then affects Q1 and the average of Q2 about equally. Next to the array are Q3 and the 30 × 30 µm MIM compensation cap.
Bands are 4 µm apart, which leaves room for wiring between them.
How it's drawn and wired and the DRC and LVS checks are on Layout. Results with the layout's parasitics are on Post-layout simulation.