Module 2 · 12 min read · Free chapter
Current mirrors, differential amplifiers and frequency response
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.
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 flows into it and sets its gate-source voltage.
The second transistor has the same , so in saturation it carries the same current. If the two devices differ only in width, the output scales with the size ratio:
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 of the output transistor. Channel-length modulation makes change slightly with output voltage, so a higher means a better source.
A BJT mirror works the same way using . The two base currents are drawn from the reference, so the copy is slightly low:
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 , 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 µA, with the output device twice as wide as the reference device. Then µA. If kΩ, a 1 V change at the output changes the current by about µ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 . Each drain has a resistor to the supply. The inputs are and .
Any pair of inputs can be split into two parts. The differential input is , and the common-mode input is . A good differential amplifier responds strongly to and hardly at all to .
At balance each transistor carries . A small raises one current and lowers the other by the same amount, while the total stays fixed at . 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 .
Taking the output from one drain gives the single-ended differential gain, and taking it between the two drains gives the differential-output gain:
Here is that of one transistor at .
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 , and then the single-ended common-mode gain is about:
The common-mode rejection ratio compares the two gains:
It is often quoted in decibels, . A tail made from a current mirror with high 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 mA, mA/V per device, kΩ and kΩ. The single-ended , , 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 , and CMRR in nearly every paper.
Large signals and multistage amplifiers
The small-signal gains above hold only for small . As grows, more of the tail current moves to one side until one transistor carries all of and the other is off. For a BJT pair this happens at about , roughly ±100 mV. For a MOSFET pair it happens at .
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:
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 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 of its mid-band value and the output power halves. The bandwidth is , which is close to when 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:
For an input coupling capacitor, 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 , because the resistance it sees, about , is small.
At high frequencies the transistor's own capacitances, and for a BJT or and 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 .
A useful figure of merit is the unity-gain frequency of the transistor itself:
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 kΩ. Its corner is 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: from base to collector, or from gate to drain. It is only a few picofarads, yet it often sets . The reason is the Miller effect.
Suppose the stage has gain . When the input rises by , the output falls by , so the voltage across the capacitor changes by . The current it draws from the input is therefore times larger than for a capacitor to ground. Seen from the input, it looks like:
At the output it looks like about . 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 .
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 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 pF, gain −50, pF and source resistance 10 kΩ. The input capacitance is pF, so 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:
- Derive the differential and common-mode gains and CMRR of a differential pair, or the output current and resistance of a mirror.
- Explain why ICs bias with current mirrors, why a tail current source improves CMRR, and why the Miller effect limits bandwidth.
- Compute corner frequencies, Miller capacitance, or cascaded gain for a stated circuit.
- Compare CE, cascode and CB stages for gain and bandwidth, or simple, cascode and Wilson mirrors.
Practice questions (our own, not previous-year questions).
- Derive the expressions for differential gain, common-mode gain and CMRR of a MOSFET differential pair with a tail resistance . How does a current-mirror tail improve CMRR? (15 marks)
- Explain the Miller effect and show how a cascode amplifier overcomes it. (10 marks)
- A BJT current mirror has 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 and a capacitor from input to output.
- Show that the capacitor voltage changes by , so the input sees .
- Work a number, such as 2 pF and gain 100 giving about 200 pF, and the resulting low .
- Draw the cascode and explain that the lower device sees , 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 , with output resistance .
- A BJT mirror gives , and cascode and Wilson mirrors improve on it.
- A differential pair has single-ended or differential, with taken at .
- The common-mode gain is about , so CMRR is about .
- Multistage gains multiply, include loading and add in dB.
- The lower cut-off from a coupling capacitor is , and device capacitances set .
- The Miller capacitance at the input is , and the cascode avoids it.
- The transistor's unity-gain frequency is , and the gain-bandwidth product is constant.