Skip to main content

ANALOG DESIGN BLOG 2 — CURRENT MIRRORS & BIASING TECHNIQUES

Analog Design Series — Blog 2 of 7

Current Mirrors & Biasing Techniques

From basic mirrors to cascode, Widlar, and Wilson — mastering the art of bias generation

1. Why Biasing Matters

Every analog circuit requires a well-defined DC operating point. Unlike digital circuits that swing between rails, analog transistors must sit at a precise current and voltage so that small-signal performance (gain, bandwidth, noise) meets specifications.

A good bias network must be: (1) stable over process, voltage, and temperature (PVT) variations, (2) low-noise since bias noise directly couples into signal paths, and (3) area-efficient since bias generators serve the entire chip.

📘 Golden Rule

Never bias a MOSFET with a fixed VGS from a resistor divider — the resulting ID varies wildly with process and temperature. Always use a current-mode bias (current mirror from a reference) for robust operation.

2. Basic Current Mirror

The simplest current mirror uses two matched transistors with connected gates. The reference (diode-connected) transistor sets VGS, which is copied to the output transistor.

VDD │ ┌──┴──┐ │ │ [M_ref] [M_out] │ │ I_ref I_out │ │ GND GND // M_ref: gate tied to drain (diode-connected) // Both gates connected → same V_GS // I_out / I_ref = (W/L)_out / (W/L)_ref

Copy Ratio

Iout = Iref × [(W/L)out / (W/L)ref] × [(1 + λVDS,out) / (1 + λVDS,ref)]

The first ratio gives the intended copy factor. The second ratio causes systematic error because VDS,ref = VGS ≈ Vth + VOV, while VDS,out can be anything.

Output Resistance

Rout = ro = VA / Iout
⚠️ Limitations

A basic mirror has poor output resistance (just ro) and significant VDS mismatch error. It also needs at least VOV + Vth headroom on the reference side. For high-performance designs, use cascode mirrors.

3. Cascode Current Mirror

A cascode mirror stacks a second transistor on top of the basic mirror, dramatically boosting output resistance while maintaining current accuracy.

VDD │ ┌──┴──┐ │ │ [M3] [M4] ← Cascode devices │ │ [M1] [M2] ← Mirror devices │ │ I_ref I_out │ │ GND GND // M1-M2: basic mirror pair (same V_GS) // M3-M4: cascode pair (shields M2 from V_DS variation)

Output Resistance

Rout = gm4 · ro4 · ro2 ≈ (gm · ro) · ro

This is the intrinsic gain times ro — typically 100× to 1000× higher than a basic mirror.

Minimum Output Voltage

Vout,min = VOV2 + VOV4 = 2VOV
🔴 Headroom Problem

The cascode mirror consumes 2VOV of output voltage swing. With a cascode mirror in both NMOS and PMOS loads, total headroom loss is 4VOV. In a 1.2V supply, this leaves very little for signal swing!

4. Wide-Swing (High-Compliance) Cascode

The wide-swing cascode mirror solves the headroom issue by biasing the cascode transistor at the edge of saturation, recovering one VOV of headroom.

Vout,min = VOV2 + VOV4 (same as regular cascode in formula, but Vbias is set so M2 is barely in saturation)

The cascode gate bias is set to:

Vbias = VGS3 + VOV1 = Vth + 2VOV

This ensures VDS1 = VOV (just at saturation edge), compared to VDS1 = Vth + VOV in a regular cascode.

💡 Generating the Bias

The wide-swing bias voltage Vth + 2VOV can be generated using a diode-connected transistor with a series source-degeneration resistor, or a level-shifted diode-connected MOSFET. This is a common interview question!

5. Wilson & Improved Wilson Mirror

Wilson Mirror

The Wilson mirror uses negative feedback to improve output resistance. It has three transistors: M1 (reference, diode-connected), M2 (output), and M3 (feedback).

VDD │ [M3] ← gate connected to drain of M2 │ [M2] ← gate connected to gate of M1 │ I_out │ GND // Feedback: if I_out ↑ → V_DS(M2) ↓ → V_GS(M3) ↓ → I ↓ (corrective) // R_out ≈ gm3 × ro3 × ro2 / 2

Improved Wilson

Adds a fourth transistor (cascode on the reference side) to ensure VDS matching between the mirror pair, further improving accuracy.

Mirror TypeRoutVout,minAccuracyComplexity
BasicroVOVModerate2 transistors
Cascodegmro²Vth+2VOVHigh4 transistors
Wide-Swing Cascodegmro²2VOVHigh4 transistors + bias
Wilsongmro²/2Vth+2VOVGood3 transistors
Improved Wilsongmro²Vth+2VOVVery High4 transistors

6. Widlar Current Source

The Widlar source generates a very small current from a larger reference current using a source degeneration resistor on the output transistor. This avoids needing an enormous W/L ratio.

Iref ≫ Iout → VGS1 − VGS2 = Iout × RS

Since both transistors share the same VGS relationship:

RS = (VGS1 − VGS2) / Iout = (1/Iout) × [√(2Iref/(μCoxW/L)) − √(2Iout/(μCoxW/L))]
💡 When to Use

Need a 1 μA current from a 100 μA reference? A basic mirror would need (W/L)out = (W/L)ref/100, which may be impractically small. A Widlar source achieves this with a reasonable resistor value. The degeneration resistor also boosts output resistance.

7. Beta Multiplier Reference

The beta multiplier generates a supply-independent bias current. The key: one mirror transistor has a source degeneration resistor, creating a self-biased loop.

VDD VDD │ │ [M3] [M4] ← PMOS mirror │ │ ├── V_bias ────────┤ │ │ [M1] [M2] ← NMOS: M2 has source resistor R_S │ │ GND [R_S] │ GND
IREF = (1/RS) × [√(2I/(μCox(W/L)1)) − √(2I/(μCox(W/L)2))]

If (W/L)2 = K·(W/L)1:

IREF = (2 / (μnCox(W/L)1)) × (1/RS²) × (1 − 1/√K)²
⚠️ Start-Up Required

The beta multiplier has two stable states: the desired operating point AND the zero-current state (all transistors OFF). A start-up circuit is mandatory to kick the loop out of the zero state upon power-up.

8. Bias Distribution & Start-Up Circuits

Centralized Bias Generation

In a real IC, a single bias generator block produces reference currents and voltages that are distributed to all sub-circuits via long bias wires. This ensures tracking across PVT.

Start-Up Circuit

A typical start-up injects a small current into the self-biased loop at power-up, then disconnects itself once the circuit reaches its operating point. Common approaches:

// Capacitive Start-Up (simplest) VDD ──[C]──┬── inject node │ [M_su] ← turns ON briefly at power-up │ (gate capacitor charges slowly) GND // Once V_bias stabilizes, M_su turns OFF // No static power consumption after start-up
📘 Distribution Tips

Use wide metal wires for bias lines to minimize IR drop. Add decoupling capacitors at each destination to filter noise. Mirror the current locally rather than distributing voltage — current mirrors reject supply noise better.

9. Mirror Matching & Errors

Sources of Mismatch

Error SourceTypeMitigation
Vth mismatch (ΔVth)RandomUse larger area (AVT/√WL)
β mismatch (Δβ/β)RandomLarger W×L, common-centroid layout
VDS differenceSystematicCascode mirror
Channel-length modulationSystematicLonger L, cascode
Proximity effectsSystematicInterdigitated layout, dummies
Temperature gradientsSystematicPlace mirrors close together

Pelgrom's Law

σ(ΔVth) = AVT / √(W × L)

Where AVT is a process constant (typically 3–6 mV·μm for modern CMOS). Doubling the area reduces mismatch by √2.

10. Numerical Examples

Example 1: Basic Mirror Accuracy

// Given: I_ref = 100μA, (W/L) = 10/1 for both // λ = 0.1V⁻¹, V_DS,ref = V_GS = 0.6V, V_DS,out = 1.5V I_out = I_ref × (1 + λV_DS,out)/(1 + λV_DS,ref) I_out = 100μ × (1 + 0.1×1.5)/(1 + 0.1×0.6) I_out = 100μ × 1.15/1.06 = 108.5 μA // Error = 8.5% — significant!

Example 2: Cascode Mirror Output Resistance

// Given: I_D = 100μA, V_OV = 200mV, V_A = 10V g_m = 2I_D/V_OV = 2×100μ/0.2 = 1 mA/V r_o = V_A/I_D = 10/100μ = 100 kΩ // Basic mirror: R_out_basic = r_o = 100 kΩ // Cascode mirror: R_out_cascode = g_m × r_o × r_o = 1m × 100k × 100k R_out_cascode = 10 GΩ // 100,000× improvement!

Example 3: Widlar Source Resistor

// Goal: I_out = 5μA from I_ref = 200μA // (W/L) = 10/2 for both, μnCox = 200μA/V² V_GS1 = V_th + √(2×I_ref / (μnCox×W/L)) V_GS1 = 0.4 + √(2×200μ / (200μ×5)) = 0.4 + √0.4 = 0.4 + 0.632 = 1.032V V_GS2 = 0.4 + √(2×5μ / (200μ×5)) = 0.4 + √0.01 = 0.4 + 0.1 = 0.5V R_S = (V_GS1 − V_GS2) / I_out = (1.032 − 0.5) / 5μ = 106.4 kΩ

🔁 Blog 2 Recap

  • Always bias with current mirrors, not fixed voltages — current-mode biasing tracks PVT.
  • Basic mirrors have Rout = ro; cascode mirrors boost this to gmro².
  • Wide-swing cascode recovers headroom by biasing at the saturation edge.
  • Wilson mirrors use feedback; Widlar sources generate tiny currents with a degeneration resistor.
  • The beta multiplier creates supply-independent bias but needs a start-up circuit.
  • Matching follows Pelgrom's law — bigger area = better matching.

📚 Next up — Blog 3: Single-Stage & Differential Amplifiers — CS, CG, CD, and the differential pair that powers every op-amp.

↑ Back to Table of Contents

Comments

Popular posts from this blog

Module 1 — SystemVerilog Basics

VLSI Verification  •  SystemVerilog Series Module 1 — SystemVerilog Basics A complete, example-driven walkthrough of SystemVerilog fundamentals: data types, variables vs nets, arrays of every flavor, strings, enums, structs, unions, and typedef — the building blocks every verification engineer needs before UVM. 🧩 Beginner → Intermediate ⏱ ~25 min read 💻 Code Examples Included 📑 Table of Contents Introduction to SystemVerilog Verilog vs SystemVerilog Data Types: 2-State vs 4-State Logic Variables and Nets Arrays: Packed vs Unpacked Dynamic Arrays Queues Associative Arrays Strings Enumerations Structures Unions Typedef 1 Introduction to SystemVerilog SystemVerilog (IEEE 1800) is a unified hardware description and verification language (HDVL). It extends Verilog (IEEE 1364) with powerful constructs for design (interfaces, always_comb/always_ff, enhanced d...

Clock Domain Crossing (CDC): A Complete Beginner's Guide to Metastability, Synchronizers & Safe Data Transfer

Clock Domain Crossing (CDC): A Complete Beginner's Guide to Metastability, Synchronizers & Safe Data Transfer Modern System-on-Chip (SoC) designs rarely operate with a single clock. Instead, different modules such as CPUs, GPUs, memory controllers, communication interfaces, and peripherals often run at different clock frequencies or even use completely independent clock sources . When data moves from one clock domain to another, timing uncertainty can cause serious problems such as metastability , data corruption , and unpredictable system behaviour . This challenge is known as Clock Domain Crossing (CDC) . CDC is one of the most important topics in ASIC Design , RTL Design , ASIC Verification , FPGA Design , and SoC Architecture . Every modern chip—from smartphones to automotive processors—uses CDC techniques to ensure reliable communication between multiple clock domains. In this article, we'll explore CDC fundamentals, metastability, synchronization techniques, asynchro...

GPU Memory System & Interconnect: How Data Travels Inside a Modern GPU

GPU Memory System & Interconnect: How Data Travels Inside a Modern GPU Modern GPUs deliver incredible computing power by processing thousands of operations simultaneously. While compute cores often receive the spotlight, the real performance of a GPU depends heavily on how efficiently data moves between memory and compute units. A GPU memory system is designed to provide extremely high bandwidth while keeping latency as low as possible. This is achieved through a collection of specialized hardware components working together, including the Memory Controller, HBM/GDDR memory, Crossbar, Network-on-Chip (NoC), DMA Engine, PCIe Interface, and NVLink. In this article, we'll explore each component in detail and understand how they collectively enable high-performance parallel computing. Why Does GPU Memory Matter? Every GPU application—from gaming and graphics rendering to AI model training and scientific simulations—requires continuous movement of enormous amounts of data. For examp...

AXI Verification Interview Questions and Real-World Debugging

AMBA Protocol Series · Part 10 of 10 AXI Verification Interview Questions and Real-World Debugging Common protocol violations, how to read them off a waveform, and a curated set of interview questions with concise, correct answers — the capstone of the core 10-day series. AMBA Protocol Series: From APB & AHB to AXI — A Complete Guide for VLSI Engineers This wraps up the core 10-day series. Everything here draws directly on Days 1–9 — if any answer below feels unfamiliar, that's a good signal for which earlier post to revisit. (If you want to go further, see the 20-day extended list at the end of this post.) In This Article Common Protocol Violations Debugging From a Waveform Interview Questions and Answers Series Recap Extending the Series 1. Common Protocol Violations VALID deasserted before handshake — a source drops VALID before READY ever went high (violates the Day 8 stabi...

Timing Basics in Static Timing Analysis (STA): Delay Models, Sequential Timing, and Wire Delays

Timing Basics in Static Timing Analysis (STA) Static Timing Analysis (STA) is one of the most important verification techniques used in modern VLSI design. Before a chip is manufactured, engineers must verify that every signal reaches its destination within the required clock period. Even if a design passes functional simulation, it may still fail after fabrication because of timing violations. Unlike simulation, Static Timing Analysis mathematically analyzes every timing path without applying input test vectors. This makes STA significantly faster and capable of analyzing millions of timing paths efficiently. Table of Contents What is Static Timing Analysis? Why STA is Required Propagation Delay Contamination Delay Cell Delay Models Combinational Gate Delay Sequential Timing Setup Time Hold Time Wire Delay RC Delay Model PVT Corners Worked Examples Interview Questions Key Takeaways What is Static Timing Analysis? Static Ti...

Cache Basics and Cache Mapping Techniques

  Cache Basics and Cache Mapping Techniques  Modern processors execute billions of instructions every second. However, processor speed has increased much faster than main memory (RAM) speed. This difference, known as the memory wall , creates a performance bottleneck because the CPU often has to wait for data from slower memory. To solve this problem, computer systems use cache memory —a small, high-speed memory located between the CPU and the main memory. In this article, we will understand the fundamentals of cache memory, the principle of locality, cache organization, and the three major cache mapping techniques. What is Cache Memory? Cache memory is a small, high-speed memory that stores copies of frequently accessed data from the main memory. Since accessing cache is much faster than accessing RAM, the CPU first checks whether the required data is available in the cache. If the data is found in the cache, it is called a cache hit . Otherwise, the CPU fetches the dat...

CMOS Power & Scaling Explained: Dynamic Power, Leakage Power, Short-Circuit Power & Technology Scaling

  CMOS Power & Scaling Explained: Dynamic Power, Leakage Power, Short-Circuit Power & Technology Scaling Day 6 | CMOS Design Fundamentals | The Silicon Stack As integrated circuits continue to become smaller, faster, and more powerful, power consumption has emerged as one of the biggest challenges in modern VLSI design. While early digital circuits primarily focused on functionality and speed, today's processors, AI accelerators, smartphones, and IoT devices must deliver high performance while operating within strict power and thermal limits. A modern System-on-Chip (SoC) may contain billions of CMOS transistors , each switching billions of times per second. Even a tiny amount of power consumed by each transistor adds up to significant energy consumption across the entire chip. Excessive power not only drains batteries but also generates heat, reduces reliability, and limits performance. Understanding where CMOS power comes from and how it can be reduced is therefore ...