Lecture 12 Circuits numériques (II) Circuits inverseurs MOS Outline NMOS inverter with resistor pull-up The inverter NMOS inverter with current-source pull-up Complementary MOS (CMOS) inverter Static analysis of CMOS inverter 6.12 Spring 24 Lecture 12 1
1. NMOS inverter with resistor pull-up: Dynamics C L pull-down limited by current through transistor [shall study this issue in detail with CMOS] C L pull-up limited by resistor (t PLH RC L ) Pull-up slowest R R : LO HI C L : HI LO : HI LO C L : LO HI pull-down pull-up 6.12 Spring 24 Lecture 12 2
1. NMOS inverter with resistor pull-up: Inverter design issues Noise margins A v R RC L slow switching g m W big transistor (slow switching at input) Trade-off between speed and noise margin. During pull-up we need: High current for fast switching But also high incremental resistance for high noise margin. use current source as pull-up 6.12 Spring 24 Lecture 12 3
2. NMOS inverter with current-source pull-up I V characteristics of current source: i SUP + v SUP i SUP I SUP 1 r oc _ v SUP Equivalent circuit models : i SUP + v SUP I SUP roc r oc _ large-signal model small-signal model High current throughout voltage range v SUP > i SUP = for v SUP i SUP = I SUP + v SUP / r oc for v SUP > High small-signal resistance r oc. 6.12 Spring 24 Lecture 12 4
NMOS inverter with current-source pull-up Static Characteristics load line i SUP =I D i SUP V GS = I SUP V GS = C L V DS V GS =V T Inverter characteristics : V T High r oc high noise margins 6.12 Spring 24 Lecture 12 5
PMOS as current-source pull-up I V characteristics of PMOS: S G IDp D -IDp -IDp saturation VSGp VSGp=-VTp VSDp -VTp VSGp Note: enhancement-mode PMOS has V Tp <. In saturation: I Dp ( V SG + V ) 2 Tp 6.12 Spring 24 Lecture 12 6
PMOS as current-source pull-up: Circuit and load-line diagram of inverter with PMOS current source pull-up: -I Dp =I Dn PMOS load line for V SG = -V B V B C L Inverter characteristics: NMOS cutoff PMOS triode NMOS saturation PMOS triode NMOS saturation PMOS saturation NMOS triode PMOS saturation V Tn 6.12 Spring 24 Lecture 12 7
PMOS as current-source pull-up: NMOS inverter with current-source pull-up allows high noise margin with fast switching High Incremental resistance Constant charging current of load capacitance But When =, there is a direct current path between supply and ground power is consumed even if the inverter is idle. -I Dp =I Dn PMOS load line for V SG = -V B V B :HI C L :LO Ideally, we would like to have a current source that is itself switchable, i.e it shuts off when input is high CMOS! 6.12 Spring 24 Lecture 12 8
3. Complementary MOS (CMOS) Inverter Circuit schematic: C L Basic Operation: = = V GSn = < V Tn NMOS OFF V SGp = > - V Tp = = PMOS ON V GSn = > V Tn NMOS ON V SGp = < - V Tp PMOS OFF No power consumption while idle in any logic state! 6.12 Spring 24 Lecture 12 9
CMOS Inverter (Contd.): Output characteristics of both transistors: I Dn -I Dp V GSn V SGp V GSn =V Tn V SGp =-V Tp V DSn V SDp Note: = V GSn = -V SGp V SGp = - = V DSn = -V SDp V SDp = - I Dn = -I Dp Combine into single diagram of I D vs. with as parameter 6.12 Spring 24 Lecture 12 1
CMOS Inverter (Contd.): I D - No current while idle in any logic state Inverter Characteristics: NMOS cutoff PMOS triode NMOS saturation PMOS triode NMOS saturation PMOS saturation NMOS triode PMOS saturation NMOS triode PMOS cutoff V Tn +V Tp rail-to-rail logic: logic levels are and High A v around logic threshold good noise margins 6.12 Spring 24 Lecture 12 11
2. CMOS inverter: noise margins NM L V M A v (V M ) V IL V M V IH NM H Calculate V M Calculate A v (V M ) Calculate NM L and NM H Calculate V M (V M = = ) At V M both transistors are saturated: I Dn = W n µ 2L n C ox ( V M V Tn ) 2 n I Dp = W p µ 2L p C ( ox V M + V ) 2 Tp p 6.12 Spring 24 Lecture 12 12
CMOS inverter: noise margins (contd.) Define: k n = W n L n µ n C ox ; k p = W p L p µ p C ox Since : Then: I Dn = I Dp 1 2 k n( V M V Tn ) 2 = 1 2 k ( p V M + V ) 2 Tp Solve for V M : V M = V Tn + k p k n ( + V Tp ) 1+ k p k n Usually, V Tn and V Tp fixed and V Tn = - V Tp V M engineered through k p /k n ratio. 6.12 Spring 24 Lecture 12 13
CMOS inverter: noise margins (contd..) Symmetric case: k n = k p V M = 2 This implies (2<k<3): k p k n =1 = W p L p µ p C ox W n L n µ n C ox W p L p µ p W n L n k.µ p W p L p k W n L n Since usually L p L n = L min W p k.w n Asymmetric case: k n >> k p, or W n L n >> W p L p V M V Tn NMOS turns on as soon as goes above V Tn. Asymmetric case: k n << k p, or W n L n << W p L p V M + V Tp PMOS turns on as soon as goes below + V Tp. 6.12 Spring 24 Lecture 12 14
CMOS inverter: noise margins (contd ) Calculate A v (V M ) Small signal model: + S2 + + v sg2 =-v in g mp v sg2 r op - G2 D2 + D1 G1 v in v gs1 g mn v gs1 r on v out - - - S1 G1=G2 D1=D2 + + v in gmn v in g mp v in r on //r op v out - S1=S2 A v = ( g mn + g mp )r ( on // r ) op - This can be rather large. 6.12 Spring 24 Lecture 12 15
CMOS inverter: calculate noise margins (contd.) NM L V M A v (V M ) V IL V M V IH V IN NM H Noise-margin low, NM L : V IL = V M V M A v NM L = V IL V OL = V IL = V M V M A v Noise-margin high, NM H : V IH = V M 1 + 1 A v NM H = V OH V IH = V M 1+ 1 A v 6.12 Spring 24 Lecture 12 16
What did we learn today? Summary of Key Concepts In NMOS inverter with resistor pull-up, there is a trade-off between noise margin and speed Trade-off resolved using current source pull-up Use PMOS as current source. In NMOS inverter with current-source pull-up: if = High, there is power consumption even if inverter is idling. Complementary MOS: NMOS and PMOS switchon alternatively. No current path between power supply and ground No power consumption while idling Calculation of CMOS V M Noise Margin 6.12 Spring 24 Lecture 12 17