Question bank · Analog / Mixed-Signal Design Engineer
Analog Design interview questions
The 100 analog design questions interviewers really ask, picked from recent interview reports at analog and mixed-signal companies and design centres. MOSFET operation, single-stage amplifiers, the diff pair and mirrors, op-amp stability and compensation, noise and mismatch, bandgaps and LDOs, switched capacitors and data converters, with worked numericals, the likely follow-up and diagrams.
How Analog Design interviews actually run
From recent interview reports at product companies and design-service firms in India and abroad. Rounds vary by company; this is the common shape.
- Online testNetwork theory, RC and RLC transients, op-amp circuits, diode and MOSFET basics, and aptitude. Some companies add a short Laplace or Bode-plot question.
- Technical round 1Fundamentals on a whiteboard: RC response to a step or pulse, MOSFET regions, gm and ro, small-signal model of a CS amplifier, gain by inspection, current mirrors, virtual ground and why it holds.
- Technical round 2Depth: diff pair with mirror load, two-stage op-amp and Miller compensation, phase margin, slew rate, CMRR and PSRR, noise (kT/C, flicker), mismatch and Pelgrom, bandgap and LDO loops, sampling and ADC architecture trade-offs.
- Design roundSize a block for a spec on the spot: an op-amp for a gain and bandwidth, a sampling cap for a noise target, a mirror for a matching target. You are judged on the order of the steps and the trade-offs you name.
- Project and toolsYour own block in detail: specs, topology choice, corners and Monte Carlo results, layout parasitics and what you would change. Cadence Virtuoso, Spectre and ADE are assumed.
- Manager and HRWorking with layout, digital and test teams, handling a silicon issue, and how you decide when a design is done.
- Be able to draw the small-signal model of any one- or two-transistor circuit and write its gain and output resistance by inspection.
- Know the square-law and gm/ID relations well enough to estimate sizes and currents with mental maths.
- Practise stability: poles, zeros, phase margin, Miller splitting and the right-half-plane zero, with a number for each.
- Learn the standard numbers: kT at room temperature (4.14e-21 J), kT/C of 1 pF (about 64 µV rms), thermal voltage (26 mV), bandgap voltage (about 1.2 V).
- Prepare one block from your project that you can defend for 20 minutes: spec, topology, sizing, simulation corners and the one thing that went wrong.
Circuit and MOSFET fundamentals
1What are the regions of operation of a MOSFET? Give the condition and the drain current in each.
For an NMOS with overdrive Vov = VGS − Vth:
| Region | Condition | Drain current (long-channel) |
|---|---|---|
| Cut-off (subthreshold) | VGS < Vth | Very small, exponential in VGS |
| Triode (linear) | VGS > Vth and VDS < Vov | ID = µnCox(W/L)[Vov·VDS − VDS²/2] |
| Saturation | VGS > Vth and VDS ≥ Vov | ID = ½µnCox(W/L)Vov²(1 + λVDS) |
In triode, for small VDS the device behaves as a resistor Ron = 1/(µnCox(W/L)Vov); this is how switches are used. In saturation the channel is pinched off at the drain end, and the current is set mainly by VGS, so the device acts as a voltage-controlled current source. Amplifiers bias transistors in saturation; switches use triode.
| For a PMOS, use magnitudes: | VGS | > | Vth | and | VDS | ≥ | Vov | for saturation. |
Likely follow-up: How do you check in simulation that a device is in saturation with margin?
Compare VDS (or VDS,sat reported by the simulator, which is close to Vov in strong inversion) and keep 100 to 200 mV of margin across corners. Spectre’s operating-point region flag helps, but margin across PVT is what matters.
2Write three expressions for the transconductance gm of a MOSFET in saturation. Which one is most useful in design?
From ID = ½µCox(W/L)Vov²:
gm = µCox(W/L)·Vovgm = √(2µCox(W/L)·ID)gm = 2ID / Vov
The third is the most useful: it ties gm to the current you spend and the overdrive you choose, without needing µCox. For example, ID = 100 µA at Vov = 200 mV gives gm = 1 mA/V.
They also show the trade-offs. At a fixed current, a lower Vov (wider device) gives more gm. At a fixed W/L, gm grows only as √ID. At a fixed Vov, gm is proportional to ID.
Likely follow-up: Does gm/ID keep rising as Vov falls?
No. As the device enters weak inversion the square law fails and gm/ID saturates at about 1/(n·VT), roughly 25 to 30 S/A at room temperature. Going wider then only adds capacitance.
3What is channel-length modulation? Derive the output resistance and intrinsic gain of a MOSFET.
In saturation, a higher VDS moves the pinch-off point toward the source and slightly shortens the effective channel, so ID still rises a little with VDS. It is modelled as ID = ½µCox(W/L)Vov²(1 + λVDS).
Output resistance: ro = 1/(λ·ID), approximately.
Intrinsic gain (the most a single transistor can give):
gm·ro = (2ID/Vov)·(1/(λID)) = 2/(λ·Vov)
λ falls roughly as 1/L, so longer channels give higher ro and higher intrinsic gain. In modern short-channel processes, gm·ro at minimum length is often only 5 to 15, which is why analog designs use longer L and cascodes.
4What is the body effect? Where does it hurt in a circuit?
When the source is above the body (for NMOS, VSB > 0), the depletion region under the gate widens and the threshold rises:
Vth = Vth0 + γ(√(2φF + VSB) − √(2φF))
In small-signal terms the body acts as a second gate with transconductance gmb = η·gm, where η is typically 0.1 to 0.3.
Where it hurts:
- Source follower: gain becomes about
gm/(gm + gmb), below 1 even with an ideal load, and the DC level shift grows with output voltage. - Cascode and stacked devices: higher Vth eats headroom.
- Pass switches: a higher Vth raises Ron at high input voltage.
Fix: put the device in its own well with source tied to body (easy for PMOS in an n-well; for NMOS it needs a deep n-well or triple-well process).
5What happens below threshold (weak inversion)? Why do low-power designs bias there?
Below Vth the current is carried by diffusion and is exponential:
ID ≈ I0·(W/L)·exp(VGS / (n·VT)), with VT = kT/q ≈ 26 mV and n ≈ 1.2 to 1.5.
So gm = ID/(n·VT) and gm/ID reaches its maximum, around 25 to 30 S/A, compared with about 10 S/A in strong inversion at Vov = 200 mV.
Benefits: the most gm per microamp, which suits battery and sensor front-ends, and a small VDS,sat (about 4·VT, roughly 100 mV), which helps low-voltage stacks.
Costs: large devices for the same current, so more capacitance and a low fT; and more sensitivity to Vth mismatch because the current depends exponentially on VGS. Moderate inversion is usually the best compromise.
6What is the gm/ID design method and why has it replaced square-law hand sizing?
The square law is inaccurate for short-channel devices and in moderate inversion, so hand calculations miss simulation by a wide margin. The gm/ID method uses simulated lookup tables from the real device model instead.
gm/ID describes the inversion level: about 25 S/A in weak inversion, 10 to 15 in moderate, 5 to 8 in strong. For each L, you sweep the device and tabulate gm/ID against current density (ID/W), intrinsic gain gm·ro and fT.
Flow:
- From the spec, find the gm needed (for example
gm = 2π·GBW·CLfor an op-amp input pair). - Pick gm/ID for the trade-off you want (efficiency against speed and area).
- ID = gm / (gm/ID).
- Pick L from the gain and fT needed, read ID/W from the table, and get W.
The result usually lands within a few percent of simulation on the first pass, because it is built from the same model.
7What are short-channel effects? Name the ones that matter for analog design.
- Velocity saturation: carriers reach a maximum speed at high lateral field, so ID grows closer to linearly with Vov than with its square, and gm stops rising with overdrive.
- DIBL (drain-induced barrier lowering): a high VDS lowers the source barrier and so lowers Vth. It reduces ro well below what channel-length modulation predicts.
- Mobility degradation from the vertical field: gm/ID falls at high VGS.
- Vth roll-off: Vth depends on L near the minimum length, so small L variations cause big Vth variations.
- Gate leakage in thin oxides, and halo or pocket implants that make ro and Vth depend on L in non-obvious ways.
Practical result: analog devices use L of 2 to 5 times the minimum for gain and matching, and designers size from simulated characteristics rather than the square law.
8What are the main MOSFET capacitances? How do Cgs and Cgd change between regions? What is fT?
| Region | Cgs | Cgd |
|---|---|---|
| Cut-off | overlap only (gate-to-body ≈ W·L·Cox) | overlap only |
| Triode | ≈ ½·W·L·Cox | ≈ ½·W·L·Cox |
| Saturation | ≈ ⅔·W·L·Cox + overlap | overlap only |
Junction capacitances Cdb and Csb come from the drain and source diffusions and fall with reverse bias.
The transit frequency fT is the frequency where the current gain of the device drops to 1:
fT ≈ gm / (2π·(Cgs + Cgd)), and for a square-law device fT ≈ 3µVov/(4πL²).
fT rises with Vov and falls steeply with L, which is the core speed-versus-gain trade-off in analog sizing.
9Why is an NMOS faster than a PMOS of the same size? How is this handled in design?
Electron mobility is about 2 to 4 times hole mobility in silicon (the ratio depends on the node and on strain engineering). For the same W/L and Vov, the NMOS carries more current and has more gm, so it charges a given capacitance faster.
In design:
- Digital gates size the PMOS 2 to 3 times wider for equal rise and fall times.
- Fast analog signal paths (input pairs for speed, switches) favour NMOS.
- PMOS input pairs are still common when low 1/f noise matters (buried-channel behaviour in many processes) or when the input common mode is near ground.
10How do threshold voltage and mobility change with temperature? What is the zero-temperature-coefficient point?
Both fall as temperature rises:
- Vth drops by about 1 to 3 mV/°C, which increases current.
- Mobility falls roughly as T^(−1.5), which decreases current.
At low VGS the Vth effect wins (current rises with temperature); at high VGS the mobility effect wins (current falls). In between there is a ZTC point where the drain current is nearly independent of temperature.
Consequences: biasing near ZTC gives temperature-stable currents; subthreshold circuits are strongly temperature-dependent; and digital paths at low voltage can be slower at cold (temperature inversion), which is why sign-off covers both hot and cold corners.
11A step is applied to an RC low-pass filter. Write the output and find the time constant, rise time and bandwidth.
For a step of size V at t = 0 with the capacitor initially discharged:
vout(t) = V·(1 − e^(−t/RC))
- Time constant τ = RC: the output reaches 63% of the final value at t = τ, and about 99% at 5τ.
- 10% to 90% rise time = τ·ln 9 ≈ 2.2·RC.
- 3 dB bandwidth f3dB = 1/(2πRC), so
tr ≈ 0.35/f3dB.
Example: R = 1 kΩ, C = 1 pF gives τ = 1 ns, tr = 2.2 ns, f3dB ≈ 159 MHz.
With a square wave input whose period is much longer than τ, the output shows exponential edges; if the period is much shorter than τ, the output becomes a small triangular ripple around the average, which is why an RC low-pass acts as an integrator at high frequency.
Likely follow-up: What does an RC high-pass (series C, shunt R) do to the same square wave?
The output spikes by the full step on each edge and then decays with time constant RC. With RC much less than the period you get a differentiator (narrow spikes); with RC much larger the square wave passes with a small droop (tilt).
12What is the impedance looking into a diode-connected MOSFET? Where is it used?
With gate tied to drain, a test voltage vx produces a current gm·vx through the channel plus vx/ro, so
Rin = 1/gm ∥ ro ≈ 1/gm (and 1/(gm + gmb) ∥ ro if the source is not at the body potential).
It is always in saturation (VDS = VGS > Vov).
Uses:
- the reference side of a current mirror (it converts a current into a gate voltage),
- a low-gain, wide-band load for an amplifier (gain ≈ −gm1/gm2, set by a ratio of sizes, so it is well controlled over process),
- bias generation and level shifting.
13How does a MOSFET work as a switch? What limits its accuracy?
In deep triode (small VDS) the device is a resistor:
Ron = 1 / (µCox·(W/L)·(VGS − Vth))
To pass a signal, the gate is driven fully on (VDD for NMOS) and fully off.
Limits:
- Ron depends on the signal: VGS = VDD − Vin falls as Vin rises, so an NMOS switch fails near VDD and a PMOS near ground. A transmission gate (NMOS and PMOS in parallel) gives a flatter Ron across the range.
- Charge injection and clock feedthrough when the switch turns off (covered in the sampling section).
- Leakage in the off state, and a body effect that raises Vth with the signal.
- Bandwidth: Ron with the sampling cap sets a time constant; settling to N bits needs about (N+1)·ln 2 time constants.
14Why do analog designers use channel lengths much longer than the minimum?
- Gain: ro, and so the intrinsic gain gm·ro, rises with L.
- Matching: Vth mismatch scales as 1/√(W·L) (Pelgrom), so larger area matches better.
- 1/f noise: flicker noise power scales as 1/(W·L·Cox).
- Predictability: short-channel effects and Vth roll-off make minimum-length devices vary more.
The cost is speed: fT falls roughly as 1/L², and larger devices add capacitance to the signal path. So designers use long L for mirrors, current sources and low-frequency paths, and shorter L only where speed is needed (fast input pairs, switches, RF).
Single-stage amplifiers
15Derive the gain and output resistance of a common-source amplifier with a resistive load. Then with an ideal current-source load.
Small-signal model: the transistor is a current source gm·vin from drain to source, with ro in parallel. The output node sees ro in parallel with the load.
- Resistive load:
Av = −gm·(RD ∥ ro),Rout = RD ∥ ro. - Ideal current-source load:
Av = −gm·ro(the intrinsic gain),Rout = ro. - Real PMOS current-source load:
Av = −gm1·(ro1 ∥ ro2).
Worked example: ID = 100 µA, Vov = 200 mV, λ = 0.1 V⁻¹ for both devices. gm = 2ID/Vov = 1 mA/V; ro = 1/(λID) = 100 kΩ. With a PMOS load, ro1 ∥ ro2 = 50 kΩ, so Av = −50 (34 dB).
With a resistor, gain is limited by headroom: gm·RD = 2·ID·RD/Vov = 2·VRD/Vov. With a 1 V drop on RD and Vov = 0.2 V, gain is only 10. That is why active loads are used.
Likely follow-up: What sets the output swing of the CS stage with a PMOS load?
| The output must stay above Vov1 to keep M1 saturated and below VDD − | Vov2 | to keep the load saturated, so the swing is about VDD − Vov1 − | Vov2 | . |
16How do you find the gain of a transistor circuit “by inspection”? What are the three resistances you need?
Gain = −(transconductance of the input stage) × (resistance at the output node). Most single-stage circuits reduce to three rules (ignoring body effect):
| Looking into | Resistance |
|---|---|
| Gate | Infinite (at low frequency) |
| Source, with RD at the drain | (RD + ro)/(1 + gm·ro) ≈ 1/gm when RD is small |
| Drain, with RS at the source | ro + RS + gm·ro·RS ≈ ro·(1 + gm·RS) |
Then:
- Gm of a stage with source resistance RS:
gm / (1 + gm·RS). - Output resistance: combine what you see looking up and down from the output node.
This is the fastest way to answer “what is the gain of this circuit” in an interview, and interviewers expect it rather than a full nodal analysis.
17What does source degeneration do to a common-source stage?
With a resistor RS in the source:
- Effective transconductance:
Gm = gm / (1 + gm·RS)(ignoring ro and body effect). When gm·RS ≫ 1, Gm ≈ 1/RS. - Gain:
Av ≈ −RD / (RS + 1/gm), close to−RD/RSfor strong degeneration. - Output resistance rises to about
ro·(1 + gm·RS).
Benefits: the gain depends on a resistor ratio, not on gm, so it is stable over process and temperature; linearity improves because the feedback reduces the effect of the square law; and the input range widens.
Cost: gain is reduced by the factor (1 + gm·RS), and RS adds thermal noise and uses headroom. A capacitor across RS (or a degeneration network) can restore gain at chosen frequencies.
18What are the gain, output resistance and uses of a source follower? What are its limits?
Gain with load RL (including body effect):
Av = gm·(ro ∥ RL) / (1 + (gm + gmb)·(ro ∥ RL)) → about gm/(gm + gmb), typically 0.8 to 0.9.
Output resistance ≈ 1/(gm + gmb), low.
Uses: a voltage buffer that drives a low-resistance or capacitive load, and a level shifter (output is one VGS below input).
Limits:
- Gain below 1, and it varies with signal because of the body effect, which adds distortion.
- Headroom: each follower loses a VGS of swing.
- It can ring or even oscillate when driving a large capacitive load from a high-impedance source, because its output impedance becomes inductive at high frequency.
19Describe the common-gate amplifier. Where is it used?
The input goes into the source, the gate is at a fixed bias, and the output is taken from the drain.
- Input resistance ≈
1/(gm + gmb): low. - Gain ≈
+(gm + gmb)·RD(non-inverting), similar in size to a CS stage. - No Miller multiplication of Cgd, because the gate is AC ground. So it has wide bandwidth.
Uses:
- Impedance matching for a 50 Ω input in RF LNAs (set 1/gm = 50 Ω).
- A current buffer: it takes current in at a low impedance and delivers it at a high impedance. This is exactly the role of the cascode device.
- Transimpedance front-ends for photodiodes with large capacitance.
20What is a cascode? Derive its output resistance and explain why it is used.
A cascode is a CS transistor M1 with a common-gate transistor M2 stacked on its drain.
Output resistance (looking into M2’s drain, with M1’s ro1 as its source resistance):
Rout ≈ ro2 + ro1 + gm2·ro2·ro1 ≈ gm2·ro2·ro1
This is higher than ro by a factor of gm·ro (often 20 to 50).
Benefits:
- Gain: with a cascoded current-source load as well,
Av ≈ −gm1·[(gm2·ro2·ro1) ∥ (gm3·ro3·ro4)], roughly (gm·ro)²/2. - Bandwidth: M1’s drain sees about 1/gm2, so its gain is about −1 and the Miller effect on Cgd1 is almost removed.
- Isolation: reverse gain from output to input is very small.
Cost: headroom. Each cascode device needs about Vov plus margin, so a cascode stack does not suit low supply voltages.
21What is the Miller effect? Calculate the input capacitance of a CS stage.
An impedance Z connected between the input and output of an inverting amplifier of gain −A looks, from the input, like Z/(1 + A). For a capacitor, that is a capacitance C·(1 + A).
For a CS stage, Cgd bridges gate and drain:
Cin ≈ Cgs + Cgd·(1 + gm·RL)
Example: Cgs = 50 fF, Cgd = 10 fF, gain = 20 gives Cin = 50 + 210 = 260 fF. The small Cgd dominates.
The Miller effect is a problem for input bandwidth, and it is used deliberately for Miller compensation: a small capacitor across a high-gain stage looks like a large one and creates a dominant pole.
Likely follow-up: Is the Miller approximation always valid?
It assumes the gain is constant at the frequency of interest. Near and above the output pole the gain falls, so it overestimates the input capacitance; it also hides the right-half-plane zero created by the feedforward current through Cgd.
22Where are the poles of a common-source stage driven from a source resistance RS?
With Av = gm·RL:
- Input pole:
ωin ≈ 1 / (RS·[Cgs + Cgd(1 + gm·RL)]), from the source resistance driving the Miller-multiplied input capacitance. - Output pole:
ωout ≈ 1 / (RL·[CL + Cdb + Cgd(1 + 1/(gm·RL))]), approximately1/(RL·(CL + Cgd)). - Zero: a right-half-plane zero at
ωz = gm/Cgd, from the current that flows forward through Cgd.
Which pole dominates depends on RS: from a low-impedance source the output pole dominates; from a high-impedance source the Miller-boosted input pole usually does. The exact transfer function (Razavi) shows the poles interacting, which is the same pole-splitting used in Miller compensation.
23Compare telescopic and folded-cascode op-amps.
| Telescopic cascode | Folded cascode | |
|---|---|---|
| Gain | ≈ gm·(gm·ro²)/2, high | Similar, slightly lower |
| Power | Lowest: one current branch | Higher: two branches (input and folded) |
| Output swing | Small: about VDD − 5·Vov | Larger: about VDD − 4·Vov |
| Input common-mode range | Narrow, and limited by output | Wide; the input can go to a rail with the right pair type |
| Noise | Lowest | More: the folding current sources add noise |
| Speed | Fastest, fewest poles | Non-dominant pole at the folding node is lower |
| Unity-gain buffer | Hard: input and output ranges conflict | Easy |
A telescopic op-amp suits switched-capacitor stages where the common mode is fixed and power matters. A folded cascode is the general-purpose choice when input range or buffer connection matters.
24Why does a cascode improve the bandwidth of an amplifier?
In a plain CS stage, Cgd of the input device is multiplied by (1 + gm·RL), which can be 20 to 100 times.
In a cascode, the input device’s drain is loaded by the source of the cascode device, which is about 1/gm2. The gain from gate to that node is about −gm1/gm2 ≈ −1, so Cgd1 is multiplied only by about 2.
The input pole moves up, and the high gain is built at the output node instead, where it does not reflect back to the input. The cost is one extra pole at the cascode node (about gm2/Cx), usually well above the dominant pole.
25What is gain boosting (a regulated cascode)?
An auxiliary amplifier of gain A senses the source of the cascode device and drives its gate, holding the drain of the input device nearly constant.
Output resistance becomes about A·gm2·ro2·ro1, so gain rises by A without stacking more devices or using more headroom.
Uses: high-accuracy switched-capacitor amplifiers in pipeline ADCs, where 80 to 100 dB of gain is needed at low supply.
Watch for the pole-zero doublet: the booster loop adds a closely spaced pole and zero, which causes a slow settling tail. The booster’s unity-gain frequency must sit above the main amplifier’s closed-loop bandwidth and below its second pole.
26Compare class A, class B and class AB output stages.
| Class | Conduction | Peak efficiency | Distortion |
|---|---|---|---|
| A | 360°: always on | 25% (resistive load), 50% (inductive) | Lowest |
| B | 180° per device, push-pull | 78.5% (π/4) | Crossover distortion near zero |
| AB | Slightly more than 180° | Between A and B | Low |
Class B wastes no quiescent current, but both devices are off for a small input around zero, so the output has a dead zone (crossover distortion). Class AB adds a small quiescent current so one device takes over before the other turns off. On-chip op-amp output stages are usually class AB, with the quiescent current set by a translinear or floating-bias loop.
27How does a CMOS inverter work as an amplifier? What is its gain?
Biased at its switching threshold (for example with a feedback resistor from output to input), both devices are in saturation and both convert the input to current:
Av = −(gmn + gmp)·(ron ∥ rop)
For gmn = gmp = 1 mA/V and ron = rop = 50 kΩ: Av = −2 mA/V × 25 kΩ = −50.
It is power-efficient because both devices contribute gm from the same current, which is why inverter-based amplifiers appear in low-power ADCs and crystal oscillators. Its drawbacks are poor power-supply rejection (the bias point moves with VDD) and a bias point that depends on process.
28Compare a MOSFET and a bipolar transistor for analog design.
| BJT | MOSFET | |
|---|---|---|
| gm per current | IC/VT ≈ 38.5 S/A at room temp | 2/Vov ≈ 10 S/A in strong inversion; up to about 25 to 30 S/A in weak inversion |
| Input current | Base current IB = IC/β | Essentially zero gate current at DC |
| Intrinsic gain | VA/VT, often several thousand | 2/(λVov), often 10 to 100 |
| Matching | Better (VBE offsets about 1 mV or less) | Worse for the same area (Vth mismatch) |
| 1/f noise | Lower | Higher |
| Integration | Needs a BiCMOS process | Standard CMOS, dense, cheap |
BJTs are still preferred for bandgap references (the VBE and ΔVBE behaviour is predictable), and in some low-noise and high-precision front-ends. CMOS wins on integration, switches and power at the system level.
Differential pairs and current mirrors
29Why are differential circuits preferred in analog design?
- Common-mode rejection: noise on the supply, the substrate or the ground couples equally to both sides and cancels in the difference.
- Double the swing: the differential output swing is twice the single-ended swing, which helps dynamic range at low supply (noise rises only by √2).
- Even-order distortion cancels in a symmetric circuit.
- Simpler biasing: the operating point is set by the tail current, not by a precise input DC level.
- Less coupling to others: differential currents return locally rather than through the supply.
The costs are about twice the area and noise sources, and the need for a common-mode feedback loop when the output is fully differential.
30Explain the large-signal behaviour of an NMOS differential pair. When is the tail current fully switched?
With tail current ISS, both devices share it equally at ΔVin = 0. The square law gives
ID1 − ID2 = ½µCox(W/L)·ΔVin·√(4·ISS/(µCox·W/L) − ΔVin²)
The current fully steers to one side when |ΔVin| = √2·Vov, where Vov is the overdrive at balance. For Vov = 200 mV, that is about 283 mV.
Small-signal: the differential transconductance is gm of one device, so ΔI = gm·ΔVin around balance, and a pair with output resistance Rout on each side has differential gain gm·Rout.
Design insight: a larger Vov gives a wider linear input range but less gm per current. A smaller Vov gives more gain and less noise but saturates sooner.
31Derive the gain of a differential pair with a current-mirror load.
A differential input gives a current ±gm·vid/2 in each branch. The mirror copies the left branch current to the right, so at the output node the two currents add instead of cancelling:
iout = gm·vid
The output node sees the drain resistance of the input device in parallel with that of the mirror device:
Av = gm1·(ro2 ∥ ro4)
This is the full differential gain from a single-ended output, which is why this five-transistor OTA is the most common first stage.
Two details worth mentioning:
- Mirror pole: the diode node has resistance about 1/gm3 and capacitance Cgs3 + Cgs4, giving a pole and a left-half-plane zero at about twice that frequency. It usually lies far above the dominant pole.
- Systematic offset: the diode side sits at VDD − VSG3, so the output only balances when it sits at the same voltage. Any other output level creates a small systematic offset through ro.
32What is CMRR? What limits it in a differential pair?
CMRR = |Adm / Acm|, usually quoted in dB. It measures how much a differential amplifier ignores an input common-mode change.
Two things limit it:
- Finite tail impedance RSS. A common-mode change moves the source node and changes the tail current by Δvcm/RSS. For a resistive-load pair,
Acm ≈ −RD/(2·RSS). A cascoded tail current source raises RSS. - Mismatch. With perfect symmetry, a common-mode current change would split equally and produce no differential output. Mismatch in gm (Δgm) or in the loads (ΔRD) converts common mode to differential:
Acm-dm ≈ (ΔRD/RD + Δgm/gm)·RD/(2·RSS), roughly.
At high frequency, the capacitance at the tail node lowers RSS and CMRR falls, often with a 20 dB/decade slope. Typical on-chip op-amps give 60 to 90 dB at DC.
33What is the input common-mode range of an NMOS differential pair with a PMOS mirror load?
- Lower limit: the tail current source must stay saturated, so
VCM,min = VGS1 + Vov,tail = Vth + Vov1 + Vov,tail. - Upper limit: the input devices must stay saturated. Their drains sit at about
VDD − |VGS3|, and saturation needsVD ≥ VG − Vth, soVCM,max = VDD − |VGS3| + Vth1.
| Example: VDD = 1.8 V, Vth = 0.45 V, Vov = 0.2 V everywhere. | VGS3 | = 0.65 V. VCM,min = 0.45 + 0.2 + 0.2 = 0.85 V; VCM,max = 1.8 − 0.65 + 0.45 = 1.6 V. |
If the input must reach ground, use a PMOS input pair. If it must reach both rails, use complementary NMOS and PMOS pairs in parallel (a rail-to-rail input stage).
34Why does a fully differential op-amp need common-mode feedback (CMFB)?
In a fully differential amplifier with high-impedance outputs (current-source loads), the output common-mode level is set by the difference between the top and bottom currents times a very large resistance. A tiny mismatch drives the outputs into a rail. Differential feedback around the amplifier does not fix this, because it only acts on the differential signal.
A CMFB loop:
- Senses the output common mode,
(Vout+ + Vout−)/2, with resistors (which load the output) or with switched capacitors (common in switched-capacitor circuits), or with a pair of differential pairs. - Compares it with the desired level VCM,ref.
- Adjusts a bias current (the tail or the load current sources).
The CMFB loop must be stable on its own, with a bandwidth comparable to the differential loop, and its sense circuit must stay linear over the full output swing.
35How does a basic current mirror work? What are its error sources?
The diode-connected reference device M1 sets a VGS that carries IREF. M2 shares the same VGS, so in saturation it carries
IOUT = IREF·(W/L)2/(W/L)1
Error sources:
- Channel-length modulation: if VDS2 ≠ VDS1,
IOUT/IREF ≈ (1 + λVDS2)/(1 + λVDS1). With λ = 0.1 V⁻¹ and a 0.5 V difference, the error is about 5%. - Vth and β mismatch: random, and it scales with 1/√(area).
- Gate leakage and finite β in bipolar mirrors.
- IR drop in the source connection, which changes VGS.
Output resistance is just ro2, so the copied current still changes with the output voltage. Cascode mirrors fix that.
Likely follow-up: Why should mirror devices use non-minimum length and a large overdrive?
Long L raises ro and reduces Vth roll-off sensitivity. A larger Vov reduces the current error from a given ΔVth, since ΔI/I = 2·ΔVth/Vov. The cost is headroom.
36Compare the cascode current mirror and the wide-swing (low-voltage) cascode mirror.
Simple cascode mirror: two diode-connected devices stacked on the reference side bias the cascode gate at VGS1 + VGS3. Output resistance is about gm·ro². But the output needs VOUT ≥ VGS + Vov = Vth + 2·Vov, which wastes one threshold of headroom.
Wide-swing cascode: the cascode gate is biased separately at about Vth + 2·Vov (for example with a separate diode device sized at (W/L)/4, or a separate branch). Then the bottom device sits at VDS = Vov, just at the edge of saturation, and the output needs only VOUT ≥ 2·Vov. It keeps the gm·ro² output resistance while saving one Vth of headroom, so it is the standard choice at low supply. Margin of about 50 to 100 mV is usually added to the bottom device’s VDS.
Other high-output-resistance mirrors: the Wilson mirror (local feedback) and the regulated cascode (an amplifier drives the cascode gate).
37What sets the offset of a differential pair? How do you reduce it?
For an input pair with a mirror load, the input-referred offset (one sigma) is approximately
σ(Vos)² = σ(ΔVth,in)² + (gm,load/gm,in)²·σ(ΔVth,load)² + (Vov,in/2)²·σ(Δβ/β)² + …
With Pelgrom’s law, σ(ΔVth) = AVT / √(W·L). For AVT = 3 mV·µm and a 10 µm × 1 µm pair, σ(ΔVth) ≈ 0.95 mV.
Ways to reduce it:
- Large input devices (area), and input devices biased at a lower Vov (weak or moderate inversion) so the β term shrinks.
- Small gm for the load relative to the input (a large Vov for the load mirror).
- Common-centroid layout and dummies to remove gradients.
- Offset cancellation: auto-zeroing, chopping or digital trimming, when sub-millivolt offset is needed.
38How does a beta-multiplier (constant-gm) bias circuit work? Why does it need a start-up circuit?
Two mirrors force equal currents in two branches; one NMOS is K times wider than the other and has a resistor RS in its source. The loop settles where
I = (2 / (µCox·(W/L)·RS²))·(1 − 1/√K)²
and the useful result is gm = 2(1 − 1/√K)/RS. The transconductance of the bias devices is set by a resistor, nearly independent of supply, process and temperature (apart from RS itself). Amplifiers biased from it keep a constant gm, so their bandwidth tracks the capacitors.
Every self-biased loop has a second stable state with zero current: if all devices are off, nothing turns them on. A start-up circuit injects a small current when the bias node is near a rail, then switches itself off once the loop is running. It must be checked across corners and with slow supply ramps, because a stuck bias is a classic silicon failure.
39How do you build a rail-to-rail input stage? What problem does it create?
Put an NMOS pair and a PMOS pair in parallel. Near the top rail the NMOS pair works, near the bottom rail the PMOS pair works, and in the middle both are on.
The problem: total gm changes with the common mode (it doubles in the middle where both pairs conduct), so the unity-gain bandwidth and phase margin change, and distortion rises as the input crosses the transition region.
Fixes:
- Constant-gm techniques: current switches that steer more tail current to the active pair when the other turns off. In strong inversion, gm ∝ √I, so the active pair’s current is raised by 4 times; in weak inversion, by 2 times.
- A charge pump that runs a single pair above the supply.
- The input offset also changes between regions, which matters for precision designs.
40What changes if the tail current source of a diff pair is replaced by a resistor?
- CMRR falls: the tail impedance drops from a current source’s ro (or gm·ro² with a cascode) to a resistor of maybe tens of kilohms. A common-mode change now changes the tail current, and mismatch converts that into a differential output.
- The bias current depends on the input common mode:
ISS = (VCM − VGS)/RT, so gm and gain move with the common-mode level. - Headroom can improve: a resistor needs no minimum VDS, which can help at very low supply.
This is why a resistor tail is used only when the common-mode level is fixed and clean, or when headroom is extremely tight.
41Compare single-ended and fully differential op-amps.
| Single-ended output | Fully differential | |
|---|---|---|
| Output swing | One rail-to-rail swing | Twice, so about 6 dB more dynamic range |
| Supply, substrate noise | Appears at the output | Rejected as common mode |
| Even-order distortion | Present | Cancels |
| Extra circuitry | None | Common-mode feedback loop |
| Use | Buffers, LDO error amps, general use | Switched-capacitor circuits, ADC drivers, high-resolution signal paths |
Fully differential paths are the default inside ADCs and filters; single-ended op-amps are used where the signal leaves the chip or drives a single-ended load.
42How does a PTAT current generator work?
Two bipolar transistors (or subthreshold MOSFETs) run at the same current but with an area ratio N. Their base-emitter voltages differ by
ΔVBE = VT·ln(N), where VT = kT/q.
A loop (two matched mirrors, or an op-amp) forces ΔVBE across a resistor R, so
IPTAT = VT·ln(N)/R, which is proportional to absolute temperature.
For N = 8, ΔVBE = 26 mV × ln 8 ≈ 54 mV at 300 K; with R = 54 kΩ, the current is about 1 µA.
PTAT currents are the core of bandgap references and temperature sensors, and give constant-gm bias for bipolar circuits. Like other self-biased loops, the circuit needs a start-up path.
Op-amps, feedback and stability
43What is a virtual short? Derive the gain of inverting and non-inverting amplifiers.
With negative feedback and very high open-loop gain A, the output settles wherever the input difference is Vout/A ≈ 0. So the two inputs sit at almost the same voltage (virtual short), and with infinite input impedance no current flows into the inputs.
- Inverting (Rin from the input to the − terminal, Rf from the output to the − terminal, + grounded): the − node is a virtual ground, so
Vin/Rin = −Vout/RfandAv = −Rf/Rin. Input impedance is Rin. - Non-inverting (input on +, Rf and Rg divider on −):
Av = 1 + Rf/Rg. Input impedance is very high. - Buffer: Rf = 0, Rg open, so Av = 1.
With finite gain: Av = (ideal gain)·1/(1 + 1/(A·β)), where β is the feedback factor, Rg/(Rg + Rf). The virtual short only holds while the loop gain A·β is large; it fails at high frequency, during slewing and when the output saturates.
Likely follow-up: For the same gain magnitude, why does an inverting amplifier have less bandwidth than a non-inverting one?
| Both have the same feedback factor β = Rin/(Rin + Rf), so the closed-loop bandwidth is β·GBW for both. A gain of −1 has β = ½ while a gain of +1 has β = 1, so the inverting stage at the same | gain | runs at a lower β and lower bandwidth. Bandwidth is set by the noise gain 1/β, not by the signal gain. |
44Draw an op-amp integrator and differentiator. What goes wrong with each in practice?
- Integrator: R at the input, C in feedback.
Vout = −(1/RC)∫Vin dt, transfer−1/(sRC). - Differentiator: C at the input, R in feedback.
Vout = −RC·dVin/dt, transfer−sRC.
Practical problems:
- The integrator has no DC feedback, so input offset and bias currents integrate until the output hits a rail. A large resistor across C (a lossy integrator) or a reset switch fixes it. In switched-capacitor integrators, the circuit is reset or used inside a loop that holds it.
- The differentiator’s gain rises with frequency, so it amplifies high-frequency noise, and its feedback factor creates a second-order loop that can ring or oscillate. A series resistor with the input C (and often a small C across R) limits the high-frequency gain.
45What are the benefits of negative feedback? What does it cost?
With open-loop gain A and feedback factor β, the closed-loop gain is A/(1 + Aβ), close to 1/β when the loop gain Aβ is large.
Benefits (each improved by about the factor 1 + Aβ):
- Gain desensitisation: gain depends on a resistor or capacitor ratio, not on transistor parameters.
- Bandwidth extension: the closed-loop bandwidth is wider than the open-loop pole.
- Linearity: distortion is reduced.
- Impedance control: series feedback at a port raises impedance; shunt feedback lowers it.
Costs:
- Gain is reduced by (1 + Aβ).
- Stability risk: with enough phase shift around the loop, negative feedback becomes positive.
- Noise is not reduced; input-referred noise is unchanged.
46What are phase margin and gain margin? Why do designers aim for about 60° of phase margin?
Look at the loop gain T(s) = A(s)·β.
-
Phase margin (PM): 180° plus the phase of T at the frequency where T = 1 (0 dB). It measures how far the loop is from −180°, where negative feedback turns positive. -
Gain margin (GM): how far T is below 0 dB at the frequency where the phase reaches −180°.
Why about 60°:
- With PM = 45°, the closed-loop response has a peak of about 2.3 dB and step overshoot of about 20 to 25%.
- At 60°, overshoot is under 10% and the settling is fast. For a two-pole loop this needs the second pole at about 1.7 times the unity-gain frequency, plus margin for the right-half-plane zero and other parasitics.
- Over 75° the response is over-damped and slow.
Design for 60° to 70° nominal so that the worst corner still has at least about 45°.
Likely follow-up: Is a loop with positive gain margin but negative phase margin stable?
| For the usual case where the loop gain magnitude falls through 0 dB once, no. A negative PM means the loop phase passes −180° while | T | is still above 1, and the closed loop has right-half-plane poles. Conditionally stable loops, where | T | crosses 1 more than once, need the Nyquist criterion. |
47Why is a unity-gain buffer the hardest configuration to stabilise?
Loop gain is A·β. In a buffer, β = 1, the largest possible, so the loop gain crosses 0 dB at the op-amp’s own unity-gain frequency, where the most phase has accumulated from the non-dominant poles.
With a closed-loop gain of 10 (β = 0.1), the loop gain crosses 0 dB a decade lower, where the non-dominant poles add little phase, so PM is higher.
This is why op-amps that are “unity-gain stable” are compensated for β = 1, and decompensated op-amps (stable only at gains of, for example, 5 or more) can offer higher bandwidth. Always check stability at the largest β the op-amp will see in use.
48Explain Miller compensation of a two-stage op-amp. What is pole splitting?
A two-stage op-amp has two high-impedance nodes: the first-stage output (R1, C1) and the second-stage output (R2, CL). Their poles are close together, so the phase reaches −180° near the unity-gain frequency.
A capacitor Cc across the second stage (gain A2 = gm6·R2):
- The first-stage output sees Cc multiplied by about A2 (Miller), so the dominant pole moves down to
p1 ≈ 1/(R1·gm6·R2·Cc). - At high frequency Cc shorts the second stage’s gate and drain, so it behaves like a diode with impedance 1/gm6, and the output pole moves up to
p2 ≈ gm6/CL(with C1 small compared with Cc and CL).
Moving the poles apart is called pole splitting. Results:
GBW ≈ gm1/Cc- Right-half-plane zero at
z = gm6/Cc - For about 60° PM with z at 10·GBW:
p2 ≥ 2.2·GBW, which givesgm6 ≥ 10·gm1andCc ≥ 0.22·CL(the standard hand-design rule).
49Where does the right-half-plane zero in a Miller-compensated op-amp come from? How is it removed?
Cc gives a feedforward path from the second stage’s input to its output. At high frequency the current through Cc (s·Cc·v1) cancels the current from the transistor (gm6·v1). They cancel at
z = gm6 / Cc
Because the feedforward current has the opposite sign, the zero is in the right half plane: it raises gain like a zero but adds phase lag like a pole, which hurts phase margin badly.
Fixes:
- Nulling resistor Rz in series with Cc: the zero moves to
z = 1/(Cc·(1/gm6 − Rz)). Rz = 1/gm6 moves it to infinity; Rz > 1/gm6 puts it in the left half plane, where it can cancel p2 (Rz = (1 + CL/Cc)/gm6). Rz is usually a triode MOSFET that tracks gm6 over process. - Block the feedforward path with a voltage buffer (source follower) or a current buffer (common-gate device, the Ahuja or cascode compensation), which also gives higher bandwidth for the same power.
50What is slew rate? Calculate it for a two-stage op-amp, and find the full-power bandwidth.
For a large input step, the input pair switches fully and the whole tail current ISS flows into or out of Cc. The output can then change only at
SR = ISS / Cc (if the second stage can source and sink enough to drive CL, which also needs I2 ≥ SR·(CL + Cc)).
Example: ISS = 20 µA, Cc = 2 pF gives SR = 10 V/µs.
Full-power bandwidth: a sine of amplitude Vp has maximum slope 2πf·Vp. Without slew distortion, f ≤ SR/(2π·Vp). For Vp = 1 V: 10 V/µs ÷ 6.28 ≈ 1.6 MHz.
Note: SR = ISS/Cc and GBW = gm1/Cc give SR = GBW·(ISS/gm1) = GBW·2π·Vov1 (with GBW in hertz). A larger input overdrive (or source degeneration) improves slew rate for the same bandwidth.
51An op-amp has a DC gain of 80 dB and a GBW of 10 MHz. What are the closed-loop gain error and bandwidth in a gain-of-10 non-inverting amplifier?
A = 10,000, β = 0.1, so the loop gain Aβ = 1000.
- Closed-loop gain =
(1/β)·1/(1 + 1/(Aβ))= 10 × 1/1.001 ≈ 9.990. The gain error is about 0.1%. - Closed-loop bandwidth ≈ β·GBW = 0.1 × 10 MHz = 1 MHz, for a single-pole op-amp.
The open-loop pole is at GBW/A = 1 kHz, so feedback has widened the bandwidth by the factor 1 + Aβ ≈ 1000.
Rule: closed-loop gain error is about 1/(Aβ), and gain times bandwidth stays roughly constant.
52What is PSRR? What limits it in a two-stage op-amp?
PSRR = (differential gain) / (gain from the supply to the output). It measures how well the op-amp rejects supply noise, which is critical next to digital logic and switching regulators.
In a two-stage Miller op-amp:
- At low frequency, the input pair and mirror reject VDD changes reasonably, and PSRR is limited by mismatch and output resistances.
- Above the dominant pole, VDD-PSRR falls badly: Cc ties the gate of the second-stage PMOS driver to its drain, so supply noise at the source of the PMOS output device passes straight to the output. PSRR decreases at 20 dB/decade from the dominant pole.
Improvements: an NMOS output driver with the compensation referenced to ground, cascoded compensation (current-buffer Miller), a regulated or filtered supply, and fully differential design, which turns supply noise into common mode.
53How do you calculate the settling time of an op-amp in closed loop?
Settling has two parts:
- Slewing: while the step exceeds the input pair’s linear range, the output ramps at SR. Time ≈ (step − linear range)/SR.
- Linear settling: a single-pole closed loop settles with time constant
τ = 1/(2π·β·GBW). Settling to an error ε takest = τ·ln(1/ε).
Example: β = 0.5, GBW = 200 MHz gives τ ≈ 1.6 ns. For 0.1% (10 bits): ln(1000) ≈ 6.9, so about 11 ns of linear settling.
Also check:
- Static error from finite gain: about 1/(Aβ). For 12-bit accuracy you need Aβ above about 4096, roughly 72 dB plus margin.
- Low phase margin adds ringing that lengthens settling.
- Pole-zero doublets (from mirror poles or gain-boosting) create slow tails that a single-pole estimate misses.
54Name the four feedback topologies. What does each do to input and output impedance?
Named by how feedback is sampled at the output and mixed at the input:
| Topology | Amplifier type | Input impedance | Output impedance |
|---|---|---|---|
| Series-shunt (voltage sense, voltage mix) | Voltage amplifier | Raised by (1 + Aβ) | Lowered by (1 + Aβ) |
| Shunt-shunt (voltage sense, current mix) | Transimpedance | Lowered | Lowered |
| Series-series (current sense, voltage mix) | Transconductance | Raised | Raised |
| Shunt-series (current sense, current mix) | Current amplifier | Lowered | Raised |
Simple rule: sensing voltage lowers output impedance; sensing current raises it. Mixing in series raises input impedance; mixing in shunt lowers it. The non-inverting amplifier is series-shunt; the inverting amplifier and the photodiode TIA are shunt-shunt.
55Can an op-amp be used as a comparator? How does a comparator differ?
It works, but poorly:
- An op-amp is compensated for stability, so its output is slow and limited by slew rate.
- Coming out of saturation takes a long recovery time.
- Its output may not swing to logic levels.
A comparator runs open-loop, so it needs no compensation, recovers fast from overdrive and drives logic levels. Two types:
- Continuous-time, often with hysteresis (a Schmitt trigger) for noisy inputs.
- Latched (dynamic), such as the StrongARM latch: a clocked regenerative pair that resolves a small input to full logic levels in picoseconds to nanoseconds with no static current. It is the comparator inside SAR and flash ADCs. Its key specs are offset, input-referred noise, kickback and metastability (small inputs take longer to resolve, since regeneration is exponential with time constant C/gm).
56Why do op-amps become unstable when driving a large capacitive load? How do you fix it?
The load capacitance and the op-amp’s output resistance form an extra pole, p = 1/(2π·Rout·CL). As CL grows, this pole moves down toward the unity-gain frequency and eats phase margin, causing ringing or oscillation. For a two-stage op-amp, p2 = gm6/CL directly falls.
Fixes:
- Isolation resistor in series with the output (outside the loop): it adds a zero that restores phase, at the cost of some DC accuracy and a drop under load.
- Increase Cc or the output-stage current, moving p2 back up.
- Make the load the dominant pole: a single-stage OTA, or an LDO with a large output capacitor, is designed so CL itself sets the dominant pole. Then a large load improves stability.
- Snubber or in-loop compensation (feedback taken from before and after the isolation resistor) for precise DC with stability.
57How do you measure loop gain and phase margin in simulation?
Breaking the loop with a big inductor and capacitor works only if the loading at the break point is preserved. Better methods:
- Spectre STB analysis (or the equivalent): put an
iprobein the loop. It uses the Middlebrook or Tian method, injecting both a voltage and a current to find the true loop gain with both sides loaded correctly, even with bidirectional paths. - AC with a large-signal-preserving break: set the DC point through a huge inductor, and inject the AC signal through a large capacitor, then measure the return ratio.
Check:
- Across PVT corners and all load conditions (minimum and maximum load current and capacitance for an LDO).
- The common-mode feedback loop as well as the differential loop.
- Confirm with a transient step: overshoot and ringing should agree with the PM you computed. Disagreement usually means you broke the loop in the wrong place.
58Draw a three-op-amp instrumentation amplifier. Why is it preferred over a single difference amplifier?
Two non-inverting op-amps form the input stage, sharing one gain resistor RG between their inverting inputs, with resistor R from each output to its own inverting input. A difference amplifier (gain 1, four matched resistors R2) follows.
Gain = 1 + 2R/RG
Why it is better than a single difference amplifier:
- Very high input impedance on both inputs: the sensor sees only op-amp inputs, not resistors.
- Gain is set by one resistor, RG, without touching the matched resistors.
- High CMRR: the input stage passes common mode at gain 1 while amplifying the difference, so the second stage’s resistor mismatch matters less, improving CMRR roughly by the first stage’s gain.
It is used for bridge sensors (strain gauges, pressure), ECG front-ends and current sensing.
Noise, mismatch and variation
59What is the thermal noise of a resistor? Give a number for 1 kΩ.
Random thermal motion of carriers gives a white noise voltage with power spectral density
Vn² = 4kTR (V²/Hz), or equivalently a parallel current noise In² = 4kT/R.
At 300 K, 4kT ≈ 1.66 × 10⁻²⁰ J. For R = 1 kΩ: Vn = √(1.66 × 10⁻¹⁷) ≈ 4 nV/√Hz. It scales with √R: 100 kΩ gives about 40 nV/√Hz.
Over a bandwidth B the rms noise is √(4kTR·B). 1 kΩ over 1 MHz gives about 4 µV rms.
Note: noise is not reduced by cooling a resistor by a few degrees in practice, but it is reduced by lowering R, which costs power in most circuits. This is a central noise-versus-power trade-off.
60What are the main noise sources in a MOSFET? What is the flicker noise corner?
Channel thermal noise: a drain current noise In² = 4kT·γ·gm, with γ = 2/3 for long-channel devices in saturation (often 1 or more in short-channel devices). Referred to the gate: Vn² = 4kTγ/gm. More gm means less input noise, so low noise costs current.
Flicker (1/f) noise: from carriers trapped and released at the oxide interface. Input-referred:
Vn² = K / (Cox·W·L·f)
It is inversely proportional to gate area and rises at low frequency. PMOS devices are often 2 to 10 times quieter than NMOS in 1/f noise in many processes.
Corner frequency fc: where the 1/f and thermal densities are equal. It can be from kHz to MHz in deep-submicron devices. Below fc, 1/f noise dominates. Larger devices, PMOS inputs, chopping and auto-zeroing all deal with it.
Gate leakage shot noise and gate resistance noise also matter in thin-oxide and RF devices.
61What is kT/C noise? Why does it not depend on the resistance?
When a resistor (or switch) charges a capacitor, the resistor’s noise 4kTR is filtered by the RC low-pass, whose noise bandwidth is 1/(4RC). The total noise on the capacitor is
Vn² = 4kTR × 1/(4RC) = kT/C
R cancels: a larger R makes more noise density but a proportionally narrower bandwidth. The result only depends on C and temperature.
Numbers at 300 K:
| C | rms noise |
|---|---|
| 100 fF | 203 µV |
| 1 pF | 64 µV |
| 10 pF | 20 µV |
This sets the minimum sampling capacitor in switched-capacitor circuits and ADCs. To lower noise by 2 times you need 4 times the capacitance, and so 4 times the drive current for the same speed. That is why high-resolution ADCs cost so much power.
62How do you find the total input-referred noise of a multi-stage amplifier? Why does the first stage matter most?
Refer each stage’s noise to the overall input by dividing by the gain in front of it:
Vn,in² = Vn1² + Vn2²/A1² + Vn3²/(A1·A2)² + …
Once the first stage has a gain of 10 or more, the later stages add little. So the first stage sets the noise: give it high gm (current), make its load devices contribute little (low gm for the loads), and avoid resistive losses before it. This is the same idea as Friis’ formula for noise figure in RF chains.
For a 5-transistor OTA, input-referred thermal noise is about 2·(4kTγ/gm1)·(1 + gm3/gm1). The factor 2 is from the two input devices, and the load mirror adds the second term. To keep it low, make gm3 much smaller than gm1, by giving the load devices a large overdrive.
63Compare auto-zeroing and chopping for removing offset and 1/f noise.
Auto-zeroing: in one clock phase the amplifier’s offset (and low-frequency noise) is sampled on a capacitor; in the next phase it is subtracted. Works well for offset, but sampling folds broadband white noise into the baseband, raising the noise floor, and the output is only valid in one phase (or needs ping-pong amplifiers).
Chopping: the input is multiplied by a ±1 square wave at fchop, moving the signal up to fchop, where it is amplified clear of 1/f noise. It is then demodulated back to DC, while the offset and 1/f noise move up to fchop and are filtered out. The output is continuous, and there is no noise folding. The cost is ripple at fchop that must be filtered, and residual offset from switch charge injection and spikes.
Precision amplifiers often combine both (chopper-stabilised with auto-zeroing, or ripple-reduction loops) to reach microvolt offsets and flat noise down to millihertz.
64What is Pelgrom’s law? How large must a device pair be for 1 mV of threshold mismatch?
Random mismatch between two identical, closely placed devices falls with gate area:
σ(ΔVth) = AVT / √(W·L), σ(Δβ/β) = Aβ / √(W·L)
AVT is a process constant, roughly 1 mV·µm per nm of oxide thickness in older nodes and typically 1.5 to 4 mV·µm in modern processes. A distance term also exists, but in good layouts the area term dominates.
Example: AVT = 3.5 mV·µm, target σ(ΔVth) = 1 mV:
W·L = (3.5/1)² = 12.25 µm², for example W = 6 µm, L = 2 µm.
Halving mismatch needs 4 times the area, which means 4 times the capacitance and lower speed. So mismatch, speed and power trade against each other. Beyond about 4 times, calibration or trimming is cheaper than area.
65What is the difference between systematic and random mismatch? How is each reduced?
Systematic mismatch is repeatable and comes from design or layout:
- Gradients across the die (oxide thickness, doping, temperature, stress).
- Different surroundings (one device at the array edge, a different poly density, well proximity, STI stress).
- Different DC conditions (VDS mismatch in a mirror, IR drop in source lines).
It is reduced by layout and design: common-centroid and interdigitated placement, dummies at the array edges, identical orientation and surroundings, matching VDS (cascodes), and wide source lines.
Random mismatch is from atomic-scale variation (dopant count, line-edge roughness). It differs from chip to chip and follows Pelgrom’s law. It is reduced only by area, by biasing choices (a larger Vov for current mirrors, a smaller Vov for differential pairs), or by calibration and trimming.
66What are PVT corners? Which corner do you check for which risk?
Process (NMOS and PMOS each slow, typical or fast), supply voltage (typically ±10%) and temperature (often −40 to 125 °C).
| Process corner | Meaning | Analog risk to check |
|---|---|---|
| TT | Typical NMOS and PMOS | Nominal performance |
| SS | Both slow (high Vth, low mobility) | Low bandwidth, low headroom, slow settling |
| FF | Both fast | Highest current and power, lowest gain (lower ro), stability with more gm |
| SF, FS | One slow, one fast | Skewed: offset of mixed stages, comparator trip points, inverter thresholds |
Resistors and capacitors have their own corners (for example ±20% for poly resistors), which you vary with the transistor corners.
Typical worst cases: SS, low VDD, hot for speed and headroom; FF, high VDD, cold for power and stability; plus Monte Carlo at the key corners for mismatch.
67How do you use Monte Carlo simulation? How many sigma should a design meet?
Monte Carlo draws random values for process (global) and mismatch (local) parameters for each run, using the foundry’s statistical models. You can run mismatch-only (to see offset), process-only, or both.
How many sigma:
- For one block on a chip, 3σ (about 99.73% yield for a two-sided spec) is common.
- When many copies are on one chip, the spec must hold for every copy. For 1,000 comparators or 4,000 columns, you need around 4σ to 4.5σ per copy, or calibration.
Practical points:
- 200 to 500 runs give a reasonable estimate of the standard deviation; to show 4σ or more by direct sampling needs many more runs, so use the measured σ with a margin, or importance sampling.
- Check whether the distribution is Gaussian; offsets are, but trip points and settling errors can have tails.
- Always run mismatch Monte Carlo on the extracted (post-layout) netlist too, because parasitics can change the result.
68What are HD2, HD3, THD and IIP3? Why does a differential circuit remove HD2?
For a non-linear circuit y = a1·x + a2·x² + a3·x³, a sine input produces harmonics:
- HD2 = second harmonic / fundamental ≈
(a2/(2·a1))·A: rises 1 dB for each 1 dB of input. - HD3 ≈
(a3/(4·a1))·A²: rises 2 dB per 1 dB of input. - THD = √(sum of all harmonic powers) / fundamental.
- IIP3: the extrapolated input level where the third-order intermodulation product (from two tones) would equal the fundamental. It describes in-band distortion from two close interferers, and is key in RF and receivers.
In a symmetric differential circuit, the two halves see +x and −x. The even-order terms are the same on both sides and cancel in the difference, while the odd terms add. So HD2 is limited only by mismatch, and HD3 dominates. Feedback reduces both by about the loop gain.
69What is the noise bandwidth of a single-pole system? Why does an RC filter not reduce kT/C noise?
The equivalent noise bandwidth is the width of an ideal brick-wall filter that passes the same white-noise power. For a single pole at f3dB:
ENBW = (π/2)·f3dB ≈ 1.57·f3dB
So integrated white noise = density² × 1.57·f3dB.
Filtering a resistor’s own noise with a capacitor does not help: a larger R raises the noise density but narrows the bandwidth by the same factor, so the total is fixed at kT/C. Only a larger capacitor (or filtering with a lower bandwidth by a different, quieter stage) reduces the total.
In an op-amp circuit, the noise bandwidth is usually set by the closed-loop bandwidth β·GBW, and the noise density at the output is the input noise times the noise gain 1/β. Total output noise in a single-pole closed loop is roughly Vn,in²·(1/β)²·(π/2)·β·GBW.
70What is the difference between offset and noise? Can averaging remove offset?
- Offset is a fixed (DC) error, the same from one sample to the next on a given chip, but it varies from chip to chip with mismatch. Averaging does not reduce it.
- Noise is random from sample to sample. Averaging N independent samples reduces white noise by √N (3 dB per doubling of samples). 1/f noise averages much more slowly, because samples close in time are correlated.
Offset is removed by calibration, trimming, auto-zero or chopping. Noise is reduced by larger gm, larger capacitors, lower bandwidth or oversampling. Interviewers often ask this to check that you do not try to average out an offset.
References and regulators
71How does a bandgap reference work? Why is its output about 1.2 V?
It adds two voltages with opposite temperature slopes:
- VBE of a bipolar transistor falls with temperature, about −1.5 to −2 mV/K (CTAT).
- ΔVBE between two transistors at a current-density ratio N is
VT·ln(N), which rises at(k/q)·ln(N), about +0.087·ln(N) mV/K (PTAT).
VREF = VBE + K·VT·ln(N)
K is a resistor ratio chosen so the slopes cancel, which needs K·ln(N) of roughly 17 to 23. With N = 8, K is about 9.
When the slopes cancel, VREF lands near the silicon bandgap voltage extrapolated to 0 K, about 1.2 V (plus a small term from the curvature of VBE). The value is set by physics, which is why it is stable across process and supply.
In CMOS, the bipolar devices are parasitic vertical PNPs (p+ in an n-well over the p-substrate). An op-amp, or a mirror loop, forces equal voltages at the two branches so that ΔVBE appears across a resistor.
Likely follow-up: Why does a bandgap need a start-up circuit?
Like other self-biased loops, it has a stable zero-current state. A start-up circuit injects current when the core is off and turns off once it is running. It must be checked with slow and fast supply ramps across corners.
72How does op-amp offset affect a bandgap reference? How do you reduce it?
The op-amp forces the two branch voltages equal. Its offset Vos adds directly to the ΔVBE across the PTAT resistor, and is then multiplied by the same gain K that scales ΔVBE:
ΔVREF ≈ K·Vos (often 5 to 10 times)
Example: Vos = 2 mV (3σ) and K = 9 gives about 18 mV of error, 1.5% of 1.2 V. The offset also drifts with temperature, which spoils the temperature coefficient.
Remedies:
- A larger N (8 or 24, using a common-centroid array of PNPs) gives more ΔVBE per K, so less gain is needed.
- Stacked or cascaded VBE to raise ΔVBE.
- Large op-amp input devices, or bipolar inputs.
- Chopping the op-amp.
- Trimming the output at one temperature (usually a resistor trim) to remove the process spread.
73How do you design a bandgap reference below 1 V supply?
A classic bandgap outputs about 1.2 V, so it cannot run from a 0.9 V supply.
The current-mode (Banba) bandgap sums currents instead of voltages:
- A PTAT current,
ΔVBE/R1, from the core. - A CTAT current,
VBE/R2, from resistors across each diode. - Their sum, chosen so the temperature coefficients cancel, flows into an output resistor R3.
VREF = (R3/R2)·[VBE + (R2/R1)·VT·ln(N)]
Any output level below 1.2 V can be chosen by R3/R2, typically 0.5 to 0.8 V, and the supply only needs to exceed about VBE + a VDS,sat for the mirrors.
Other low-voltage options: subthreshold MOSFET references (no bipolars, nanowatt power, worse accuracy) and resistive subdivision of the VBE term.
74How is the temperature coefficient of a reference specified? Why does a bandgap curve?
Box method:
TC = (VMAX − VMIN) / (VNOM × (TMAX − TMIN)) × 10⁶ ppm/°C
Example: a 1.2 V reference varying by 3 mV over −40 to 125 °C (165 °C): TC = 3 mV / (1.2 V × 165) ≈ 15 ppm/°C.
The curve has a bow shape (parabolic) because VBE is not exactly linear in temperature; it has a T·ln(T) term from the temperature dependence of the saturation current and of the bias current. First-order cancellation flattens the slope at one temperature only.
First-order bandgaps reach about 10 to 30 ppm/°C. Curvature correction (adding a T·lnT term, or a non-linear current) reaches a few ppm/°C. Process spread is fixed by trimming at one temperature; to do it well, the trim should adjust the PTAT term, since that corrects both the value and the slope together.
75Draw an LDO regulator. What is dropout and why is a PMOS pass device used?
Blocks: a reference (bandgap), an error amplifier, a pass device between VIN and VOUT, a feedback divider (R1, R2) and an output capacitor. The loop forces the divided output to equal VREF:
VOUT = VREF·(1 + R1/R2)
Dropout voltage is the smallest VIN − VOUT at which the regulator still regulates. Below it, the pass device is fully on and the output follows the input.
A PMOS pass device can be driven down to ground at its gate, so it stays on with VIN only a VDS,sat above VOUT, roughly 100 to 300 mV at full load. An NMOS source follower needs its gate driven above VOUT by a VGS, so dropout is about Vth plus margin unless the gate is driven from a charge pump. The cost of PMOS is a high-impedance output node that makes stability harder.
76Why is LDO stability hard? Compare compensation with an external capacitor and a capacitor-less LDO.
The loop has at least two significant poles: the output pole (output capacitor with the load resistance and the pass device’s ro) and the gate pole of the large PMOS (high error-amp output resistance with a big gate capacitance). The output pole moves with load current, by a factor of 1000 or more from light to full load, so a design that is stable at one load can oscillate at another.
External capacitor (µF): the output pole is made dominant. The gate pole must be pushed high with a low-impedance buffer driving the pass gate. The capacitor’s ESR adds a zero that helps phase margin; there is often a stable ESR window. Light load is the hard case (the output pole is lowest).
Capacitor-less LDO (on-chip, tens to hundreds of pF): the output pole is high, so the internal gate node is made dominant, often with Miller compensation across the pass device. It suits on-chip supplies, but has larger load-transient droop, because there is no big capacitor to supply fast current.
77How does LDO PSRR behave across frequency?
- Low frequency: high, roughly the loop gain (often 60 to 80 dB), because the loop corrects supply ripple.
- Mid frequency: as loop gain falls with frequency, PSRR falls at 20 dB/decade. It reaches its worst point near the loop’s unity-gain frequency.
- High frequency: the output capacitor shunts the ripple, so PSRR recovers, until the capacitor’s ESL and parasitic paths (the pass device’s Cgs and Cgd) limit it.
Improving it: more loop gain and bandwidth, a gate drive that tracks the supply (so the PMOS VSG stays constant as VIN moves), cascoding the pass device with an NMOS, an RC filter on the reference, and a two-stage regulator (pre-regulator) for very clean supplies such as PLLs and ADC references.
78Compare an LDO with a switching (buck) regulator.
| LDO | Buck converter | |
|---|---|---|
| Efficiency | ≈ VOUT/VIN: 1.8 V → 1.2 V is about 67% at best | 85 to 95%, fairly independent of the ratio |
| Output noise and ripple | Very low | Switching ripple and spurs |
| Components | One capacitor | Inductor, capacitors |
| Area and cost | Small | Larger, with external inductor |
| Transient response | Fast | Limited by loop and inductor |
A common arrangement: a buck converter steps the battery down efficiently close to the needed voltage, and an LDO follows it to clean the ripple for noise-sensitive blocks (PLL, ADC, RF). The LDO’s dropout then only needs to be small, so its efficiency loss is small too.
79An LDO with a 1 µF output capacitor sees a 100 mA load step. The loop takes 1 µs to respond. Estimate the undershoot.
Until the loop responds, the capacitor supplies the step:
ΔV ≈ ΔI·Δt / C = 0.1 A × 1 µs / 1 µF = 100 mV
Add the ESR drop: ΔI·ESR, so 10 mΩ adds 1 mV.
Δt is set by the loop bandwidth and by the slew rate at the pass gate. With a loop bandwidth f, Δt ≈ 1/(2πf) roughly, plus the time the error amplifier needs to slew the large pass-device gate capacitance (Δt ≈ Cgate·ΔVgate/Islew).
Ways to reduce undershoot: a larger output capacitor, a faster loop, a stronger buffer at the pass gate (for slew), and dynamic biasing that boosts the error-amp current during a transient. For capacitor-less LDOs, fast transient-enhancement loops are essential because C is only picofarads.
80What is line regulation and load regulation of an LDO? How does loop gain set them?
- Line regulation: ΔVOUT/ΔVIN at DC, at a fixed load. Ideally 0; in practice about the open-loop supply gain divided by the loop gain.
- Load regulation: ΔVOUT/ΔILOAD at DC, which is the closed-loop output resistance. The open-loop output resistance (ro of the pass device) is reduced by the loop gain:
Rout,cl ≈ ro,pass / (1 + Aβ).
Both improve with more DC loop gain. Load regulation also includes any IR drop in the metal between the regulation point and the load, so the feedback is often taken from a sense line right at the load (a Kelvin connection).
Sampling, switched capacitors and data converters
81State the sampling theorem. What is aliasing and how is it prevented?
A signal band-limited to fmax can be recovered exactly from samples taken at fs > 2·fmax (the Nyquist rate).
| Aliasing: any input component at frequency f appears after sampling at | f − k·fs | as well. A tone above fs/2 folds back into the band 0 to fs/2 and cannot be told apart from a real in-band signal. Noise above fs/2 folds back too. |
Prevention:
- An anti-aliasing low-pass filter before the sampler, which must attenuate everything above fs − fmax enough for the resolution.
- Oversampling (fs much higher than 2·fmax) relaxes that filter, because the transition band becomes wide. A simple RC filter may then be enough, and a digital decimation filter does the sharp filtering. This is a major reason for using sigma-delta ADCs in audio and sensor paths.
Deliberate aliasing (sub-sampling) is used in some RF receivers to down-convert a narrow band.
82What are charge injection and clock feedthrough in a sampling switch? How are they reduced?
Charge injection: when the NMOS switch turns off, its channel charge Qch = W·L·Cox·(VDD − Vin − Vth) leaves through source and drain. Roughly half lands on the hold capacitor CH:
ΔV ≈ W·L·Cox·(VDD − Vin − Vth) / (2·CH)
It depends on Vin, so it causes gain error, offset and distortion.
Clock feedthrough: the gate-to-drain overlap capacitance couples the clock edge onto CH: ΔV = VCLK·Cov/(Cov + CH). It is signal-independent, so it is a plain offset.
Remedies:
- Bottom-plate sampling: turn off the switch at the capacitor’s bottom plate (connected to a fixed voltage) slightly earlier. The charge it injects is constant, and the later top-plate switch can no longer change the charge on CH.
- Differential sampling: the injection becomes common mode.
- Dummy switches of half size, clocked oppositely, to absorb the charge.
- Bootstrapped switches, so VGS and hence the injected charge are constant.
- A larger CH (at the cost of speed).
83What is a bootstrapped switch and why is it used?
A plain NMOS switch has Ron = 1/(µCox·(W/L)·(VDD − Vin − Vth)), which rises as Vin rises, so its bandwidth and charge injection change with the signal. This creates distortion, which is the main limit on sampling linearity at high input frequency.
A bootstrapped switch pre-charges a capacitor to VDD during the hold phase. During the track phase it places that capacitor between the gate and the source (the input), so the gate is driven to Vin + VDD and VGS stays constant at VDD, independent of the input.
Results: Ron is nearly constant, charge injection is nearly signal-independent, and the switch can pass rail-to-rail signals with a single NMOS. Design care is needed so no device sees more than VDD across its terminals (reliability), and the body effect still causes a little residual non-linearity.
84How does a switched capacitor behave like a resistor? Draw a switched-capacitor integrator.
A capacitor C charged to V1 on phase φ1 and dumped to V2 on phase φ2 moves charge C·(V1 − V2) per clock period. The average current is fs·C·(V1 − V2), so it acts like a resistor:
Req = 1 / (fs·C)
Example: 1 pF at 1 MHz behaves as 1 MΩ, using far less area than a real 1 MΩ resistor.
Integrator: replace the input resistor of an op-amp integrator with a switched capacitor C1, and keep C2 in feedback. Per cycle, ΔVout = −(C1/C2)·Vin. The time constant is C2/(fs·C1), set by a capacitor ratio and the clock, which are accurate to about 0.1%, unlike an absolute RC product, which varies by ±20% or more.
The parasitic-insensitive version uses four switches, so the parasitic capacitances on each plate are always connected to ground or to the virtual ground and never transfer charge.
85What is the ideal SNR of an N-bit ADC? Define ENOB.
For a full-scale sine input and uniform quantisation noise:
SNR = 6.02·N + 1.76 dB
| Bits | Ideal SNR |
|---|---|
| 8 | 49.9 dB |
| 10 | 62 dB |
| 12 | 74 dB |
| 16 | 98 dB |
ENOB (effective number of bits) takes the measured SINAD (signal to noise plus distortion) and converts it back to bits:
ENOB = (SINAD − 1.76) / 6.02
A 12-bit ADC with 68 dB SINAD has ENOB ≈ 11 bits. The lost bit comes from thermal noise, jitter, distortion and mismatch.
Likely follow-up: How does clock jitter limit SNR?
Sampling a sine of frequency fin with rms jitter σt gives SNR = −20·log10(2π·fin·σt). At 100 MHz with 1 ps of jitter that is about 64 dB, roughly 10.3 bits, whatever the ADC resolution.
86Why is quantisation noise Δ²/12? Derive the 6.02N + 1.76 dB formula.
For a busy input, the quantisation error is roughly uniform between −Δ/2 and +Δ/2, where Δ is one LSB. The variance of a uniform distribution of width Δ is
σq² = Δ²/12, so the rms noise is Δ/√12.
For an N-bit ADC with full-scale range VFS, Δ = VFS/2^N. A full-scale sine has amplitude VFS/2 and rms value VFS/(2√2).
SNR = (VFS/(2√2))² / (Δ²/12) = (3/2)·2^(2N)
In dB: 10·log10(1.5) + 20·N·log10(2) = 1.76 + 6.02·N.
The uniform-noise assumption fails for slow or DC inputs (the error is then correlated with the signal); dither is added in such cases.
87How do you size the sampling capacitor of a 12-bit ADC?
Start from the noise budget. Take a 2 V peak-to-peak full scale.
- LSB = 2 V / 4096 ≈ 488 µV, and quantisation noise = 488/√12 ≈ 141 µV rms.
- If kT/C noise is set equal to quantisation noise:
C = kT/Vn² = 4.14e-21 / (141e-6)²≈ 0.21 pF. SNR then drops by 3 dB, about half a bit. - Designers usually keep thermal noise below quantisation noise, so C ≈ 0.5 to 1 pF. In a differential sampler the two capacitors each add kT/C, so each needs about twice the capacitance for the same total.
Then check the other constraints:
- Matching: in a SAR ADC, the capacitor DAC may need more total capacitance than noise requires, to keep its unit capacitors matched.
- Speed: the switch and driver must settle C to within ½ LSB in the track time:
t ≥ (N + 1)·ln2·RON·C, about 9·RON·C for 12 bits. - Driver power: a bigger C needs a stronger, more power-hungry input driver.
88How does a SAR ADC work?
A SAR (successive-approximation register) ADC does a binary search, one bit per clock:
- Sample the input on the capacitor DAC (often the same capacitors used for the DAC, called charge redistribution).
- Set the MSB: the DAC switches to half scale, and the comparator decides if the input is above or below.
- Keep or clear the MSB, then try the next bit, and so on for N cycles.
Blocks: sample-and-hold (the capacitor DAC itself), one comparator, the DAC and SAR logic.
Strengths: very low power, since only the comparator and logic consume dynamic power and there are no op-amps; mostly digital, so it scales well with process. It dominates for 8 to 16 bits up to hundreds of MS/s per channel, and is the building block of time-interleaved ADCs at GS/s.
Limits: the capacitor DAC matching (sets linearity, often calibrated), comparator noise, and N comparator decisions per sample. Comparator offset only shifts all codes, but its noise directly reduces SNR. Redundancy (non-binary steps) lets the ADC correct early wrong decisions caused by incomplete DAC settling.
89Compare flash, SAR, pipeline and sigma-delta ADCs.
| Architecture | Typical resolution | Speed | How it works | Main limits |
|---|---|---|---|---|
| Flash | 4 to 8 bits | Highest, one clock | 2^N − 1 comparators on a resistor ladder | Comparators, power and input capacitance double per bit |
| SAR | 8 to 16 bits | Up to hundreds of MS/s | Binary search, one comparator, N cycles | DAC matching, comparator noise |
| Pipeline | 10 to 16 bits | Tens of MS/s to over 1 GS/s | Stages resolve a few bits each, amplify the residue to the next stage | Inter-stage amplifier gain and settling; latency |
| Sigma-delta | 16 to 24 bits | Low to medium bandwidth (audio to a few tens of MHz) | Oversampling and noise shaping, then digital filtering | Bandwidth, loop stability, decimation filter |
Selection rule: flash for the fastest coarse conversion; SAR for low power at medium resolution; pipeline for high speed and resolution; sigma-delta for high resolution at low bandwidth (audio, sensors).
90How does a sigma-delta ADC achieve high resolution with a 1-bit quantiser?
Two ideas:
- Oversampling: sampling at OSR times the Nyquist rate spreads the fixed quantisation noise power over a wider band. Filtering to the signal band keeps only 1/OSR of it: +3 dB per doubling of OSR (half a bit).
- Noise shaping: the quantiser sits inside a feedback loop with a loop filter (integrators). The signal passes through, while the quantisation noise is high-pass shaped and pushed out of the signal band. An L-th order loop gives (6L + 3) dB per doubling of OSR: 9 dB for first order, 15 dB for second order.
A decimation filter then removes the out-of-band noise and reduces the rate.
Example: second-order loop, OSR = 128 (7 doublings) gives roughly 7 × 15 ≈ 105 dB of SQNR, minus some constant terms, from a 1-bit quantiser.
Higher orders (above 2) with a 1-bit quantiser can be unstable, so they need careful coefficients or a multi-bit quantiser. Multi-bit quantisers need a linear DAC, which is handled with dynamic element matching.
91Define DNL and INL. What does DNL = −1 LSB mean?
- DNL (differential non-linearity): for each code,
(actual step width − 1 LSB) / 1 LSB. It measures how uneven the steps are. - INL (integral non-linearity): the deviation of each code’s transition from a straight line (the best-fit line or the end-point line), in LSB. It is the running sum of DNL.
Meanings:
- DNL = −1 LSB for an ADC: that code has zero width, a missing code. Keeping DNL > −1 guarantees no missing codes.
- For a DAC, DNL < −1 means the output goes down when the code goes up, so it is non-monotonic, which is dangerous inside a feedback loop.
- INL shows up as harmonic distortion; DNL shows up as extra noise-like error.
They are measured with a slow ramp or with a code-density (histogram) test using a sine input.
92Compare DAC architectures. Why use thermometer coding for the MSBs?
- Resistor string: 2^N resistors and a switch tree. Inherently monotonic, but large for high resolution and slow at high impedance.
- R-2R ladder: only two resistor values, compact; matching of the MSB branches sets accuracy.
- Charge redistribution (binary capacitors): low power, used in SAR ADCs.
- Current-steering: fast, drives a resistive load directly; used in high-speed and RF DACs.
Binary weighting uses few elements, but at the major code change (0111… to 1000…) all bits switch together. Any mismatch between the MSB and the sum of the lower bits gives a large DNL error, and switching time differences give large glitches.
Thermometer (unary) coding uses 2^N − 1 equal elements and turns on one more element per code. It is always monotonic, DNL is small and glitches are small. But it is big for many bits.
So a segmented DAC is the common choice: thermometer-coded MSBs (for example 4 to 6 bits) with binary LSBs.
Oscillators, PLLs and design scenarios
93What is the Barkhausen criterion? What sets the frequency of a ring oscillator?
A feedback loop oscillates at a frequency where its loop gain has magnitude of at least 1 and total phase shift of 360° (0°). In practice the gain is designed to be 2 to 3 times higher for reliable start-up, and non-linearity then limits the amplitude.
Ring oscillator: an odd number N of inverting stages in a loop. The DC inversion gives 180°; the remaining 180° comes from the stage delays, 180°/N per stage. Each transition passes around the ring twice per period, so
f = 1 / (2·N·td)
With N = 5 and td = 20 ps: f = 1/(200 ps) = 5 GHz.
With an even number of single-ended stages, the loop is a latch and does not oscillate. A differential ring can use an even number by swapping one pair of wires.
94Compare LC and ring oscillators. What is phase noise?
| LC oscillator | Ring oscillator | |
|---|---|---|
| Phase noise | Low: the tank’s Q filters noise | High: Q about 1 |
| Tuning range | Narrow (about 10 to 25%) | Wide (often over 2 times) |
| Area | Large: an inductor | Small |
| Multi-phase outputs | Not easy | Natural |
Phase noise is the random variation of the oscillator’s phase (timing), shown as noise sidebands around the carrier. It is quoted in dBc/Hz at an offset, for example −110 dBc/Hz at 1 MHz offset. In the time domain it appears as jitter. Leeson’s model shows it falls with a higher tank Q, a larger signal swing and more power.
Use LC VCOs for RF and high-speed SerDes clocks; use ring VCOs for digital clocking, clock-data recovery and where area matters.
95Draw a charge-pump PLL. Why does its loop filter need a resistor in series with the capacitor?
Blocks: a phase-frequency detector (PFD), a charge pump, a loop filter, a VCO and a feedback divider (÷N). In lock, the divided VCO matches the reference in phase, so fout = N·fref.
The charge pump into a capacitor is an integrator, and the VCO is also an integrator (phase is the integral of frequency). Two integrators in a loop give 180° of phase at all frequencies: no phase margin, so the loop is unstable.
A resistor in series with the capacitor adds a stabilising zero at 1/(R·C1), restoring phase near the loop bandwidth. The resistor makes the control voltage jump each cycle, so a small second capacitor C2 in parallel (about C1/10) smooths the ripple, adding a high-frequency pole.
Rules of thumb: loop bandwidth at or below about fref/10 for stability in a sampled loop; a wider bandwidth suppresses VCO noise, a narrower one filters reference and charge-pump noise.
96Design scenario: specify and size a two-stage op-amp for a gain of 70 dB, a GBW of 50 MHz with a 2 pF load, and 60° phase margin. What are your steps?
- Topology: two-stage Miller (NMOS or PMOS input pair from the common-mode range, CS second stage), with a nulling resistor.
- Compensation capacitor:
Cc ≥ 0.22·CL, so take Cc ≈ 0.5 to 1 pF for margin with CL = 2 pF. - Input stage gm:
gm1 = 2π·GBW·Cc. With Cc = 0.8 pF: gm1 ≈ 250 µS. - Second-stage gm: for about 60° PM, put p2 = gm6/CL at least 2.2·GBW (more with the zero handled):
gm6 ≥ 2.2 × 2π × 50 MHz × 2 pF≈ 1.4 mS, and with a 10 times rule against gm1, take gm6 ≈ 2.5 mS. - Currents from gm/ID: input pair at about 15 S/A, giving about 17 µA each; second stage at 10 S/A, giving about 250 µA.
- Gain check: 70 dB is about 3,200 overall. Choose L so each stage gives about 55 to 60 (gm·ro/2 for the first stage, gm6·(ro6 ∥ ro7) for the second).
- Slew rate: check
ISS/Ccand the second stage’s current against the step spec. - Verify: STB analysis across PVT corners, transient steps, Monte Carlo offset, noise, and then post-layout.
Explaining why each step follows from the previous one matters more than the exact numbers.
97Your amplifier was stable in simulation but oscillates on silicon. What do you check?
Start with what differs between simulation and the bench:
- Load: the board, probe and pad add capacitance (probes are about 10 pF), and bond-wire inductance (about 1 nH/mm) forms resonances. Check the real load against the simulated one.
- Supply and ground: bond-wire inductance and a shared ground make a path for feedback through the supply. Check supply decoupling and whether the oscillation frequency changes with decoupling.
- Parasitics: was stability checked on the extracted netlist? Layout resistance in the compensation path and coupling capacitance across stages can move poles.
- Corners: a fast corner, cold temperature, or a different load current than simulated.
- Other loops: the common-mode feedback loop, a bias loop, or the ESD and pad network.
Debug: measure the oscillation frequency and compare with the loop’s unity-gain and non-dominant pole frequencies. That usually points to which loop is unstable. Then reproduce it in simulation with the measured load and package model before fixing it.
98Measured offset on silicon is five times higher than Monte Carlo predicted. What could cause it?
Random mismatch alone rarely gives five times more than a correct Monte Carlo, so look for systematic causes:
- Layout asymmetry: different routing resistance in source lines, different surroundings, missing dummies, or a gradient across a non-common-centroid layout.
- Stress and proximity effects: well proximity effect and STI stress, which differ between devices that look identical in the schematic. Make sure they were extracted (layout-dependent effects in the post-layout netlist).
- Thermal gradients from a nearby power device or output stage.
- Systematic design offset: unequal VDS in the mirror, or the output not sitting at the balanced level.
- Package stress after moulding; this shows up as a shift between bare-die and packaged measurements.
- Leakage at high temperature on high-impedance nodes.
- The test setup: thermocouple effects (EMF) at connectors and the source impedance of the setup.
Check the distribution across many parts: a shifted mean means systematic; a wider spread means random mismatch underestimated.
99A bandgap reference reads 0 V (or a few hundred millivolts) on some chips after power-up. What happened?
This is the classic start-up failure: the circuit settled in its zero-current or a wrong stable state.
Likely causes:
- The start-up circuit turns off too early, or never turns on with a slow supply ramp, at a particular corner (for example cold with a high Vth).
- A second operating point where the op-amp’s input pair is off or the op-amp’s output is at a rail.
- Leakage at hot temperature holding a node at the wrong level.
How to confirm: simulate a slow and a fast supply ramp across corners and temperatures; sweep the start-up threshold; use a DC operating-point check with node sets at different initial conditions to find all solutions. On silicon, see whether a supply toggle or a small current injected into the core fixes it.
The fix is a start-up circuit with margin at all corners, which actively senses the core’s current, and a design review of all stable states of every self-biased loop.
100After layout, the amplifier’s bandwidth dropped by 30%. How do you find out why?
- Compare operating points of the schematic and extracted netlists. A changed bias (from IR drop or a resistor that is longer in layout) moves gm and every pole.
- Find the node that got slower: run AC on both netlists and compare the pole locations. Look at the capacitance added to each high-impedance node.
- Common culprits:
- Long routing on the dominant or output node, adding capacitance.
- Routing resistance in series with the compensation capacitor or the source of an input device, which acts like degeneration.
- Coupling capacitance between input and output (Miller-multiplied).
- Well and junction capacitance of large devices that the schematic underestimated, or added dummies.
- Fix: shorten and widen critical routes, move the compensation capacitor closer, use a higher metal layer for sensitive nodes, re-size with the extracted capacitances, and keep the extracted netlist in the verification loop from then on.
Interviewers want to hear that you compare the two netlists node by node instead of re-sizing blindly.