Lecture 5: Problem of Biasing; Intro. to Current Mirrors

Electronics II · · current sources, biasing, current mirrors

Contents

This typeset version was assembled by AI from my handwritten notes. The handwritten PDF is the original source. Video: Razavi Electronics 2, Lec 5.

Today’s lecture

  • The need for current sources
  • Problem of biasing current sources
  • Current mirrors

Current sources are everywhere

Three circuits: a PMOS current source with gate at V_b on top of an NMOS CS stage driven by V_in; a PMOS device driven by V_in on top of an NMOS current source with gate at V_b; an NMOS source follower driven by V_in with an NMOS current source (gate at V_b) below it and V_out at their common node

Source: everywhere.tex

Problem of biasing current sources

An NMOS transistor whose gate is driven by a battery V_b referenced to its source; drain current I_D flows down into the drain

Source: bias.tex

ID=12μnCox(WL)(Vb−Vt)2I_\mathrm{D} = \frac{1}{2}\mu_\mathrm{n} C_\mathrm{ox}\left(\frac{W}{L}\right)(V_\mathrm{b} - V_\mathrm{t})^2

μn\mu_\mathrm{n} and VtV_\mathrm{t} vary with temp. Issue #1.

How to generate VbV_\mathrm{b}:

A resistive divider R_1 (top) and R_2 (bottom) between V_DD and Gnd; its midpoint V_b drives the gate of an NMOS transistor whose source is at Gnd and whose drain current is I_D

Source: divider.tex

ID=12μnCox(WL)(R2R1+R2VDD−Vt)2I_\mathrm{D} = \frac{1}{2}\mu_\mathrm{n} C_\mathrm{ox}\left(\frac{W}{L}\right)\left(\frac{R_2}{R_1 + R_2}V_\mathrm{DD} - V_\mathrm{t}\right)^2

VDDV_\mathrm{DD}: supply-dependent! Issue #2.

Current mirror

Basic concept.

  1. First, build one golden current source using a “bandgap” circuit.
  2. Next, we copy/clone this current source to build many others.
Left: a golden current source from the supply feeds a box marked '?' that holds two copies of the current source. Right: the golden source feeds a box marked '?' that sets the gate of a grounded-source NMOS transistor, whose drain carries I_out

Source: concept.tex

Quiz.

A current source I_REF from the supply flows into a resistor R_1 to ground; the voltage across R_1 drives the gate of a grounded-source NMOS transistor with drain current I_out

Source: quiz.tex

Iout=12μnCox(WL)(IREFR1−Vt)2I_\mathrm{out} = \frac{1}{2}\mu_\mathrm{n} C_\mathrm{ox}\left(\frac{W}{L}\right)(I_\mathrm{REF}R_1 - V_\mathrm{t})^2

μn\mu_\mathrm{n}, R1R_1 and VtV_\mathrm{t} vary with temperature.

Observations:

① Diode-connected device:

A voltage source V_1 drives a diode-connected NMOS M_1 (drain tied to gate) with current I_1; next to it, I_1 versus V_1: zero up to V_t, then rising quadratically

Source: obs1.tex

If M1M_1 is on, it is in saturation.

I1=12μnCox(WL)(V1−Vt)2if V1≥VtI_1 = \frac{1}{2}\mu_\mathrm{n} C_\mathrm{ox}\left(\frac{W}{L}\right)(V_1 - V_\mathrm{t})^2 \quad \text{if } V_1 \geq V_\mathrm{t}

②

A current source I_1 drives a diode-connected NMOS, producing V_1 across it; next to it, V_1 versus I_1: starts at V_t and rises as a square root

Source: obs2.tex

V1=2I1μnCox(WL)+VtV_1 = \sqrt{\frac{2I_1}{\mu_\mathrm{n} C_\mathrm{ox}\left(\frac{W}{L}\right)}} + V_\mathrm{t}

③

A current source I_1 drives the diode-connected NMOS M_1, creating V_1; V_1 also drives the gate of M_2, whose source is grounded and whose drain current is I_out

Source: obs3.tex

Iout=12μnCox(WL)2[V1−Vt]2=12μnCox(WL)2[2I1μnCox(WL)1+Vt−Vt]2 \begin{aligned} I_\mathrm{out} &= \frac{1}{2}\mu_\mathrm{n} C_\mathrm{ox}\left(\frac{W}{L}\right)_2\left[V_1 - V_\mathrm{t}\right]^2 \\ &= \frac{1}{\cancel{2}}\cancel{\mu_\mathrm{n} C_\mathrm{ox}}\left(\frac{W}{L}\right)_2\left[\sqrt{\frac{\cancel{2}I_1}{\cancel{\mu_\mathrm{n} C_\mathrm{ox}}\left(\frac{W}{L}\right)_1}} \cancel{+ V_\mathrm{t}} \cancel{- V_\mathrm{t}}\right]^2 \end{aligned} Iout=[(WL)2(WL)1]I1I_\mathrm{out} = \left[\frac{\left(\frac{W}{L}\right)_2}{\left(\frac{W}{L}\right)_1}\right] I_1

All issues fixed.

Current mirror.

Current mirror: I_REF from the supply flows into the diode-connected NMOS M_1; its gate drives the gate of M_2, both sources grounded; M_2 carries I_out

Source: mirror.tex

Iout=(WL)2(WL)1 IREFI_\mathrm{out} = \frac{\left(\frac{W}{L}\right)_2}{\left(\frac{W}{L}\right)_1}\, I_\mathrm{REF}

L1=L2L_1 = L_2 always, play with W1W_1 & W2W_2.

© 2026 Giorgi Aptsiauri. All rights reserved. Do not copy or republish this text or its figures without permission. Online version: https://giorgiaptsiauri.com/notes/razavi-electronics-2/lec05-problem-of-biasing-intro-to-current-mirrors/