Académique Documents
Professionnel Documents
Culture Documents
CMOS Inverter
Overview
Logic levels Noise Margin CMOS Inverter static behaviour dynamic behaviour
5: CMOS Inverter
vI
VO
V DD R i vI M
S
VCC R v
O
i vI
v
C
VI
5: CMOS Inverter
v V +
5: CMOS Inverter
Noise Margins
V+ vO "1" vI
NML: Noise margin associated with a low input level NML = VIL - VOL NMH: Noise margin associated with a high input level NMH = VOH - VIH
"1"
"0"
5: CMOS Inverter
Rise time tr: time required for the transition from V10% to V90%. Fall time tf: time required for the transition from V90% to V10%.
V10% = VOL + 0.1(VOH - VOL) V90% = VOL + 0.9(VOH - VOL)
VOH
90% 50% V
OH
+V 2
OL
VOL
(a)
10% tr vO tf t
Propagation delay P: difference in time between the input and output signals reaching V50%.
V50% = (VOH + VOL)/2
VOH
PHL
PLH
V
OH
90% +V 50%
OL
VOL
(b)
10% t 1 t t2 f t3 t t4 t r
P =
5: CMOS Inverter
PLH + PHL
2
Switching waveforms for an idealised inverter (a) Input voltage signal (b) Output voltage waveform
Institute of Microelectronic Systems
DD
=5V
NMOS switching device MS designed to force vO to VOL Resistor load R to pull the output up toward the power supply VDD VOH = VDD (driver in cut off iD = 0) VOL determined by W/L ratio of MS
v
I
R v i
D O
+
M
S
DS
5: CMOS Inverter
Example
V = 5V
DD
V DD = 5V
DD
R v =V
O OH
R =5V
95 k
v =V 0 M v =V <V
I OL
50 A M
S
OL
+
S
TH
v =V
I
OH
=5V
2.06 1 (b)
DS
= 0.25 V
(a)
5: CMOS Inverter
On - Resistance
V
DD
DD
R VOH v = V OL
I
R VOL v =V
I OH
R on (a) (b)
R on
Ron =
vDS = iD
VOL = VDD
5: CMOS Inverter
ML vO
(a) NMOS inverter with gate of the load device connected to its source
V DD ML vO vI MS VI
VGG
V DD ML vO MS
5: CMOS Inverter
10
(0 V) S n+
V D n+ vo D p+ n-well S p+
DD
(5 V) B n+
B p+ Ohmic contact
P M O S D e vice -1 V 0 .7 5
V
0 .6 0 V A /V 2
Institute of Microelectronic Systems
0 .7 0 V 1 0 A /V 2
5: CMOS Inverter
11
Inverter with resistive load power dissipation when the input is high. If an NMOS and PMOS transistor is v I used CMOS. One transistor is always off while the other is on no static power consumption.
VDD = 5 V M
VDD = 5 V R onp
G D D G M S
v v
O
R onn
5: CMOS Inverter
12
vo
2.0V
5 M P off
0V 0V 1.0V
4
2.0V v I 3.0V
4.0V
5.0V
5: CMOS Inverter
13
vI VTN VTN < vI vO + VTP vI VDD/2 vO + VTN < vI (VDD + VTP) vI (VDD + VTP)
Cutoff
Linear
Saturation
Linear
VDD/2
Saturation
Saturation
Low VOL = 0
Linear Linear
Saturation Cutoff
5: CMOS Inverter
14
V DD = 5 V
4.0V
V DD = 4 V V DD = 3 V v O= vI
vO= vI
4.0V
KR= 5 K R= 1 K R = 0.2
2.0V
V DD = 2 V
2.0V
vI
vI
5: CMOS Inverter
15
Calculation of VIL
Equating currents for saturated nMOS and nonsaturated pMOS device (Region 2):
Calculation of VIH
At the point VIH the NMOS device is nonsaturated and the PMOS transistor is saturated (region 4):
which gives:
Calculation of Vth
For Vth = Vin = Vout both transistors are saturated ( is assumed to be 0):
4.0V Kp 2 Kn 2 (Vth VTn ) = (VDD Vth VTp ) 2 2 vo
V IL
Vin=Vout
Vth =
2.0V
M N and M P saturated
4
3.0V
5
4.0V 5.0V
vI
Vth
Institute of Microelectronic Systems
5: CMOS Inverter
18
NM
W K p = K'p L p
9 10 11
5: CMOS Inverter
19
Kp Kn
p (W L ) p n (W L )n
(W L ) p n = (W L )n p
Since n / p 2.5, a minimum area CMOS inverter will have (W/L)n 1 and (W/L)p 2.5. In this case the voltage transfer function is completely symmetric.
Institute of Microelectronic Systems
5: CMOS Inverter
20
Summary
V IL 4.0V
So what did we accomplish until now? We know how a CMOS inverter works. VOL, VOH - do you still know it? We know how to set the W/L ratios of the transistors to get optimal noise margins. So we make every inverter the same, that is to say minimal -or?
vo
2.0V
3
VIH
0V 0V 1.0V 2.0V
4
3.0V
5
4.0V 5.0V
vI
5: CMOS Inverter
21
Dynamic Behavior of the CMOS Inverter High to Low Output Transition (I)
MN goes from Cutoff over Saturation into Nonsaturation region for the given input. The border between Saturation and Nonsaturation is reached at the time tx and the output voltage Vout = VOH - VTn v
I V DD = 5 V MP v I = 5V v O (0+) = 5V + 5V
t
O
MN
MN saturated MN nonsaturated t
t1
Institute of Microelectronic Systems
tX
t2
5: CMOS Inverter
22
i=
VDD
Nonsaturation:
t 2 t x = COUT
V0
dVOUT
= VDD VTn
V0
5: CMOS Inverter
23
dx 1 xn x a + bx n = an ln a + bx n
In our case:
n = 1, b = 1
ax x
dx
1 x ln a ax
t HL = (t x t1 ) + (t 2 t x )
therefore:
where
5: CMOS Inverter
24
DD
=5V + 5V MP
V =0V
I
0V v M
N O
t 0 v
O
(0+) = 0V C + 5V
0V 0
Institute of Microelectronic Systems
5: CMOS Inverter
25
P =
tr = t f = 2 P
Example:
VDD= 5 V 5 1 v o
v
I
V DD =5V
V DD =5V 32.5 1 v v o
I
M v
I
20 1 v o
2 1
13 1 1 pF
8 1 2 pF
(a)
(b)
Scaled inverters a) P = 1 ns
b) P = 3.2 ns
26
Power Dissipation
6.0V
Two kinds of power dissipation in digital electronics: static power dissipation (logic gate output is stable) dynamic power dissipation (during switching of logic gate) With CMOS nearly no static power dissipation!
0V
0A >> 0V 2.0V
vI
4.0V
6.0V
5: CMOS Inverter
27
Power dissipation due to charge and i(t) discharge of capacitances + The total energy ED delivered by the V DD source is given by
+
vc (t)
ED = P(t )dt
0
(a)
vc (0) = 0
The current supplied by source VDD is also equal to the current in capacitor C, and so dv
ED = VDD C
0
dt
dt
= CVDD
Institute of Microelectronic Systems
VC ( )
VC ( 0 )
dvC
5: CMOS Inverter
28
The total energy ETD dissipated in the process of first charging and then discharging the capacitor is equal to
2 2 CVDD CVDD + = 2 2 Discharge Charge 2 = CVDD
ETD
5: CMOS Inverter
29
Thus, every time a logic gate goes through a complete switching cycle, the transistors within the gate dissipate an energy equal to ETD. Logic gates normally switch states at some relatively high frequency (switching events/second), and the dynamic power PD dissipated by the logic gate is then
2 PD = CVDD f
In effect, an average current equal to (CVDDf) is supplied from the source VDD.
5: CMOS Inverter
30
Voltage
0.0 V 30uA
Current
0 uA 0s
4ns
8ns
12ns
16ns
Time
5: CMOS Inverter Institute of Microelectronic Systems 31
Summary
Lets repeat:
6.0V 40uA 4.0V Output Voltage
What is the dynamic behaviour of the inverter? What do we need it for? What kind of power dissipation is there? What kind of power dissipation is dominant with CMOS logic?
2.0V v I
4.0V
6.0V
2 PD = CVDD f
Institute of Microelectronic Systems
5: CMOS Inverter
32