I just started reading about bandgap reference circuits (PTAT, CTAT generation, etc.) in CMOS and I see a lot of papers about something called trimming in relation to these.
What does it actually mean and why is it used?
I just started reading about bandgap reference circuits (PTAT, CTAT generation, etc.) in CMOS and I see a lot of papers about something called trimming in relation to these.
What does it actually mean and why is it used?
The output of the bandgap reference will vary from chip to chip because of processing differences. The primary effect in bipolar bandgap references is the variation of resistors in the circuit. Absolute value of these resistors is controlled to 20% or even 50% by process parameters. This problem can get more acute when different types of semiconductor resistor are used for curvature compensation.
Due to process variation, bandgap circuit is not operating with the designed current and/or current ratio in the 2 diodes. It will produce a different voltage and curvature over temperature. Trimming adjusts the resistors and hence the current back to design intent. The reference gets back to the desired voltage output and temperature performance.
The ICs I designed were in large, 1.2 um line or greater, processes. The references were trimmed using dedicated pads (octagonal to distinguish from wire bond pads) to blow metal fuses during wafer test. Other trimming, such as memory driving transistors is a solution for finer line processes and pad limited designs. I worked on one design that used poly fuse memory that the IC blew during production test. Much cheaper than adding the extra steps for EEPROM, Flash, etc.
The test engineers could predict what fuses to blow on a BG reference with one measurment. Often the LSB fuse was not blown until measuring the results of the higher fuse blow.
My understanding, which is 10 years out of date, is that laser trimming is expensive and only used when absolutely necessary. Laser trimmed structures must be relatively large, need fiducials, and cannot have anything else near them, above them or below them. Unless the laser is ablating fuses, the effect of a laser trim is not very predictable. Trimming is done closed loop and hence slowly. In addition to the time cost, Laser trimming machines are not cheap.
The principle of the bandgap voltage reference is to balance the negative temperature coefficient (NTC) of a pn junction with the positive temperature coefficient(PTC) of the thermal voltage, Vt = kT/q.
3 main categories of variables: PVT (process, voltage and temperature)
For some reason, someone decided to call them PTAT/CTAT wasn't aware that PTC/NTC was already common long before bandgaps.
Transistor and resistor, mismatch and tolerance, errors can be “trimmed out” by tuning a PTAT trimming resistor.
However, the resistor temperature coefficient (TC) is small, yet cannot be trimmed from 2nd order effects so they must be low TC materials.
most ceramic caps are PTAT or NTC, some are PTC and in between is NP0/C0G or 0+/-25ppm
Current-mirror mismatch is the deviation of required W/L ratio of the mirroring MOS transistors or areas of BJT transistors.
transistors have mismatch from variations in "ideality constant" and Early effect voltage"
Process control tolerances before tuning:
BJTs: β: ±30%
MOS: µ: ±10%, Vth: ±100mV
Resistors: R: ±20%
Capacitors: C: ±5%
Inductors: L: ±1%
It means (as @Hearth said) that each part gets individually adjusted. I'm not sure how it's done these days, but the last time I was paying attention it was done by carefully zapping the part with lasers. I can think of three different ways (including lasers) that it may be done these days (the other two are PROM-style fuses, and EEPROM-style floating-gate FETs).
It needs to be done because nothing analog is exactly precise. Everything depends on everything else, and so there's natural manufacturing variation that has to be taken into account.