EECE488: Analog CMOS Integrated Circuit Design 3. Single-Stage Amplifiers Shahriar Mirabbasi Department of Electrical and Computer Engineering University of British Columbia shahriar@ece.ubc.ca Technical contributions of Pedram Lajevardi in revising the course notes are greatly acknowledged. SM Set 3: Single-Stage Amplifiers 1 Overview 1. Why Amplifiers? 2. Amplifier Characteristics 3. Amplifier Trade-offs 4. Single-stage Amplifiers 5. Common Source Amplifiers 1. Resistive Load 2. Diode-connected Load 3. Current Source Load 4. Triode Load 5. Source Degeneration SM Set 3: Single-Stage Amplifiers 2 Overview 6. Common-Drain (Source-Follower) Amplifiers 1. Resistive Load 2. Current Source Load 3. Voltage Division in Source Followers 7. Common-Gate Amplifiers 6. Cascode Amplifiers SM Set 3: Single-Stage Amplifiers 3 Reading Assignments • Reading: Chapter 3 of Razavi’s book • In this set of slides we will study low-frequency small-signal behavior of single-stage CMOS amplifiers. Although, we assume long-channel MOS models (not a good assumption for deep submicron technologies) the techniques discussed here help us to develop basic circuit intuition and to better understand and predict the behavior of circuits. Most of the figures in these lecture notes are © Design of Analog CMOS Integrated Circuits, McGraw-Hill, 2001. SM Set 3: Single-Stage Amplifiers 4 Why Amplifiers? • Amplifiers are essential building blocks of both analog and digital systems. • Amplifiers are needed for variety of reasons including: – To amplify a weak analog signal for further processing – To reduce the effects of noise of the next stage – To provide a proper logical levels (in digital circuits) • Amplifiers also play a crucial role in feedback systems • We first look at the low-frequency performance of amplifiers. Therefore, all capacitors in the small-signal model are ignored! SM Set 3: Single-Stage Amplifiers 5 Amplifier Characteristics - 1 • Ideally we would like that the output of an amplifier be a linear function of the input, i.e., the input times a constant gain: y y = α1 x x • SM In real world the input-output characteristics is typically a nonlinear function: Set 3: Single-Stage Amplifiers 6 Amplifier Characteristics - 2 • • It is more convenient to use a linear approximation of a nonlinear function. Use the tangent line to the curve at the given (operating) point. y x • The larger the signal changes about the operating point, the worse the approximation of the curve by its tangent line. • This is why small-signal analysis is so popular! SM Set 3: Single-Stage Amplifiers 7 Amplifier Characteristics - 3 • A well-behaved nonlinear function in the vicinity of a given point can be approximated by its corresponding Taylor series: f ' ' ( x0 ) f n ( x0 ) 2 y ≈ f ( x0 ) + f ' ( x0 ) ⋅ ( x − x0 ) + ⋅ ( x − x0 ) + L + ⋅ ( x − x0 ) n n! 2! • f n ( x0 ) Let α n = to get: n! y ≈ α 0 + α 1 ( x − x0 ) + α 2 ( x − x0 ) 2 + L + α n ( x − x0 ) n • If x-x0=∆x is small, we can ignore the higher-order terms (hence the name small-signal analysis) to get: y ≈ α 0 + α 1 ( x − x0 ) • α0 is referred to as the operating (bias) point and α1 is the small-signal gain. ∆y = y − f ( x0 ) = y − α 0 ≈ α 1 ∆x SM Set 3: Single-Stage Amplifiers 8 Amplifier Trade-offs • SM In practice, when designing an amplifier, we need to optimize for some performance parameters. Typically, these parameters trade performance with each other, therefore, we need to choose an acceptable compromise. Set 3: Single-Stage Amplifiers 9 Single-Stage Amplifiers • We will examine the following types of amplifiers: 1. Common Source 2. Common Drain (Source Follower ) 3. Common Gate 4. Cascode and Folded Cascode • Each of these amplifiers have some advantages and some disadvantages. Often, designers have to utilize a cascade combination of these amplifiers to meet the design requirements. SM Set 3: Single-Stage Amplifiers 10 Common Source Basics - 1 • In common-source amplifiers, the input is (somehow!) connected to the gate and the output is (somehow!) taken from the drain. • We can divide common source amplifiers into two groups: SM 1. Without source degeneration (no body effect for the main transistor): 2. With source degeneration (have to take body effect into account for the main transistor): Set 3: Single-Stage Amplifiers 11 Common Source Basics - 2 In a simple common source amplifier: • • • gate voltage variations times gm gives the drain current variations, drain current variations times the load gives the output voltage variations. Therefore, one can expect the small-signal gain to be: Av = g m ⋅ RD SM Set 3: Single-Stage Amplifiers 12 Common Source Basics - 3 • Different types of loads can be used in an amplifier: 1. Resistive Load 2. Diode-connected Load 3. Current Source Load 4. Triode Load • The following parameters of amplifiers are very important: 1. Small-signal gain 2. Voltage swing SM Set 3: Single-Stage Amplifiers 13 Resistive Load - 1 • Let’s use a resistor as the load. • The region of operation of M1 depends on its size and the values of Vin and R. • We are interested in the small-signal gain and the headroom (which determines the maximum voltage swing). • We will calculate the gain using two different methods SM 1. Small-signal model 2. Large-signal analysis Set 3: Single-Stage Amplifiers 14 Resistive Load - 2 Gain – Method 1: Small-Signal Model • This is assuming that the transistor is in saturation, and channel length modulation is ignored. • The current through RD: i = g ⋅v D • m Output Voltage: v OUT • = −i ⋅ R = − g ⋅ v ⋅ R Small-signal Gain: A = v SM IN D v v OUT D m IN D = −g ⋅ R m D IN Set 3: Single-Stage Amplifiers 15 Resistive Load - 3 Gain – Method 2: Large-Signal Analysis • If VIN<VTH, M1 is off, and VOUT= VDD = VDS. VOUT = VDD − RD ⋅ iD = VDD Av = • ∂VOUT =0 ∂VIN As VIN becomes slightly larger than VTH, M1 turns on and goes into saturation (VDS≈ VDD > VGS- VTH ≈0). 1 W = V − R ⋅ i = V − R ⋅ ⋅ µ ⋅ C ⋅ ⋅ (V − V ) 2 L ∂V W A = = − R ⋅ µ ⋅ C ⋅ ⋅ (V − V ) = − R ⋅ g L ∂V V OUT dd D D dd D n ox IN 2 TH OUT v D n ox IN TH D m IN • As VIN increases, VDS decreases, and M1 goes into triode when VIN- VTH = VOUT. We can find the value of VIN that makes M1 switch its region of operation. W 1 V = V − R ⋅ i = V − R ⋅ ⋅ µ ⋅ C ⋅ ⋅ (V − V ) = (V − V ) 2 L 2 OUT SM dd D D dd D n ox Set 3: Single-Stage Amplifiers IN TH IN TH 16 Resistive Load - 4 Gain – Method 2: Large-Signal Analysis (Continued) • As VIN increases, VDS decreases, and M1 goes into triode. VOUT W = VDD − RD ⋅ iD = VDD − RD ⋅ µ n ⋅ Cox ⋅ L ∂VOUT W = − RD ⋅ µ n ⋅ Cox ⋅ ∂VIN L 2 ⎡ VOUT ⋅ ⎢(VIN − VTH ) ⋅VOUT − 2 ⎢⎣ ⎡ ∂V ∂V ⋅ ⎢(VIN − VTH ) ⋅ OUT + VOUT − VOUT ⋅ OUT ∂VIN ∂VIN ⎢⎣ ⎤ ⎥ ⎥⎦ ⎤ ⎥ ⎥⎦ • We can find Av from above. It will depend on both VIN and VOUT. • If VIN increases further, M1 goes into deep triode if VOUT<< 2(VIN- VTH). W ⋅ (VIN − VTH ) ⋅ VOUT L RON VDD = = VDD ⋅ 1 RON + RD − VTH ) 1 + RD ⋅ RON VOUT = VDD − RD ⋅ iD = VDD − RD ⋅ µ n ⋅ Cox ⋅ VOUT = SM VDD W 1 + RD ⋅ µ n ⋅ Cox ⋅ ⋅ (VIN L Set 3: Single-Stage Amplifiers 17 Resistive Load - 5 Example: Sketch the drain current and gm of M1 as a function of VIN. • gm depends on VIN, so if VIN changes by a large amount the smallsignal approximation will not be valid anymore. • In order to have a linear amplifier, we don’t want gain to depend on parameters like gm which depend on the input signal. SM Set 3: Single-Stage Amplifiers 18 Resistive Load - 6 • Gain of common-source amplifier: Av = − g m ⋅ RD = − µ nCox • • SM W V W VRD − 2 ⋅ VRD (VIN − VTH ) ⋅ RD = − 2 µ nCox ⋅ = L ID L Veff ID To increase the gain: 1. Increase gm by increasing W or VIN (DC portion or bias). Either way, ID increases (more power) and VRD increases, which limits the voltage swing. 2. Increase RD and keep ID constant (gm and power remain constant). But, VRD increases which limits the voltage swing. 3. Increase RD and reduce ID so VRD remains constant. ¾ If ID is reduced by decreasing W, the gain will not change. ¾ If ID is reduced by decreasing VIN (bias), the gain will increase. Since RD is increased, the bandwidth becomes smaller (why?). Notice the trade-offs between gain, bandwidth, and voltage swings. Set 3: Single-Stage Amplifiers 19 Resistive Load - 7 • Now let’s consider the simple common-source circuit with channel length modulation taken into account. • Channel length modulation becomes more important as RD increases (in the next slide we will see why!). • Again, we will calculate the gain in two different methods SM 1. Small-signal Model 2. Large Signal Analysis Set 3: Single-Stage Amplifiers 20 Resistive Load - 8 Gain – Method 1: Small-Signal Model • This is assuming that the transistor is in saturation. • The current through RD: i = g ⋅v D • m Output Voltage: v OUT • = −i ⋅ (R r ) = − g ⋅ v ⋅ (R r ) A = SM D Small-signal Gain: v IN v v OUT D o m IN D o = − g ⋅ (R r ) m D o IN Set 3: Single-Stage Amplifiers 21 Resistive Load - 9 Gain – Method 2: Large-Signal Analysis • As VIN becomes slightly larger than VTH, M1 turns on and goes into saturation (VDS≈ VDD > VGS- VTH ≈0). W 1 ⋅ µ n ⋅ Cox ⋅ ⋅ (VIN − VTH ) 2 ⋅ (1 + λ ⋅ VOUT ) L 2 ⎤ ⎡ ∂VOUT ∂V W 1 = − RD ⋅ µ n ⋅ Cox ⋅ ⋅ (VIN − VTH ) ⋅ ⎢(1 + λ ⋅ VOUT ) + ⋅ (VIN − VTH ) ⋅ λ ⋅ OUT ⎥ L 2 ∂VIN ∂VIN ⎦ ⎣ W − RD ⋅ µ n ⋅ Cox ⋅ ⋅ (VIN − VTH ) ⋅ (1 + λ ⋅ VOUT ) − RD ⋅ g m − RD ⋅ g m L Av = = = W 1 1 + RD ⋅ I D ⋅ λ 1 + R ⋅ 1 1 + ⋅ RD ⋅ µ n ⋅ Cox ⋅ ⋅ (VIN − VTH ) 2 ⋅ λ D L ro 2 VOUT = VDD − RD ⋅ I D = VDD − RD ⋅ = SM ( − ro ⋅ RD ⋅ g m = − g m ⋅ RD ro ro + RD ) Set 3: Single-Stage Amplifiers 22 Resistive Load - 10 Example: • Assuming M1 is biased in active region, what is the small-signal gain of the following circuit? • I1 is a current source and ideally has an infinite impedance. A = v v v OUT = − g ⋅ (∞ r ) = − g ⋅ r m o m o IN • This is the maximum gain of this amplifier (why?), and is known as the intrinsic gain. • How can VIN change if I1 is constant? W 1 I = ⋅ µ ⋅ C ⋅ ⋅ (V − V ) ⋅ (1 + λ ⋅ V ) L 2 Here we have to take channel-length modulation into account. As VIN changes, VOUT also changes to keep I1 constant. 2 D • SM n ox IN TH Set 3: Single-Stage Amplifiers OUT 23 Diode Connected Load - 1 • • Often, it is difficult to fabricate tightly controlled or reasonable size resistors on chip. So, it is desirable to replace the load resistor with a MOS device. Recall the diode connected devices: Body Effect RX (when λ≠0) 1 g R =r NO X o RX (when λ=0) R = X m m YES 1 R =r g +g X SM R = X o m Set 3: Single-Stage Amplifiers 1 g mb 1 g +g m mb 24 Diode Connected Load - 2 • Now consider the common-source amplifier with two types of diode connected loads: 1. PMOS diode connected load: (No body effect) 2. NMOS diode connected load: (Body effect has to be taken into account) SM Set 3: Single-Stage Amplifiers 25 Diode Connected Load - 3 PMOS Diode Connected Load: • Note that this is a common source configuration with M2 being the load. We have: ⎞ ⎛ 1 v A = r r ⎟⎟ = − g ⋅ (R r ) = − g ⋅ ⎜⎜ v ⎠ ⎝g OUT v m1 IN • X o1 m1 o2 o1 m2 Ignoring the channel length modulation (ro1=ro2=∞), we can write: ⎛W 2µ n ⋅ Cox ⋅ ⎜ ⎝ L ⎞ ⎟ ⋅ I D1 ⎠1 ⎛W µn ⋅ ⎜ ⎞ ⎛ 1 g ⎝ L Av = − g m1 ⋅ ⎜⎜ =− ∞ ∞ ⎟⎟ = − m1 = − g m2 ⎛W ⎠ ⎝ g m2 ⎛W ⎞ µ ⋅ ⎜ p 2µ p ⋅ Cox ⋅ ⎜ ⎟ ⋅ I D 2 ⎝ L L ⎝ ⎠2 ⎞ ⎟ ⎠1 ⎞ ⎟ ⎠2 2 ⋅ I D1 VSG 2 − VTH 2 −V V g Av = − m1 = − GS1 TH 1 = − 2 ⋅ I D2 g m2 VGS1 − VTH 1 VSG 2 − VTH 2 SM Set 3: Single-Stage Amplifiers 26 Diode Connected Load - 4 NMOS Diode Connected Load: • Again, note that this is a common source configuration with M2 being the load. We have: ⎞ ⎛ 1 v A = r r ⎟⎟ = − g ⋅ (R r ) = − g ⋅ ⎜⎜ v ⎠ ⎝g +g OUT v m1 X IN • o1 m1 o2 m2 o1 mb 2 Ignoring the channel length modulation (ro1=ro2=∞), we can write: ⎞ ⎛ g m1 g m1 1 Av = − g m1 ⋅ ⎜⎜ =− ∞ ∞ ⎟⎟ = − g m 2 + g mb 2 g m 2 ⋅ (1 + η ) ⎠ ⎝ g m 2 + g mb 2 Av = − SM 1 1+η ⎛W ⎜ ⎝ L ⎞ ⎟ 1 VGS 2 − VTH ⎠1 =− ⋅ 1 + η VGS1 − VTH ⎛W ⎞ ⎜ ⎟ ⎝ L ⎠2 Set 3: Single-Stage Amplifiers 27 Diode Connected Load - 5 • For a diode connected load we observe that (to the first order approximation): 1. The amplifier gain is not a function of the bias current. So, the change in the input and output levels does not affect the gain, and the amplifier becomes more linear. 2. The amplifier gain is not a function of the input signal (amplifier becomes more linear). 3. The amplifier gain is a weak function (square root) of the transistor sizes. So, we have to change the dimensions by a considerable amount so as to increase the gain. SM Set 3: Single-Stage Amplifiers 28 Diode Connected Load - 6 4. The gain of the amplifier is reduced when body effect should be considered. 5. We want M1 to be in saturation, and M2 to be on (M2 cannot be in triode (why?)): 6. The voltage swing is constrained by both the required overdrive voltages and the threshold voltage of the diode connected device. M 1 : VOUT > VGS1 − VTH 1 = Veff 1 , M 2 : VOUT < VDD − VTH 2 7. A high amplifier gain leads to a high overdrive voltage for the diode connected device which limits the voltage swing. SM Set 3: Single-Stage Amplifiers 29 Diode Connected Load - 6 Example: • Find the gain of the following circuit if M1 is biased in saturation and Is=0.75I1. A = v • v v OUT ⎛ 1 r ∞r = − g ⋅ (R r r ) = − g ⋅ ⎜⎜ ⎝g m1 IN X Is o1 m1 o2 o1 m2 ⎞ ⎞ ⎛ 1 ⎟⎟ = − g ⋅ ⎜⎜ r r ⎟⎟ ⎠ ⎠ ⎝g m1 o2 o1 m2 Ignoring the channel length modulation (ro1=ro2=∞) we get: ⎛W 2 µ n ⋅ Cox ⋅ ⎜ ⎝ L ⎞ ⎟ ⋅ I D1 ⎠1 2 ⋅ I D1 ⎞ ⎛ 1 g V −V Av = − g m1 ⋅ ⎜⎜ = − GS1 TH 1 ∞ ∞ ⎟⎟ = − m1 = − 2 ⋅ I D2 g m2 ⎠ ⎝ g m2 ⎛W ⎞ 2 µ p ⋅ Cox ⋅ ⎜ ⎟ ⋅ I D 2 VSG 2 − VTH 2 ⎝ L ⎠2 ⎞ ⎟ VSG 2 − VTH 2 ⎠1 = −4 ⋅ Av = −2 ⋅ VGS1 − VTH 1 ⎛W ⎞ µ p ⋅⎜ ⎟ ⎝ L ⎠2 ⎛W ⎝ L µn ⋅ ⎜ SM Set 3: Single-Stage Amplifiers 30 Diode Connected Load - 7 Example (Continued): • We observe for this example that: 1. For fixed transistor sizes, using the current source increases the gain by a factor of 2. 2. For fixed overdrive voltages, using the current source increases the gain by a factor of 4. 3. For a given gain, using the current source allows us to make the diode connected load 4 times smaller. 4. For a given gain, using the current source allows us to make the overdrive voltage of the diode connected load 4 times smaller. This increases the headroom for voltage swing. SM Set 3: Single-Stage Amplifiers 31 Current Source Load - 1 • • • Note that current source M2 is the load. Recall that the output impedance of M2 seen from Vout: v R = =r i X X o2 X A = v • • v v OUT = − g ⋅ (R r ) = − g ⋅ (r r m1 X o1 m1 o2 o1 ) IN 1 1 L2 ∝ = For large gain at given power, we want large ro and ro = 1 W λ ⋅ ID W ⋅ L L Increase L and W keeping the aspect ratio constant (so ro increases and ID remains constant). However, this approach increases the capacitance of the output node. We want M2 to be in saturation so VSD 2 = VDD − VOUT > VSG 2 − VTH = Veff 2 → VOUT < VDD − Veff 2 SM Set 3: Single-Stage Amplifiers 32 Current Source Load - 2 • We also want M1 to be in saturation: V DS 1 =V OUT > V −V = V →V GS 1 eff 1 TH OUT >V eff 1 • Thus, we want Veff1 and Veff2 to be small, so that there is more headroom for output voltage swing. For a constant ID, we can increase W1 and W2 to reduce Veff1 and Veff2. • • The intrinsic gain of this amplifier is: A = − g ⋅ r In general, we have: W L g ∝ , r ∝ → A ∝L W L But since current in this case is roughly constant: v m o 2 m • o g = 2µ ⋅ C ⋅ m SM n ox v W W ⋅I ∝ L L D , r = o 1 ∝L → λ⋅I Set 3: Single-Stage Amplifiers A ∝ LW v D 33 Triode Load • We recognize that this is a common source configuration with M2 being the load. Recall that if M2 is in deep triode, i.e., VSD<<2(VSG-|VTH|), it behaves like a resistor. If V << 2(V − V SD R ON 2 SG = • • • SM ): 1 W µ ⋅ C ⋅ ⋅ (V − V L p • TH ox SG TH ) = 1 W µ ⋅ C ⋅ ⋅ (V − V − V L p ox dd b TH ) , A = − g ⋅ (R v m1 ON 2 r Vb should be low enough to make sure that M2 is in deep triode region and usually requires additional complexity to be precisely generated. RON2 depends on µp, Cox, and VTH which in turn depend on the technology being used. In general, this amplifier with triode load is difficult to design and use! However, compared to diode-connected load, triode load consumes less headroom: M1 : VOUT > VGS1 − VTH = Veff 1 , M 2 : VOUT ≈ VDD Set 3: Single-Stage Amplifiers 34 o1 ) Source Degeneration - 1 • The following circuit shows a common source configuration with a degeneration resistor in the source. • We will show that this configuration makes the common source amplifier more linear. • We will use two methods to derive the gain of this circuit: 1. Small-signal Model 2. Using the following Lemma Lemma: In linear systems, the voltage gain is equal to –GmRout. SM Set 3: Single-Stage Amplifiers 35 Source Degeneration - 2 Gain – Method 1: Small Signal Model iOUT = g m ⋅ v1 + g mb ⋅ vBS + vOUT − iOUT ⋅ RS rO v1 = vIN − iOUT ⋅ RS = vIN + vOUT ⋅ RS RD , iOUT = −vOUT RD , vBS = −iOUT ⋅ RS = ⎞ ⎞ ⎛v ⎛ v − vOUT = g m ⋅ ⎜⎜ vIN + OUT ⋅ RS ⎟⎟ + g mb ⋅ ⎜⎜ OUT ⋅ RS ⎟⎟ + RD RD ⎠ ⎠ ⎝ RD ⎝ vOUT ⋅ RS RD vOUT + vOUT ⋅ RS RD rO ⎛ RD RS ⎞ ⎜ ⎟ = − g m ⋅ vIN ⋅ RD + vOUT ⋅ ⎜1 + g m ⋅ RS + g mb ⋅ RS + rO rO ⎟⎠ ⎝ v − g m ⋅ rO ⋅ RD Av = OUT = vIN rO ⋅ (1 + (g m + g mb ) ⋅ RS ) + RD + RS SM Set 3: Single-Stage Amplifiers 36 Source Degeneration - 3 Gain – Method 2: Lemma • The Lemma states that in linear systems, the voltage gain is equal to –GmRout. So we need to find Gm and Rout. 1. Gm: Recall that the equivalent transconductance of the above Circuit is: Gm = SM g m ⋅ rO g m ⋅ rO iOUT = = vIN rO + rO ⋅ (g m ⋅ RS + g mb ⋅ RS ) + RS rO [1 + (g m + g mb ) ⋅ RS ] + RS Set 3: Single-Stage Amplifiers 37 Source Degeneration - 4 Gain – Method 2: Lemma (Continued) 1. ROUT: We use the following small signal model to derive the small signal output impedance of this amplifier: v1 = −i X ⋅ RS , vBS = −i X ⋅ RS v X = i X ⋅ RS + (i X − g m ⋅ v1 − g mb ⋅ vBS ) ⋅ rO = i X ⋅ RS + (i X − g m ⋅ (− i X ⋅ RS ) − g mb ⋅ (− i X ⋅ RS )) ⋅ rO RX = vX = RS + (1 + g m ⋅ RS + g mb ⋅ RS ) ⋅ rO = RS + (1 + ( g m + g mb ) ⋅ RS ) ⋅ rO iX ROUT = RX RD = • (RS + (1 + ( g m + g mb ) ⋅ RS )⋅ rO ) ⋅ RD (RS + (1 + ( g m + g mb ) ⋅ RS ) ⋅ rO ) + RD Since typically rO>>RS: RX = RS + (1 + ( g m + g mb ) ⋅ RS ) ⋅ rO = (1 + ( g m + g mb ) ⋅ RS ) ⋅ rO = (g m + g mb ) ⋅ RS ⋅ rO SM Set 3: Single-Stage Amplifiers 38 Source Degeneration - 5 Gain – Method 2: Lemma (Continued) Gm = ROUT = g m ⋅ rO rO (1 + ⋅(g m + g mb ) ⋅ RS ) + RS (RS + (1 + ( g m + g mb ) ⋅ RS ) ⋅ rO ) ⋅ RD RS + (1 + ( g m + g mb ) ⋅ RS ) ⋅ rO + RD Av = −Gm ⋅ ROUT = − = SM (r + (1 + g m ⋅ rO + g mb ⋅ rO ) ⋅ RS )⋅ RD g m ⋅ rO ⋅ O rO + rO ⋅ (g m ⋅ RS + g mb ⋅ RS ) + RS rO + (1 + g m ⋅ rO + g mb ⋅ rO ) ⋅ RS + RD − g m ⋅ rO ⋅ RD rO + (1 + ( g m + g mb ) ⋅ RS ) ⋅ rO + RD Set 3: Single-Stage Amplifiers 39 Source Degeneration - 6 • If we ignore body effect and channel-length modulation: Method 1 – Small-signal Model: v OUT = −g ⋅ v ⋅ R m v =v ⋅ GS IN GS , v = v − g ⋅v ⋅ R D GS 1 1+ g ⋅ R m IN → A = v S m v v OUT IN = GS S − g ⋅R 1+ g ⋅ R m D m S Method 2 – Taking limits: g ⋅r g G = rolim = →∞ ⋅ R ) + R 1 + (g + g g mb →0 r + r ⋅ ( g ⋅ R + g m O m m O R OUT = rolim →∞ g mb →0 O m S (r + (1 + g r + (1 + g O O A = −G ⋅ R v m OUT m m = S S m mb )⋅ R S g 1+ g ⋅ R m m S ⋅ r + g ⋅ r ) ⋅ R ) ⋅ R (1 + ( g + g ) ⋅ R ) ⋅ R = =R ⋅ r + g ⋅ r )⋅ R + R 1 + (g + g ) ⋅ R O mb O S D m mb S D D O mb O S D m mb S − g ⋅R 1+ g ⋅ R m D m SM mb = S Set 3: Single-Stage Amplifiers 40 Source Degeneration - 7 Obtaining Gm and Rout directly assuming λ=γ=0: 1. Gm: i = g ⋅v D m v =v ⋅ GS , v = v − g ⋅v ⋅ R GS IN GS 1 1+ g ⋅ R m 2. IN m GS → G = m S S i g = v 1+ g ⋅ R D IN m m S ROUT: v = −g ⋅ v ⋅ R GS i = X m GS S OUT GS v v + g ⋅v = R R X X m GS D R → v =0 = D v =R i X D X A = −G ⋅ R v m OUT = − g ⋅R 1+ g ⋅ R m D m SM S Set 3: Single-Stage Amplifiers 41 Source Degeneration - 8 • If we ignore body effect and channel-length modulation: g − g ⋅R G = , R =R → A = 1+ g ⋅ R 1+ g ⋅ R m m m OUT m • m gm 1 = Rs →∞ 1 + g m ⋅ RS RS That is for large RS: lim G = m i 1 ≈ v R OUT IN • SM S We Notice that as RS increases Gm becomes less dependent on gm: Rs →∞ • D v S lim Gm = • D → v ≈ R ⋅i IN S OUT S Therefore, the amplifier becomes more linear when RS is large enough. Intuitively, an increase in vIN tend to increase ID, however, the voltage drop across RS also increases. This makes the amplifier less sensitive to input changes, and makes ID smoother! The linearization is achieved at the cost of losing gain and voltage headroom. Set 3: Single-Stage Amplifiers 42 Source Degeneration - 9 • We can manipulate the gain equation so the numerator is the resistance seen at the drain node, and the denominator is the resistance in the source path. − g ⋅R −R A = = 1 1+ g ⋅ R +R g m D D v m S S m • The following are ID and gm of a transistor without RS. • • • ID and gm of a transistor considering RS are: When ID is small such that RS gm<<1, Gm ≈ gm. When ID is large such that RS gm>>1, Gm ≈1/ RS. SM Set 3: Single-Stage Amplifiers 43 Alternative Method to Find the Output-Resistance of a Degenerated Common-Source Amplifier SM Set 3: Single-Stage Amplifiers 44 Why Buffers? • Common Source amplifiers needed a large load impedance to provide a large gain. • If the load is small but we need a large gain (can you think of an example?) a buffer is used. • Source-follower (common-drain) amplifiers can be used as buffers. R =∞ , R IN OUT =0 , A =1 V Ideal Buffer: 1. RIN=∞: the input current is zero; it doesn’t load the previous stage. 2. ROUT=0: No voltage drop at the output; behaves like a voltage source. SM Set 3: Single-Stage Amplifiers 45 Resistive Load - 1 • We will examine the Source follower amplifier with two different loads: 1. Resistive Load 2. Current Source Load – Resistive Load: • As shown below the output (source voltage) will follow the input (gate voltage). We will analyze the following circuit using large-signal and small-signal analysis. SM Set 3: Single-Stage Amplifiers 46 Resistive Load - 2 Large Signal Analysis: • The relationship between VIN and VOUT is: W 1 (V − V ) ⋅ (1 + λ ⋅ V ) ⋅ R V = R ⋅I = µ C 2 L 1 W (V − V − V ) ⋅ (1 + λ ⋅ V − λ ⋅ V V = µC 2 L 2 OUT S D n ox GS TH DS S 2 OUT • n ox IN OUT TH Differentiate with respect to VIN: W ∂V (V − V − V =µC L ∂V ⎛ ) ⋅ ⎜⎜1 − ∂V OUT n ox IN OUT TH n • ox GS ) 2 TH OUT ∂V ⎝ IN 1 W (V − V + µC 2 L DD OUT ∂V ∂V − TH IN ⋅ R ⋅ (− λ ) ⋅ S IN )⋅ R S ⎞ ⎟⎟ ⋅ (1 + λ ⋅ V ⎠ DS )⋅ R S ∂V ∂V OUT IN Need to find the derivative of VTH with respect to VIN: V =V TH TH 0 +γ ⋅ ( 2⋅Φ +V − F 2⋅Φ SB F ) , V =V SB OUT γ ∂V ∂V ∂V ∂V ∂V =η ⋅ = ⋅ ⋅ = ∂V ∂V ∂V ∂V ∂V 2 2⋅Φ +V SM TH TH OUT IN OUT IN F SB Set 3: Single-Stage Amplifiers OUT OUT IN IN 47 Resistive Load - 3 Large Signal Analysis (Continued): • The small signal gain can be found: ∂V ⋅ (1 + g ⋅ R + g ⋅η ⋅ R + I ⋅ R ⋅ λ ) = g ⋅ R ∂V OUT m S m S D S m S IN A = V g ⋅R g ⋅R ∂V = = R ∂V ⎛ 1⎞ 1+ g ⋅ R + g ⋅ R + 1 + ⎜⎜ g + g + ⎟⎟ ⋅ R r r⎠ ⎝ OUT m S m S IN m S mb S m o • mb S o If channel-length modulation is ignored (ro=∞) we get: A = V g ⋅R ∂V = ∂V 1 + (g + g ) ⋅ R OUT IN SM S m m S mb S Set 3: Single-Stage Amplifiers 48 Resistive Load - 4 Small Signal Analysis: • We get the following small signal model: v = (g ⋅ v + g ⋅ v v = ( g ⋅ (v − v OUT OUT m GS m mb IN OUT BS )⋅ R S , v =v −v r O GS ) + g ⋅ (− v )) ⋅ mb OUT IN OUT S v A = S v v OUT IN O = O S O mb S O m S O IN g ⋅R ⋅r g ⋅R ⋅r = R + r + g ⋅ R ⋅ r + g ⋅ R ⋅ r R ⋅ (1 + g ⋅ r + g ⋅ r ) + r m S O m S S O O m mb S O S m S O O mb O O g ⋅R m S ⎛1 R ⋅ ⎜⎜ + g + g ⎝r S m O SM m OUT O ⋅ (R + r + g ⋅ R ⋅ r + g ⋅ R ⋅ r ) = g ⋅ R ⋅ r ⋅ v A = v BS R ⋅r R +r S v , v = −v OUT mb ⎞ ⎟⎟ + 1 ⎠ Set 3: Single-Stage Amplifiers 49 Resistive Load - 5 • Graph of the gain of a source-follower amplifier: 1. M1 never enters the triode region as long as VIN<VDD. 2. Gain is zero if VIN is less than VTH (because gm is 0). 3. As VIN increases, gm increases and the gain becomes: A ≈ v 1 g = g +g 1+η m m mb 4. As VOUT increases, η decreases, and therefore, the maximum gain increases. 5. Even if RS=∞, the gain is less than one: g A ≈ <1 1 g +g + r Gain depends heavily on the DC level of the input (nonlinear amplifier). m V m 6. SM mb o Set 3: Single-Stage Amplifiers 50 Current Source Load • In a source follower with a resistive load, the drain current depends on the DC level of VIN, which makes the amplifier highly nonlinear. • To avoid this problem, we can use a current source as the load. • The output resistance is: R =r M1 o1 1 1 g g m1 • OUT =∞ o2 OUT =R R =r M1 mb 1 I1 o1 1 1 r g g o2 m1 1 1 1 1 1 ∞= = g g g g g +g m1 SM I1 → R mb 1 If channel length modulation is ignored (ro1=ro2=∞) : R • , R =r mb 1 m1 mb 1 m1 mb 1 Note that the body effect reduces the output impedance of the source follower amplifiers. Set 3: Single-Stage Amplifiers 51 Voltage Division in Source Followers - 1 • When Calculating output resistance seen at the source of M1, i.e., RM1,, we force vIN to zero and find the output impedance: R =r M1 o1 1 1 g g m1 • • • SM mb 1 However, if we were to find the gain of the amplifier, we would not suppress vIN. Here, we would like to find an equivalent circuit of M1, from which we can find the gain. Consider the small-signal model of M1: Set 3: Single-Stage Amplifiers 52 Voltage Division in Source Followers - 2 • • For small-signal analysis vBS= vDS, so gmbvBS dependant current source can be replaced by a resistor (1/gmb) between source and drain. Note that, when looking at the circuit from the source terminal, we can replace the gmvGS dependant current source with a resistor (of value 1/gm) between source and gate. • Simplified circuit: SM Set 3: Single-Stage Amplifiers 53 Voltage Division in Source Followers - 3 Example: • Find the gain of a source follower amplifier with a resistive load. • We draw the small signal model of this amplifier as shown below to get: 1 g R r S v OUT = O mb R r S O 1 1 + g g mb • ⋅v IN v A = v → R r S = OUT v IN O 1 g mb R r S O m 1 1 + g g mb m We can show that this is equal to what we obtained before: 1 R ⋅r 1 1 + +g R ⋅r ⋅g R + r + R ⋅r ⋅g R r A = = = R ⋅r 1 1 1 R + r + R ⋅r ⋅g + R ⋅r ⋅g + + 1 1 R + r + R ⋅r ⋅ g g g + +g R r S O mb S S O O S O S mb O m v S m S O O S S O mb O S O mb S O m mb S SM O Set 3: Single-Stage Amplifiers 54 m Voltage Division in Source Followers - 4 Example: • Find the gain of a source follower amplifier with a current source load. • Small-signal model of this amplifier is: r r O2 v OUT = O1 1 g mb 1 r r O2 O1 1 1 + g g mb 1 • m1 IN → O2 OUT v IN = O1 1 g mb 1 r r O2 O1 1 1 + g g mb 1 m1 If we ignore channel length modulation: v OUT = 1 g mb 1 1 1 + g g mb 1 SM ⋅v v A = v r r m1 ⋅v IN → A = v v v OUT IN = 1 g mb 1 1 1 + g g mb 1 m1 Set 3: Single-Stage Amplifiers 55 Voltage Division in Source Followers - 5 Example: • Find the gain of a source follower amplifier with a resistive load and biased with a current source. • Small-signal model of this amplifier is: r R r O2 v OUT L = O1 1 g ⋅v mb 1 r R r O2 L O1 1 1 + g g mb 1 SM r R r IN → v A = v O2 OUT v IN = O1 mb 1 r R r O2 m1 L 1 g L O1 1 1 + g g mb 1 Set 3: Single-Stage Amplifiers m1 56 Voltage Division in Source Followers - 6 Example: • Find the gain of a source follower amplifier with a resistive load. • Small-signal model of this amplifier is: r r O2 v OUT = O1 1 1 1 g g g mb 1 mb 2 1 1 1 1 + r r g g g g O2 ⋅v IN → v A = v m2 mb 2 O2 OUT v O1 mb 1 SM m2 r r m1 Set 3: Single-Stage Amplifiers IN = O1 1 1 1 g g g mb 1 r r O2 O1 m2 mb 2 1 1 1 1 + g g g g mb 1 m2 mb 2 m1 57 Advantages and Disadvantages - 1 1. Source followers have typically small output impedance. 2. Source followers have large input impedance. 3. Source followers have poor driving capabilities.. 4. Source followers are nonlinear. This nonlinearity is caused by: ¾ ¾ ¾ SM Variable bias current which can be resolved if we use a current source to bias the source follower. Body effect; i.e., dependence of VTH on the source (output) voltage. This can be resolved for PMOS devices, because each PMOS transistor can have a separate n-well. However, because of low mobility, PMOS devices have higher output impedance. (In more advanced technologies, NMOS in a separate p-well, can be implemented that potentially has no body effect) Dependence of ro on VDS in submicron devices. Set 3: Single-Stage Amplifiers 58 Advantages and Disadvantages - 2 5. Source followers have voltage headroom limitations due to level shift. Consider this circuit (a common source followed by a source follower): • If we only consider the common source stage, VX>VGS1-VTH1. • If we only consider the source follower stage, VX>VGS3-VTH3+ VGS2. • Therefore, adding the source follower will reduce the allowable voltage swing at node X. • The DC value of VOUT is VGS2 lower than the DC value of VX. SM Set 3: Single-Stage Amplifiers 59 Common-Gate Av = (gm + gmb )RD = gm (1 + η)RD SM Set 3: Single-Stage Amplifiers 60 Common-Gate (gm + gmb )ro + 1 Av = RD ro + (gm + gmb )ro RS + RS + RD SM Set 3: Single-Stage Amplifiers 61 Common-Gate (gm + gmb )ro + 1 Av = RD ro + (gm + gmb )ro RS + RS + RD for RS = 0 : Av ≈ ( g m + g mb )(ro || RD ) SM Set 3: Single-Stage Amplifiers 62 Common-Gate Input Impedance RD + ro ro RD Rin = = + 1 + ( g m + g mb )ro 1 + ( g m + g mb )ro 1 + ( g m + g mb )ro 1 1 RD || ) Rin = + (ro || 1 + ( g m + g mb )ro g m g mb SM Set 3: Single-Stage Amplifiers 63 Common-Gate Input Impedance • Input impedance of common-gate stage is relatively low only if RD is small • Example: Find the input impedance of the following circuit. SM Set 3: Single-Stage Amplifiers 64 Example • Calculate the voltage gain of the following circuit: Av = 1 + ( g m + g mb )ro SM Set 3: Single-Stage Amplifiers 65 Common-Gate Output Impedance Rout = {[1 + ( g m + g mb ) RS ]ro + RS } || RD SM Set 3: Single-Stage Amplifiers 66 Example • Compare the gain of the following two circuits (λ=γ=0 and 50Ω transmission lines!) SM Set 3: Single-Stage Amplifiers 67 Cascode Stage • Cascade of a common-source stage and a common-gate stage is called a “cascode” stage. Rout = {[1 + ( g m 2 + g mb 2 )ro1 ]ro 2 + ro1} || RD ≈ [( g m 2 + g mb 2 )ro1ro 2 ] || RD AV ≈ gm1{[ro1 ro2 (gm 2 + gmb2 )] || RD ]} SM Set 3: Single-Stage Amplifiers 68 Cascode Stage AV ≈ gm1 [(ro 1ro 2 gm2 ) || (ro 3ro 4 gm3 )] SM Set 3: Single-Stage Amplifiers 69 Output Impedance Comparison SM Set 3: Single-Stage Amplifiers 70 Shielding Property SM Set 3: Single-Stage Amplifiers 71 Board Notes SM Set 3: Single-Stage Amplifiers 72 Triple Cascode • What is the output resistance of this circuit? • Problem? SM Set 3: Single-Stage Amplifiers 73 Folded Cascode SM Set 3: Single-Stage Amplifiers 74 Output Impedance of a Folded Cascode Rout = [1 + ( g m 2 + g mb 2 )ro 2 ](ro1 || ro 3 ) + ro 2 SM Set 3: Single-Stage Amplifiers 75