Biasing
Current mirror
Reference current, copy accuracy, compliance voltage and output resistance of a two-FET mirror.
- Iout
- ideal n·Iref
How it works
Tying M1's drain to its gate forces it into saturation, where it develops exactly the V_{GS} needed to carry the reference current. M2 shares that gate voltage, so it carries the same current scaled by its relative size:
I_{ref}=\frac{V_{DD}-V_{GS}}{R_{ref}}=\frac{K_1}{2}(V_{GS}-V_{th})^{2}(1+\lambda V_{GS})
I_{out}=n\,I_{ref}\,\frac{1+\lambda V_{out}}{1+\lambda V_{GS}},\qquad r_{out}\approx\frac{1}{\lambda I_{out}},\qquad V_{out,min}=V_{ov}
The copy is exact only when V_{out}=V_{GS}. Elsewhere, channel-length modulation tilts the output curve; that slope is the finite output resistance. Below V_{ov} the output device falls into triode and the current collapses.
Practical notes
- Longer channels reduce \lambda and raise r_{out}. For much higher output resistance use a cascode, at the cost of one more V_{ov} of headroom.
- Set ratios with multiples of identical unit transistors rather than different widths; matching is far better.
- Discrete MOSFETs match poorly (threshold spreads of hundreds of millivolts). Use a matched-pair array or add source degeneration resistors.
- The reference current depends on the supply through R_{ref}. Feed the mirror from a bandgap or a JFET current source when it has to be stable.