본문 바로가기
Microelectronics

[Post #38/38] [Advanced] Final CMOS Amplifier Integrated Example and Design Review

by WiseTech_Owl 2026. 5. 26.
반응형
[Advanced] Final CMOS Amplifier Integrated Example and Design Review banner

CONTENT_START [HERO_HERE: A high-level block diagram of a two-stage CMOS OTA showing the differential pair input stage feeding into a common-source output stage with a Miller compensation capacitor.]

📘 Microelectronic Circuits Series — Post #38/38 — 17.5-17.6 (Advanced)

Designing an analog integrated circuit is like conducting a symphony: you must balance the loudness of gain, the speed of bandwidth, and the precision of stability, all while limited by the total power budget of the concert hall. This final installment integrates our previous building blocks into a functional, two-stage operational transconductance amplifier (OTA).

1. Overview & Background — Why this matters

In modern System-on-Chip (SoC) design, the two-stage CMOS OTA is the workhorse of signal processing. Think of it as a specialized machine that converts a small difference in input voltages into a massive current flow at the output, allowing you to drive heavy capacitive loads like long-trace PCB interconnects or the inputs of an ADC. Without the two-stage architecture, we would struggle to achieve both the high voltage gain required for precision and the low output impedance required for speed.

Complete two-stage OTA (differential input + CS output + Miller compensation)
Figure 1. Complete two-stage OTA (differential input + CS output + Miller compensation)

Historically, designers evolved from simple single-stage differential pairs to these multi-stage behemoths when process scaling (moving to 65-nm, 28-nm, and below) necessitated trade-offs between supply voltage and output swing. Today, these circuits sit at the heart of everything from the audio codecs in your smartphone to the high-speed data converters in 5G base stations.

[DIAGRAM_1_HERE: Schematic showing a PMOS differential input pair with an NMOS current mirror load (Stage 1) driving an NMOS common-source gain stage with a Class AB output buffer (Stage 2) and a Miller capacitor CC across the second stage.]

2. How it Works (Physical & Circuit Principles)

The first stage is a differential-to-single-ended converter. It senses the difference between inputs and acts like a sensitive lever, converting voltage signals into a current variance that populates the high-impedance node. The second stage is the muscle; it takes that current signal and pumps it into the output load. Because we have two high-impedance nodes, the circuit is inherently prone to oscillation; the Miller capacitor (CC) acts as a bridge, creating a dominant pole that forces the high-frequency response to roll off before the feedback loop shifts phase too far.

A_v = g_{m1} R_{o1} \cdot g_{m2} R_{o2}

where gm1,2 are the transconductances of the respective stages and Ro1,2 are the total output resistances at the two gain nodes. This cascade multiplication is how we achieve DC gains exceeding 80 dB, despite low supply voltages like 1.2 V.

💡 Intuition: Miller compensation is like adding a heavy dampener to a seesaw; by linking the output back to the input of the gain stage, we force the circuit to move slowly at high frequencies, preventing it from "swinging" out of control into instability.

3. Key Design Equations

The Gain-Bandwidth (GBW) product defines the speed:

GBW = \frac{g_{m1}}{C_C}

where gm1 is the transconductance of the input pair and CC is the Miller compensation capacitor.

Performance trade-off radar chart (gain, bandwidth, noise, power, swing)
Figure 2. Performance trade-off radar chart (gain, bandwidth, noise, power, swing)

The Slew Rate (SR) defines the maximum signal agility:

SR = \frac{I_{tail}}{C_C}

where Itail is the bias current of the input differential pair.

The Dominant Pole (ωp1) sets the bandwidth:

\omega_{p1} \approx \frac{1}{g_{m2} R_{o1} R_{o2} C_C}

where Ro1 and Ro2 are the output resistances of stage 1 and stage 2, respectively.

4. Worked Numerical Example — Calculate it yourself

Consider a 180-nm CMOS process where VDD = 1.8 V. We want a GBW of 10 MHz. If we choose CC = 5 pF to ensure stability, we must determine the required gm1.

1. Calculate gm1: Using GBW = gm1 / (2π CC), we find gm1 = 2π × 10 MHz × 5 pF = 314 μS. If our input pair has a current density where gm/ID = 15 V-1, then ID = 314 μS / 15 V-1 ≈ 21 μA per transistor, or a 42 μA tail current.

2. Sanity Check: If the total current is 100 μA, we have plenty of overhead for the output stage. If the load is 20 pF and we need to move at 1 V/μs, our current budget must support I = C(dV/dt) = 20 pF × 1 V/μs = 20 μA, which our design comfortably handles.

[DIAGRAM_2_HERE: Plot of Gain vs Frequency (Bode plot) showing the dominant pole from the Miller effect and the non-dominant pole location.]

5. Design Considerations & Trade-offs

  • Power vs. Bandwidth: Increasing gm requires more current (power), which directly increases the GBW. In battery-operated devices, we usually minimize Itail at the cost of slower settling times.
  • Gain vs. Swing: High gain requires large output resistance (long-channel transistors), but this reduces output voltage swing by consuming more headroom. We use cascoding to solve this, but it requires higher VDD.
  • Noise vs. Speed: Lowering noise requires larger input transistors to reduce 1/f noise, but large transistors increase parasitic capacitance, which lowers the non-dominant pole and degrades phase margin.
  • Stability vs. Area: Larger compensation capacitors (CC) make the circuit easier to stabilize but consume massive silicon area and slow down the slew rate.

6. Where it Shows Up in Practice

This OTA topology is the foundational block for the TI LM358 op-amp input stage. It is also found in the feedback loop of high-performance Low-Dropout Regulators (LDOs) in Apple M-series SoCs, where stable voltage regulation is required for high-speed cache memory. Additionally, nearly every analog-to-digital converter (ADC) uses a variant of this two-stage structure as the input buffer.

7. Common Pitfalls & Debugging Tips

  • ⚠️ The Right-Half Plane (RHP) Zero: The Miller capacitor creates a zero at z = gm2/CC that adds phase lag. Always add a "nulling resistor" in series with CC to push this zero to infinity or into the LHP.
  • ⚠️ Body Effect: In a process where the source and bulk aren't tied, the body effect will raise your threshold voltage and kill your gain. Always simulate with accurate substrate models.

8. Exam & Interview Hot Spots

  • 💡 CMRR: "Why do we care about the tail current source resistance?" (Because if it's not infinite, common-mode inputs leak into the output, degrading the Common-Mode Rejection Ratio).
  • 💡 PSRR: "How does the power supply affect gain?" (Supply noise ripples through the current mirrors; use cascodes to isolate the gain nodes).
  • 💡 Phase Margin: "Why do we target 60° phase margin?" (It provides the perfect balance between fast settling time and minimal overshoot).

9. Key Takeaways

  • The two-stage OTA is the essential architecture for combining high gain with high capacitive drive capability.
  • Miller compensation is mandatory to ensure stability by creating a dominant pole at the first stage output.
  • Trade-offs are inevitable: power, area, speed, and precision must be carefully weighed based on the application.
  • Always check your phase margin in simulation; a circuit that looks great on paper will oscillate in the lab if the phase margin is below 45°.
  • You have reached the end of this series; mastering these 38 concepts provides the foundation for all modern CMOS analog design.

Educational content only. Always verify with datasheets and SPICE simulation before production design.

반응형