Unit 3, Lesson 3.2 (book section 3.3.1)

Common-source stage with resistive load

How the output follows the input, and where the gain comes from. Now:

1. The simplest amplifier

By virtue of its transconductance, a MOSFET converts changes in its gate-source voltage to a small-signal drain current, which can pass through a resistor to generate an output voltage. The input goes to the gate and the output comes from the drain, so this is the common-source stage (Fig. 3.4a). Its input impedance is very high at low frequencies.

Left: the schematic with live voltages. Right: Vout against Vin, with VTH and point A marked. Our numbers: VTH = 0.5 V, k = µnCoxW/L = 2 mA/V², VDD = 1.8 V, RD = 5 kΩ, λ = 0. The book gives no numbers here.

2. Transistor off

For Vin = 0, M1 is off and Vout = VDD (Fig. 3.4b). No current flows in RD, so it drops nothing.

3. Saturation

As Vin approaches VTH, M1 begins to draw current and lowers Vout. It turns on in saturation regardless of VDD and RD, because Vout is still near VDD, far above the small overdrive. Neglecting channel-length modulation (Eq. 3.3):

Vout = VDD − RD · (k/2) (Vin − VTH)²

Worked. Vin = 0.8 V: ID = (2 mA/V²/2) · (0.3 V)² = 90 µA, the drop is 5 kΩ · 90 µA = 0.45 V, and Vout = 1.8 − 0.45 = 1.35 V.

4. Point A, the edge of triode

M1 stays in saturation until Vin exceeds Vout by VTH (point A, Eq. 3.4). With our numbers 5u² + u = 1.8 for u = Vin1 − VTH, so u = 0.508 V, Vin1 = 1.008 V and Vout = 0.508 V there.

5. Triode region

For Vin > Vin1, M1 is in triode (Eq. 3.5). In the deep triode region M1 is a resistor Ron = 1/(k (Vin − VTH)), and Vout = VDD Ron/(Ron + RD) (Eqs. 3.6, 3.7).

Worked. Vin = 1.5 V: Ron = 1/(2 mA/V² · 1 V) = 500 Ω, so Vout ≈ 1.8 · 500/5500 = 0.164 V. The exact value, from Eq. 3.5, is 0.178 V.

6. Small-signal gain

Viewing the slope of the input-output characteristic as the gain (Eqs. 3.8 to 3.10), Av = ∂Vout/∂Vin = −RD · k (Vin − VTH) = −gm RD. M1 converts an input change to a drain current change gm vin, and RD converts it to an output change.

Drag Vin. The lower plot is |Av|. In triode the book gives Av = −k RD Vout / (1 + k RD (Vin − VTH − Vout)) (Eq. 3.11), which is largest at point A.

Worked. Vin = 0.8 V: gm = 2 mA/V² · 0.3 V = 0.6 mS, so |Av| = 0.6 mS · 5 kΩ = 3 V/V. At point A, |Av| = 5.08 V/V.

Because gm = µnCox(W/L)(VGS − VTH) varies with the signal, the gain changes if the swing is large. A gain that depends on the signal level leads to nonlinearity (Chapter 14).

7. Example 3.1: ID and gm against the input (book p49, Fig. 3.5)

Problem. Sketch the drain current and the transconductance of M1 in Fig. 3.4(a) as a function of the input voltage.

Redrawn sketches of the book's Fig. 3.5 with our numbers (VTH = 0.5 V, k = 2 mA/V², VDD = 1.8 V, RD = 5 kΩ).

Solution. The current is essentially zero below VTH, then grows with the square of the overdrive in saturation, and in deep triode it approaches VDD/RD = 360 µA (ours), when Ron1 ≪ RD. The transconductance starts at zero, rises linearly in saturation as gm = k(Vin − VTH), reaches its maximum at point A (1.02 mS, ours), and falls in triode, where gm = kVout and Vout keeps dropping. This is why the book's Eq. 3.11 says the voltage gain is largest at point A.

8. Nanometer Design Note 1: the stage at 40 nm (book p49)

The book simulates this stage at 40 nm (W/L = 2 µm/40 nm, RD = 2 kΩ, VDD = 1 V) and reports a gain of about 3 for Vin between 0.4 V and 0.6 V, with the output swing limited to about 0.3 V to 0.8 V before the gain drops much. The square-law gain −gmRD is only a guide here, because a short-channel device does not follow it closely. These are the book's values; the simulated curve is not redrawn.

9. Example 3.2: gm over a cycle (book pp49–50, Fig. 3.6)

Problem. A CS stage is driven by a sinusoid Vin = V1 cos ω1t + V0, with V1 large enough to drive the transistor into the off and triode regions. Sketch the gm of the transistor as a function of time.

Redrawn sketch of the book's Fig. 3.6. Our bias and swing: V0 = 0.9 V, V1 = 0.7 V.

Solution. At the input peak, Vout is low, M1 is in triode, and gm assumes a small value. As Vin falls, Vout and gm rise; M1 enters saturation at t = t1 (when Vin − Vout = VTH) and gm reaches its maximum, because gm = k(Vin − VTH) grows all the way through saturation. As Vin falls further, so do ID and gm, and at t = t2 the transistor turns off and gm reaches zero. Two conclusions: since the gain is approximately −gmRD, it experiences the same variation as gm; and gm varies periodically.

10. Trade-offs

Writing |Av| = √(2 µnCox W/L) · VRD / √ID (Eq. 3.13), the gain grows with W/L and with the drop VRD across RD, and falls with ID. A larger device has more capacitance. A larger VRD limits the output swing. A smaller ID at the same drop needs a larger RD and so a larger time constant at the output. These are the trade-offs between gain, bandwidth and swing in the design octagon.

11. Nanometer Design Note 2: sizing for a given gain (book p52)

How do we design a CS stage for a given gain and supply voltage? A good starting point is a small device, W/L = 0.5 µm/40 nm, at a low bias current, ID = 50 µA. Simulations of gm against ID give gm = 0.45 mS, so a voltage gain of 10 needs RD = 10/0.45 mS = 22.2 kΩ (if λ = 0; the arithmetic checks out: 0.45 mS × 22.2 kΩ = 9.99). Is this acceptable? That depends on the application: bandwidth, noise and output swing all enter. Our own observation: the drop across RD would be 50 µA × 22.2 kΩ = 1.11 V, more than a 1 V supply, which shows why the question is not trivial.

12. Channel-length modulation: Eqs. 3.14 to 3.17 (book pp50–51)

For large values of RD, the channel-length modulation of M1 becomes significant: the output can no longer be treated as a perfect current source. Adding the factor (1 + λVout) to the large-signal equation (Eq. 3.14):

Vout = VDD − RD (k/2) (Vin − VTH)² (1 + λVout)

Differentiate both sides with respect to Vin. Two terms appear: the usual gm term, and a term that carries the derivative itself, because Vout sits inside (1 + λVout) (Eq. 3.15):

∂Vout/∂Vin = −RD k (Vin − VTH) (1 + λVout) − RD (k/2) (Vin − VTH)² λ · ∂Vout/∂Vin

Recognize (k/2)(Vin − VTH)² λ = 1/rO. Then Av = −RD gm − (RD/rO) Av (Eq. 3.16), and solving for Av (Eq. 3.17):

Av = −gm · rORD / (rO + RD) = −gm (rO ∥ RD)

The small-signal model of Fig. 3.7 gives the same result in one step: gmv1 flows through rO ∥ RD, so vout/vin = −gm(rO ∥ RD).

Redrawn small-signal model of the book's Fig. 3.7.

Worked. Our numbers, with λ = 0.1 V−1: at Vin = 0.8 V, ID = 90 µA, so rO = 1/(λID) ≈ 111 kΩ. The gain falls from 0.6 mS × 5 kΩ = 3.0 to 0.6 mS × (111 kΩ ∥ 5 kΩ) = 2.87.

Assumptions and limits. λ is taken constant (a first-order, long-channel model), and the result is a small-signal gain about the bias point. Intuition: the transistor's own rO sits in parallel with RD, so the gain can never exceed gmrO, however large RD is made.

13. Intrinsic gain: Eqs. 3.18 to 3.20 (book p51, Fig. 3.8)

Replace RD with an ideal current source I1 (Fig. 3.8). Since I1 introduces an infinite impedance (RD = ∞), the gain is limited only by the output resistance of M1 (Eq. 3.18):

Av = −gm rO

Called the intrinsic gain, this is the maximum voltage gain a single transistor can achieve. In today's CMOS technology, gmrO of short-channel devices is between roughly 5 and 10 (book), and one usually assumes 1/gm ≪ rO. With our numbers it is 0.6 mS × 111 kΩ ≈ 67.

Redrawn from the book's Fig. 3.8.

A puzzle the book raises: KCL requires ID1 = I1, a constant, so how can Vin change the current of M1? Write the total drain current (Eqs. 3.19, 3.20): ID1 = (k/2)(Vin − VTH)² (1 + λVout) = I1. Vin appears in the square term and Vout in the linear term: as Vin increases, Vout must decrease so that the product stays constant. Saying “ID1 increases with Vin” refers to the quadratic part only.

14. Common trap

“The gain is always −gm RD.” Only in saturation. In triode, gm falls and the gain drops with it.

15. Three-step recipe

  1. Find the region: Vin below VTH, saturation, or triode.
  2. Saturation: Vout = VDD − RD (k/2) (Vin − VTH)².
  3. Gain = −gm RD, then check that Vout ≥ Vin − VTH.

16. Quick checks

17. Recap

  1. Below VTH the output is VDD. Then saturation, then triode.
  2. In saturation the gain is −gm RD.
  3. The gain changes with the signal: nonlinearity.
  4. With channel-length modulation the gain is −gm(rO ∥ RD); with an ideal current-source load it is the intrinsic gain −gmrO.

18. Chapter practice

Four sets of five, tagged direct, multi-step, what-if or design, with the book reference. Each question has a Tip. Open the answer only after you have tried.