You are on page 1of 20

6.

012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-1

Lecture 13 - Digital Circuits (II)

MOS Inverter Circuits

October 25, 2005

Contents:

1. NMOS inverter with resistor pull-up (cont.)

2. NMOS inverter with current-source pull-up

3. Complementary MOS (CMOS) Inverter

Reading assignment:

Howe and Sodini, Ch. 5, §5.3


6.012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-2

Key questions

• What are the key design trade-offs of the NMOS in-


verter with resistor pull-up?
• How can one improve upon these trade-offs?

• What is special about a CMOS inverter?


6.012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-3

1. NMOS inverter with resistor pull-up (cont.)

V+=VDD VOUT=VDS

VOH=VMAX=VDD

R IR
slope= Av(VM)

VOUT=VIN
VOUT

VM
ID
VIN
CL
VOL=VMIN
0
0 VT VM VDD VIN=VGS
VIL VIH

2 Noise margins:

VM AX − VM
N ML = VIL − VOL = VM − − VM IN
|Av (VM )|

1 VM IN
N MH = VOH −VIH = VM AX −VM (1+ )+
|Av (VM )| |Av (VM )|

Need to compute |Av (VM )|.


6.012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-4

Small-signal equivalent circuit model at VM (transistor in


saturation):
R
D
G
+ + +
vin vgs gmvgs ro vout
- - S -

+ +
vin gmvin ro//R vout
- -

vout = −gm vin(ro//R)


Then:
vout
Av = = −gm(ro //R)  −gm R
vin
Then:
|Av (VM )| = gm (VM )R

From here, get N ML and N MH using above formulae.

6.012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-5

2 Dynamics

• CL pull-down limited by current through transistor


[will study in detail with CMOS]
• CL pull-up limited by resistor (tP LH ∼ RCL)
• pull-up slowest

VDD VDD

R R
VOUT: VOUT:
HI LO LO HI
VIN: VIN:
CL HI LO CL
LO HI

pull-down pull-up
6.012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-6

2 Inverter design issues:

noise margins ↑ ⇒ |Av | ↑ ⇒

• R ↑ ⇒ RCL ↑ ⇒ slow switching


• gm ↑ ⇒ W ↑ ⇒ big transistor

(slow switching at input)

Trade-off
Trade-off between speed
speed and noise margin.
margin.

During pull-up, need:

• high current for fast switching,


• but also high resistance for high noise margin.

⇒ use current source as pull-up.


6.012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-7

2. NMOS inverter with current-source pull-up

I-V characteristics of current source:

iSUP

ISUP 1
roc
vSUP iSUP

0
0 vSUP

Equivalent circuit models:

iSUP

ISUP roc roc


vSUP

large-signal model small-signal model

• high current throughout voltage range: iSU P  ISU P


• high small-signal resistance, roc.
6.012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-8

NMOS inverter with current-source pull-up:

VDD load line


iSUP=ID

VGS=VDD
iSUP
ISUP
VOUT VGS=VIN

VIN
CL
VGS=VT
0
0 VDD VDS

Transfer characteristics:

VOUT

VDD

0
0 VT VDD VIN

High roc ⇒ high noise margin


6.012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-9

Dynamics:

VDD VDD

iSUP iSUP

VOUT: VOUT:
HI LO LO HI
VIN: VIN:
LO HI CL CL
HI LO

pull-down pull-up

Fas pull-up because capacitor charged at constant cur-


Faster
rent.
6.012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-10

2 PMOS as current-source pull-up

I-V characteristics of PMOS:

IDp

-IDp -IDp

saturation

VSGp

VSGp=-VTp
0 0
0 VSDp 0 VSGp
-VTp

Note: enhancement-mode PMOS has VT p < 0.

In saturation:

−IDp ∝ (VSG + VT p )2
6.012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-11

Circuit and load-line diagram of inverter with PMOS cur-


rent source pull-up:

VDD
PMOS load line for VSG=VDD-VB
-IDp=IDn

VDD
VB

VOUT
VIN
VIN
CL

0
0 VDD VOUT

Transfer function:
NMOS cutoff
PMOS triode
VOUT
NMOS saturation
PMOS triode
VDD

NMOS saturation
PMOS saturation

NMOS triode
PMOS saturation

0
0 VTn VDD VIN
6.012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-12

Noise margin:

• compute VM = VIN = VOU T


• compute |Av (VM )|

At VM both transistors saturated:

Wn
IDn = µnCox (VM − VT n )2
2Ln

Wp
−IDp = µp Cox(VDD − VB + VT p )2
2Lp

And:

IDn = −IDp

Then:


µp W
� p


� Lp
VM = VT n + �

Wn (VDD − VB + VT p )

µn L n
6.012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-13

Small-signal equivalent circuit model at VM :

S2
+

vsg2=0 gmpvsg2 rop


-
G2 D2
D1
+ +
G1
+
vin vgs1 gmnvgs1 ron vout
- - -
S1

+ +
vin gmnvin ron//rop vout
- -

Av = −gmn (ron//rop )
6.012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-15

Screen shots of NMOS inverter transfer characteristics:

2 NMOS inverter with resistor pull-up

2 NMOS inverter with current source pull-up

6.012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-14

NMOS inverter with current-source pull-up allows fast


switching with high noise margins.

But... when VIN = VDD , there is a direct current path


between supply and ground

⇒ power consumption even if inverter is idling.

VDD PMOS load line for VSG=VDD-VB


-IDp=IDn

VDD

VB

VOUT:LO VIN

VIN:HI
CL

0
0 VDD VOUT

Would like to have current source that is itself switchable,


i.e., it shuts off when input is high ⇒ CMOS!
6.012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-16

3. Complementary MOS (CMOS) Inverter

Circuit schematic:
VDD

VIN VOUT

CL

Basic operation:

•VIN = 0 ⇒ VOU T = VDD

VGSn = 0 < VT n ⇒ NMOS OFF

VSGp = VDD > −VT p ⇒ PMOS ON

•VIN = VDD ⇒ VOU T = 0

VGSn = VDD > VT n ⇒ NMOS ON

VSGp = 0 < −VT p ⇒ PMOS OFF

power
No p ower consumption while idling in an
anyy logic state.
6.012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-17

Output characteristics of both transistors:

IDn -IDp

VGSn VSGp

VGSn=VTn VSGp=-VTp
0 0
0 VDSn 0 VSDp

Note:

VIN = VGSn = VDD − VSGp ⇒ VSGp = VDD − VIN

VOU T = VDSn = VDD − VSDp ⇒ VSDp = VDD − VOU T

IDn = −IDp

Combine into single diagram of ID vs. VOU T with VIN as


parameter.
6.012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-18

VDD
ID

VIN VOUT
VDD-VIN VIN

CL

0
0 VOUT

 no current while idling in any logic state.

Transfer function:
NMOS cutoff
PMOS triode
VOUT NMOS saturation
PMOS triode
VDD

NMOS saturation
PMOS saturation

NMOS triode
PMOS saturation

NMOS triode
PMOS cutoff

0
0 VTn VDD+VTp VDD VIN

 ”r
”rail-to-rail”
ail-to-rail” lo
logic:
gic: logic levels are 0 and VDD
logic

 highh |A
|Av | ar logic thresholdd ⇒ go
ound logic
around od noise margins
good
6.012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-19

Transfer characteristics of CMOS inverter in WebLab:

6.012 - Microelectronic Devices and Circuits - Fall 2005 Lecture 13-20

Key conclusions

• In NMOS inverter with resistor pull-up: trade-off be-


tween 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 VIN =
HI, power consumption even if inverter is idling.
• Complementary MOS: NMOS and PMOS switch al-
ternatively ⇒
– no power consumption while idling
– ”rail-to-rail” logic: logic levels are 0 and VDD
– high |Av | around logic threshold ⇒ good noise
margins

You might also like