Electronics and Communication Engineering‹›⌂ 0:00 studied

Module 2 · 12 min read · Free chapter

Current mirrors, differential amplifiers and frequency response

In short

A current mirror copies a reference current using matched transistors, scaled by their W/L ratio. A differential pair amplifies v₁ − v₂ with gain g_m R_D/2 single-ended and rejects common-mode signals, giving CMRR ≈ g_m R_SS. The Miller effect makes a feedback capacitance look like C(1 + A) at the input, lowering bandwidth, and a cascode avoids it.

What are you preparing for? We show the practice and previous year questions of your exam.

Start from zero: the building blocks inside every chip amplifier

A single transistor stage gives gain, but a real amplifier needs more. It must be biased without large resistors and capacitors, it must ignore noise that reaches both inputs, and it must work over a known range of frequencies.

Inside an integrated circuit, resistors take a lot of area and big capacitors are impossible. Designers therefore bias with current mirrors, which copy one reference current to many places. They take the input through a differential pair, which amplifies only the difference between two inputs.

Every amplifier also has a limited bandwidth. Coupling capacitors block very low frequencies, and tiny internal capacitances short out very high ones. The useful band lies between a lower and an upper cut-off frequency.

This chapter covers all three ideas. They come together in the op-amp, the subject of the next two chapters.

Why it matters. Current mirrors, differential pairs and the Miller effect appear in GATE EC almost every year, often as short numericals that are quick to solve once the ideas are clear.

Current mirrors: copying a current

Take two matched NMOS transistors with their gates and sources tied together. The first is diode-connected: its gate is joined to its drain, so it is always in saturation. A reference current IrefI_{ref} flows into it and sets its gate-source voltage.

The second transistor has the same VGSV_{GS}, so in saturation it carries the same current. If the two devices differ only in width, the output scales with the size ratio:

Iout=Iref (W/L)2(W/L)1I_{out} = I_{ref}\,\frac{(W/L)_2}{(W/L)_1}

One reference can feed many mirrors of different sizes, which is how a chip biases dozens of stages from one resistor. The mirror behaves as a current source, and its output resistance is ror_o of the output transistor. Channel-length modulation makes IoutI_{out} change slightly with output voltage, so a higher ror_o means a better source.

A BJT mirror works the same way using VBEV_{BE}. The two base currents are drawn from the reference, so the copy is slightly low:

Iout=Iref1+2βI_{out} = \frac{I_{ref}}{1 + \frac{2}{\beta}}

With β = 100 the error is about 2%.

Better mirrors fix both weaknesses. A cascode mirror stacks a second pair on top, raising the output resistance to about gmro2g_m r_o^2, and a Wilson mirror uses feedback to cancel the base-current error. A Widlar mirror adds an emitter resistor to make very small currents without huge resistors.

Worked example. A MOSFET mirror has Iref=100I_{ref} = 100 µA, with the output device twice as wide as the reference device. Then Iout=200I_{out} = 200 µA. If ro=100r_o = 100 kΩ, a 1 V change at the output changes the current by about 1100 kΩ=10\dfrac{1}{100\ \text{k}\Omega} = 10 µA, a 5% change.

Why it matters. Mirrors are the bias and the active load of almost every analog IC. GATE asks the copy ratio, the β error and the output resistance.

The differential pair

Two matched transistors share a common source (or emitter) node fed by a tail current source II. Each drain has a resistor RDR_D to the supply. The inputs are v1v_1 and v2v_2.

Any pair of inputs can be split into two parts. The differential input is vd=v1−v2v_d = v_1 - v_2, and the common-mode input is vcm=v1+v22v_{cm} = \dfrac{v_1 + v_2}{2}. A good differential amplifier responds strongly to vdv_d and hardly at all to vcmv_{cm}.

At balance each transistor carries I2\dfrac{I}{2}. A small vdv_d raises one current and lowers the other by the same amount, while the total stays fixed at II. The common source node does not move, so it acts as an AC ground, and each half behaves like a common-source stage driven by vd2\dfrac{v_d}{2}.

Taking the output from one drain gives the single-ended differential gain, and taking it between the two drains gives the differential-output gain:

Ad=gmRD2(single-ended),Ad=gmRD(differential output)A_d = \frac{g_m R_D}{2} \quad \text{(single-ended)}, \qquad A_d = g_m R_D \quad \text{(differential output)}

Here gmg_m is that of one transistor at I2\dfrac{I}{2}.

A common-mode input moves both gates together. If the tail were an ideal current source, neither current could change and the output would not move at all. A real tail has a finite resistance RSSR_{SS}, and then the single-ended common-mode gain is about:

Acm≈−RD2RSSA_{cm} \approx -\frac{R_D}{2R_{SS}}

The common-mode rejection ratio compares the two gains:

CMRR=∣AdAcm∣≈gmRSS\mathit{CMRR} = \left\lvert \frac{A_d}{A_{cm}} \right\rvert \approx g_m R_{SS}

It is often quoted in decibels, 20log⁡10CMRR20\log_{10}\mathit{CMRR}. A tail made from a current mirror with high ror_o therefore gives a high CMRR.

Taking the differential output cancels the common-mode signal completely if the two halves match. A current-mirror load in place of the two drain resistors converts the differential signal into a single-ended output without losing half the gain. This is how the input stage of an op-amp is built.

Worked example. A MOSFET pair has I=1I = 1 mA, gm=2g_m = 2 mA/V per device, RD=10R_D = 10 kΩ and RSS=50R_{SS} = 50 kΩ. The single-ended Ad=2×102=10A_d = \dfrac{2 \times 10}{2} = 10, Acm=−10100=−0.1A_{cm} = -\dfrac{10}{100} = -0.1, and CMRR is 100, or 40 dB.

Why it matters. The differential pair is how amplifiers reject hum and noise that reach both wires equally. GATE asks AdA_d, AcmA_{cm} and CMRR in nearly every paper.

Large signals and multistage amplifiers

The small-signal gains above hold only for small vdv_d. As vdv_d grows, more of the tail current moves to one side until one transistor carries all of II and the other is off. For a BJT pair this happens at about ±4VT\pm 4V_T, roughly ±100 mV. For a MOSFET pair it happens at vd=±2 Vovv_d = \pm\sqrt{2}\,V_{ov}.

This is useful as well as limiting. A differential pair driven hard becomes a fast current switch, the basis of emitter-coupled logic and of the mixers used in radio receivers.

A single stage rarely meets every need, so stages are cascaded. The overall gain is the product of the individual gains, but each gain must be worked out with the next stage connected as its load:

Av=Av1×Av2×⋯×AvnA_v = A_{v1} \times A_{v2} \times \cdots \times A_{vn}

In decibels the gains add, which is why amplifier specifications use dB. A typical arrangement is a differential input stage for rejection, a gain stage and an output follower for low output resistance.

Stages can be RC coupled, with capacitors between them, or direct coupled, with none. RC coupling keeps each stage's bias separate but blocks DC and sets a lower cut-off frequency. Direct coupling passes DC, which ICs need, but each stage's bias must suit the next.

Worked example. Three stages with gains 20, 10 and 0.9 give an overall gain of 180. In decibels this is 26+20−0.9≈45.126 + 20 - 0.9 \approx 45.1 dB.

Why it matters. Questions on cascaded gain test the loading rule, and switching-limit questions appear in GATE as short numericals.

Frequency response: the lower and upper cut-offs

Plot the gain of an RC-coupled amplifier against frequency and you see three regions. In the mid-band the gain is flat and all capacitors behave as chosen: coupling and bypass capacitors as shorts, internal capacitances as opens. Below it the gain falls, and above it the gain falls again.

The edges are the −3 dB frequencies, where the gain drops to 12\dfrac{1}{\sqrt{2}} of its mid-band value and the output power halves. The bandwidth is fH−fLf_H - f_L, which is close to fHf_H when fLf_L is small.

At low frequencies the coupling and bypass capacitors no longer act as shorts. Each forms a high-pass corner with the resistance it sees:

fL=12πRCf_L = \frac{1}{2\pi R C}

For an input coupling capacitor, RR is the source resistance plus the amplifier's input resistance. With several capacitors, the one giving the highest corner usually dominates. The emitter bypass capacitor often sets fLf_L, because the resistance it sees, about rer_e, is small.

At high frequencies the transistor's own capacitances, CπC_\pi and CμC_\mu for a BJT or CgsC_{gs} and CgdC_{gd} for a MOSFET, start to short the signal. Each node forms a low-pass corner, and the node with the largest time constant usually sets fHf_H.

A useful figure of merit is the unity-gain frequency of the transistor itself:

fT=gm2π(Cπ+Cμ)f_T = \frac{g_m}{2\pi(C_\pi + C_\mu)}

For a single-pole amplifier the gain-bandwidth product is fixed. Raising the gain ten times cuts the bandwidth ten times, which is why wideband amplifiers use several low-gain stages.

Worked example. An input coupling capacitor of 10 µF sees Rsig+Rin=1+2=3R_{sig} + R_{in} = 1 + 2 = 3 kΩ. Its corner is fL=12π×3000×10−5≈5.3f_L = \dfrac{1}{2\pi \times 3000 \times 10^{-5}} \approx 5.3 Hz.

Why it matters. Corner-frequency calculations are a regular GATE item. The gain-bandwidth trade-off returns in op-amps and feedback.

The Miller effect and the cascode

In a CE or CS stage a small capacitance connects input to output: CμC_\mu from base to collector, or CgdC_{gd} from gate to drain. It is only a few picofarads, yet it often sets fHf_H. The reason is the Miller effect.

Suppose the stage has gain −A-A. When the input rises by vv, the output falls by AvAv, so the voltage across the capacitor changes by (1+A)v(1 + A)v. The current it draws from the input is therefore (1+A)(1 + A) times larger than for a capacitor to ground. Seen from the input, it looks like:

Cin,Miller=C(1+A)C_{in,Miller} = C(1 + A)

At the output it looks like about CC. A 2 pF capacitor in a stage with gain 100 appears as about 200 pF at the input, and with a source resistance it creates a low fHf_H.

The cure is to keep the gain across that capacitor small. A cascode puts a CB or CG transistor on top of the CE or CS device. The lower device now drives the low input resistance 1gm\dfrac{1}{g_m} of the upper one, so its own gain is only about −1, and the Miller multiplication is about 2. The upper device supplies the full gain without Miller multiplication, because its base or gate is at AC ground.

The cascode thus gives about the same gain as a CE stage, much wider bandwidth and higher output resistance. CB, CG and follower stages also avoid the Miller effect, which is why they appear in wideband and RF circuits.

Worked example. A CS stage has Cgd=1C_{gd} = 1 pF, gain −50, Cgs=5C_{gs} = 5 pF and source resistance 10 kΩ. The input capacitance is 5+1×51=565 + 1 \times 51 = 56 pF, so fH≈12π×104×56×10−12≈284f_H \approx \dfrac{1}{2\pi \times 10^4 \times 56 \times 10^{-12}} \approx 284 kHz.

Why it matters. The Miller effect explains why amplifiers lose bandwidth as gain rises. In op-amps the same effect is used on purpose, for compensation.

Descriptive lens: how this topic is asked in written papers

Written papers ask this topic in four ways:

  1. Derive the differential and common-mode gains and CMRR of a differential pair, or the output current and resistance of a mirror.
  2. Explain why ICs bias with current mirrors, why a tail current source improves CMRR, and why the Miller effect limits bandwidth.
  3. Compute corner frequencies, Miller capacitance, fTf_T or cascaded gain for a stated circuit.
  4. Compare CE, cascode and CB stages for gain and bandwidth, or simple, cascode and Wilson mirrors.

Practice questions (our own, not previous-year questions).

  1. Derive the expressions for differential gain, common-mode gain and CMRR of a MOSFET differential pair with a tail resistance RSSR_{SS}. How does a current-mirror tail improve CMRR? (15 marks)
  2. Explain the Miller effect and show how a cascode amplifier overcomes it. (10 marks)
  3. A BJT current mirror has Iref=1I_{ref} = 1 mA and β = 50. Find the output current, and explain how a Wilson mirror reduces the error. (10 marks)

Answer plan for question 2.

  • Show the inverting stage with gain −A-A and a capacitor CC from input to output.
  • Show that the capacitor voltage changes by (1+A)v(1 + A)v, so the input sees C(1+A)C(1 + A).
  • Work a number, such as 2 pF and gain 100 giving about 200 pF, and the resulting low fHf_H.
  • Draw the cascode and explain that the lower device sees 1gm\dfrac{1}{g_m}, so its gain is near −1 and the Miller factor is about 2.
  • Conclude that the cascode keeps the gain, widens the bandwidth and raises the output resistance.

Quick revision

  • A current mirror gives Iout=Iref(W/L)2(W/L)1I_{out} = I_{ref}\dfrac{(W/L)_2}{(W/L)_1}, with output resistance ror_o.
  • A BJT mirror gives Iout=Iref1+2/βI_{out} = \dfrac{I_{ref}}{1 + 2/\beta}, and cascode and Wilson mirrors improve on it.
  • A differential pair has Ad=gmRD2A_d = \dfrac{g_m R_D}{2} single-ended or gmRDg_m R_D differential, with gmg_m taken at I2\dfrac{I}{2}.
  • The common-mode gain is about −RD2RSS-\dfrac{R_D}{2R_{SS}}, so CMRR is about gmRSSg_m R_{SS}.
  • Multistage gains multiply, include loading and add in dB.
  • The lower cut-off from a coupling capacitor is fL=12πRCf_L = \dfrac{1}{2\pi RC}, and device capacitances set fHf_H.
  • The Miller capacitance at the input is C(1+A)C(1 + A), and the cascode avoids it.
  • The transistor's unity-gain frequency is fT=gm2π(Cπ+Cμ)f_T = \dfrac{g_m}{2\pi(C_\pi + C_\mu)}, and the gain-bandwidth product is constant.

Check yourself

Exam-style questions on this chapter. Pick an answer to see the explanation. 0 of 12 answered

  1. A MOSFET current mirror has Iref=50I_{ref} = 50 µA and the output transistor has three times the WL\dfrac{W}{L} of the reference transistor. What is IoutI_{out} in saturation?

  2. Why do integrated circuits bias stages with current mirrors instead of resistor dividers?

  3. A simple BJT current mirror with matched transistors has Iref=1I_{ref} = 1 mA and β = 100. The output current is about:

  4. A MOSFET differential pair has gm=4g_m = 4 mA/V per device and RD=5R_D = 5 kΩ. What is the differential gain with output taken between the two drains?

  5. For inputs v1=1.02v_1 = 1.02 V and v2=0.98v_2 = 0.98 V, the differential and common-mode inputs are:

  6. A differential amplifier has Ad=100A_d = 100 and Acm=0.01A_{cm} = 0.01. Its CMRR in dB is:

  7. Replacing the tail resistor of a differential pair by a current source with much higher output resistance mainly:

  8. About what differential input fully steers the tail current of a BJT differential pair to one side (VT=25V_T = 25 mV)?

  9. Three cascaded stages have gains of 20 dB, 30 dB and −6 dB. The overall gain is:

  10. An input coupling capacitor of 1 µF sees a total resistance of 10 kΩ. The lower cut-off it sets is about:

  11. A 2 pF capacitor connects the input and output of an inverting amplifier with gain −99. Its Miller capacitance at the input is:

  12. A single-pole amplifier has gain 100 and bandwidth 50 kHz. If feedback lowers its gain to 10, the new bandwidth is about:

Previous year questions

Previous year questions for UPSC CSE will appear here once each one is checked word for word against the official question paper.

Learn with AI

A tutor that asks instead of telling, a partner that argues the other side, and this chapter told through your own district.

Tell the tutor what you are stuck on. It will guide you with questions and give the answer after a few tries.

🙋 Raise a doubt or feedback

Stuck somewhere, or spotted a mistake? Write to the ExamHike team. We usually reply within a day, and you will see the reply on My progress.

Log in to ask a doubt or send feedback →

Frequently asked questions

What is CMRR?

Common-mode rejection ratio is the differential gain divided by the common-mode gain, often in dB; a high-resistance tail current source makes it large.

Why does a BJT current mirror have an error?

The two base currents are taken from the reference, so the output is I_ref/(1 + 2/β), about 2% low for β = 100; Wilson and cascode mirrors reduce it.

What is the Miller effect?

A capacitance between input and output of an inverting stage of gain −A appears at the input multiplied by (1 + A), which often sets the upper cut-off frequency.

What sets the lower cut-off of an RC-coupled amplifier?

The coupling and bypass capacitors with the resistance each one sees, f_L = 1/(2πRC); the emitter bypass capacitor often dominates.

More in this module: Analog circuits

Official sources

Facts in this chapter were checked against these official sources.

  1. GATE 2026 Electronics and Communication Engineering (EC) syllabus, IIT Guwahati
  2. NPTEL Analog Electronic Circuits (IIT Delhi, 108102112): lectures on current mirrors, differential amplifier, multistage amplifiers, frequency response