Skip to content
GATEiit

GATE EC · Analog Circuits

Current mirrors and differential amplifiers

BJT and MOS current mirrors (ratio, base-current error, output resistance, cascode and Widlar), and the differential pair: differential and common-mode gain, CMRR, large-signal steering and active loads.

Before you start

  • BJT operation →

    Mirrors rely on equal VBE giving equal collector currents in matched transistors.

  • MOSFET in saturation →

    The square law and channel-length modulation set the MOS mirror ratio and its output resistance.

  • Small-signal models →

    Differential and common-mode gains come from gm, rπ and ro in half circuits.

  • Biasing →

    The tail current fixes the operating point and gm of each transistor in the pair.

Concept notes

1. The basic BJT current mirror

A current mirror copies a reference current into an output branch. In the BJT mirror, Q1 is diode-connected (collector tied to base), so it sets a VBE that makes it carry Iref. Q2 has the same VBE; if the transistors are matched, it carries the same collector current.

The reference current is set by a resistor: Iref=VCC−VBER.

Base-current error. Iref must supply both collectors' worth plus two base currents: Iref=IC+2IC/β. Hence

Iout=Iref1+2/β

For β=100 the output is about 2% low.

Scaled mirror. If Q2 has n times the emitter area of Q1, Iout≈nIref (exactly nIref1+(1+n)/β).

Output resistance and compliance. Seen from the output, the mirror is a current source with resistance Ro=ro2=VA/Iout (Early voltage VA). It works only while Q2 stays active, that is VCE2≥VCE(sat) (about 0.2 V). Because of the Early effect, Iout also rises slightly as VCE2 rises above VCE1=VBE.

VCCRIref ↓Iout ↓to loadQ1Q22IB
BJT current mirror: diode-connected Q1 sets VBE; matched Q2 copies the current. Iref also supplies both base currents.

2. MOS mirrors and better mirrors

In a MOS mirror the gates draw no current, so there is no base-current error. Both transistors share VGS; in saturation

IoutIref=(W/L)2(W/L)1⋅1+λVDS21+λVDS1

where VDS1=VGS (diode-connected). With λ=0 the ratio is just the aspect-ratio ratio. The output must stay in saturation: VDS2≥VGS−Vt=Vov. The output resistance is ro2=1λIout.

Improved mirrors (know what each fixes):

Mirror Improves Key result
Cascode output resistance Ro≈gmro2 (MOS), about βro (BJT)
Wilson (BJT) base-current error and Ro error falls to about 2/β2; Ro≈βro/2
Widlar (BJT) small currents with small resistors IoutRE=VTln⁡(Iref/Iout)

The price of a cascode is headroom: the output now needs about two overdrive voltages (or VBE+VCE(sat)) to stay in the high-resistance region.

Mirrors are used to bias amplifier stages, as the tail source of a differential pair, and as active loads, where their high ro gives large gain without large resistors.

3. Differential pair: definitions and small-signal gains

A differential pair is two matched transistors with joined emitters (or sources) fed by a tail current IEE whose output resistance is REE. Define

vid=v1−v2,vicm=v1+v22,vo=Advid+Acmvicm

At balance each transistor carries IEE/2, so gm=IEE/2VT for BJTs, and gm=2IDVov with ID=ISS/2 for MOSFETs.

Differential mode (half circuit: the emitter node is a virtual ground):

  • Differential output: Ad=gmRC.
  • Single-ended output: Ad=gmRC/2 (half as much).
  • BJT differential input resistance: Rid=2rπ.

Common mode (half circuit: each emitter sees 2REE):

  • Single-ended: Acm=−gmRC1+2gmREE≈−RC2REE.
  • Differential output with perfect matching: Acm=0. Mismatch makes it small but non-zero.

CMRR =∣AdAcm∣, in dB 20log⁡10 of that. For a single-ended output, CMRR≈gmREE. A better tail source (larger REE, for example a mirror or cascode) raises CMRR; Ad does not depend on REE to first order.

VCCRCRCvo1vo2v1v2Q1Q2IEE (output resistance REE)−VEE
BJT differential pair: matched Q1 and Q2, collector resistors RC, tail current IEE with output resistance REE.

4. Large-signal behaviour of the pair

The pair steers the fixed tail current between its two sides. For a BJT pair (taking α≈1):

iC1=IEE1+e−vid/VT,iC2=IEE1+evid/VT,iC1+iC2=IEE

  • At vid=0 the current splits equally.
  • The response is roughly linear only for ∣vid∣ well below 2VT (about 50 mV); small-signal analysis assumes this.
  • At ∣vid∣≈4VT (about 100 mV) about 98% of IEE flows in one transistor: the pair has switched.

The difference current is iC1−iC2=IEEtanh⁡(vid2VT); its slope at the origin is IEE/(2VT)=gm, so for small inputs each side changes by ±gmvid/2.

For a MOS pair, the current is fully steered to one side when ∣vid∣=2 Vov, where Vov is each transistor's overdrive at balance. Since Vov is typically a few hundred mV, the MOS pair handles a much larger differential input linearly than a BJT pair, at the cost of a lower gm for the same current.

This steering is why the pair is also used as a fast current switch (as in ECL logic).

5. Active load: the mirror as a load

Replacing the collector (or drain) resistors with a current-mirror load gives a high gain without large resistors and converts the differential input to a single-ended output without losing half the gain.

In a MOS pair M1,M2 with a PMOS mirror M3 (diode-connected, on the M1 side) and M4 (on the output side):

  • A differential input changes iD1 by +gmvid/2 and iD2 by −gmvid/2.
  • The mirror copies the change in iD1 into M4, so the output node receives both halves: a total short-circuit current of gmvid.
  • The output node sees ro2∥ro4.

Ad=gm (ro2∥ro4)

With ro2=ro4=ro, this is gmro/2, which is half the intrinsic gain gmro of one transistor. The same result holds for a BJT pair with a PNP mirror load: Ad=gm(ro2∥ro4).

Useful MOS relations: gm=2IDVov and ro=1λID, so gmro=2λVov, independent of current.

The active-loaded pair is the input stage of most op-amps; its high output resistance is also why op-amps need frequency compensation.

Formulas to remember

BJT mirror with finite beta
Iout=Iref1+2/β,Iref=VCC−VBER
MOS mirror ratio
IoutIref=(W/L)2(W/L)1⋅1+λVDS21+λVDS1
Widlar mirror
IoutRE=VTln⁡IrefIout
Transconductance in the pair
gm=IEE2VT  (BJT),gm=2IDVov=ISSVov  (MOS)
Differential gain
Ad=gmRC  (differential out),Ad=gmRC2  (single-ended)
Common-mode gain (single-ended)
Acm=−gmRC1+2gmREE≈−RC2REE
CMRRSingle-ended output; in dB use 20log⁡10
CMRR=∣AdAcm∣≈gmREE
BJT pair large signal
iC1=IEE1+e−vid/VT
Active-loaded pair
Ad=gm (ro2∥ro4)

Common mistakes

  • Using the full tail current to find gm; each transistor of a balanced pair carries only half of it.
  • Halving the gain of an active-loaded pair as if it were a resistive single-ended output; the mirror recovers the other half.
  • Including REE in the differential-mode half circuit; the emitter node is a virtual ground for differential signals.
  • Forgetting that VDS1 of a diode-connected MOSFET equals VGS when applying the lambda correction to a mirror.
  • Assuming the pair stays linear for any input; a BJT pair has nearly switched fully at about 100 mV of differential input.

Worked examples

Try each step yourself, then reveal the working.

Example 1: BJT mirror with finite beta

numerical

A BJT mirror has VCC=10 V, R=9.3 kΩ, VBE=0.7 V and matched transistors with β=100. Find Iref and Iout.

  1. Step 1: Find the reference current.

    Try it on paper first.

Example 2: Scaled MOS mirror with channel-length modulation

numerical

A MOS mirror has Iref=100 μA and (W/L)2=4(W/L)1. VGS=1 V, λ=0.02 V−1 and the output is at VDS2=5 V. Find Iout.

  1. Step 1: Ignore lambda first.

    Try it on paper first.

Example 3: Gains and CMRR of a BJT pair

numerical

A BJT pair has IEE=2 mA, RC=5 kΩ, tail resistance REE=50 kΩ, VT=25 mV. Find Ad (differential and single-ended), the single-ended Acm, and CMRR in dB.

  1. Step 1: Find gm of each transistor.

    Try it on paper first.

Example 4: Gain of an active-loaded MOS pair

numerical

A MOS pair with a PMOS mirror load has tail current ISS=200 μA, overdrive Vov=0.2 V for the input pair, and λ=0.05 V−1 for all transistors. Find the differential voltage gain.

  1. Step 1: Find gm of the input transistors.

    Try it on paper first.

Previous year questions

3 official GATE EC questions on this topic, newest first.

Topic test

10 questions: up to 3 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.

Mark as mastered

Loading your progress…

My revision notes

Notes written by the GATEiit team against the official GATE EC syllabus; being checked by a reviewer. Updated 2026-11-28. Spotted a mistake? Use Report an issue on any question, or contact us.