34
8/12/03 Transistor Review 1 CMOS – Transistors and Inverters Dr. Jerry L. Hudgins Department of Electrical Engineering University of South Carolina

CMOS – Transistors and Inverters

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: CMOS – Transistors and Inverters

8/12/03Transistor Review

1

CMOS – Transistors and Inverters

Dr. Jerry L. HudginsDepartment of Electrical Engineering

University of South Carolina

Page 2: CMOS – Transistors and Inverters

8/12/03Transistor Review

2

Complimentary-MOS Logic (CMOS)

PMOS (P-channel enhancement-mode Metal Oxide Semiconductor transistor)

NMOS (N-channel enhancement-mode Metal Oxide Semiconductor transistor)

G

GGG

GG

DDDDDD

S

SSS

SS

B

B

Page 3: CMOS – Transistors and Inverters

8/12/03Transistor Review

3

Definition of Symbols

1 to 5 V/µmSaturation Electric Field ValueEsat

0.1 to 0.5 µmEffective Channel LengthL

0.2 to 3 µmEffective Channel WidthW

3 to 10 fF/µm2Oxide Capacitance per Unit AreaCox

150 cm2/VsSurface Hole Mobilityµp

400 cm2/VsSurface Electron Mobilityµn

-0.8 to 0.8 VMOS Threshold VoltageVT

-3 to 3 VGate-Source VoltageVGS

-3 to 3 VDrain-Source VoltageVDS

1 µA to 100 mADrain CurrentID

Typical Values and UnitsDescriptionSymbol

Page 4: CMOS – Transistors and Inverters

8/12/03Transistor Review

4

Definitions of Some Derived Symbols

k’n = µnCox = µnεox/tox

Process Transconductance Parameters (A/V2)

k’p = µpCox = µpεox/tox

Gain Factors (A/V2)

kn = k’n(Wn/Ln)

kp = k’p(Wp/Lp)

Page 5: CMOS – Transistors and Inverters

8/12/03Transistor Review

5Metal Oxide Semiconductor Field-Effect Transistor Behavior

In the resistive region of operation for NMOS:

)(2

)(2

)(1

22

DSDS

DSTGSoxnDS

DSTGS

sat

DS

oxnD VVVVV

LWCVVVV

LW

LEVCI κµµ

−−

=

−−

+=

LEVV

sat

DSDS

+=

1

1)(κ

For long channels or small drain-source voltages, κ approaches 1 and the expression for the drain current reduces to the traditionally used equation describing a MOSFET in its resistive region of operation. VDS/L is approximately the average electric field in the channel.

Page 6: CMOS – Transistors and Inverters

8/12/03Transistor Review

6Metal Oxide Semiconductor Field-Effect Transistor Behavior

In the saturation region of operation for NMOS:

When the electric field in the channel reaches the saturation value, then all carriers at the drain reach the saturation drift velocity (vsat = 105 cm/s) and the drain current remains constant (to first order at IDsat) with respect to increases in drain-source voltage.

)()(2

)(2

DSsatTGSoxsatDSsatDSsat

DSsatTGSoxnDsat VVVWCvVVVVVL

WCI −−=

−−

= κµ

LEVV

VVV

sat

TGS

TGSDSsat −

+

−=

1

Page 7: CMOS – Transistors and Inverters

8/12/03Transistor Review

7

PMOS Equations

In the saturation region of operation for PMOS:

)()(2

)(2

DSsatTGSoxsatDSsatDSsat

DSsatTGSoxpDsat VVVWCvVVVVVL

WCI −−−=

−−

−= κµ

LEVV

VVV

sat

TGS

TGSDSsat −

+

−=

1

In the resistive region of operation for PMOS:

)(2

)(2

)(1

22

DSDS

DSTGSoxpDS

DSTGS

sat

DS

oxpD VVVVV

LWCVVVV

LW

LEVC

I κµµ

−−

−=

−−

+

−=

LEVV

sat

DSDS

+=

1

1)(κ

Page 8: CMOS – Transistors and Inverters

8/12/03Transistor Review

8CMOS Buffer/Inverter – Static Operation

VDD

Vin Vout

CL

Vin = 0 V → VGSp < 0 V, VGSn = 0 V → PMOS “On”, NMOS “Off” → Vout ≈ VDD

Vin = VDD → VGSp = 0 V, VGSn > 0 V → PMOS “Off”, NMOS “On” → Vout ≈ 0 V

No dc current path from source to ground so ideally no power dissipation!

dc Transfer Curve

0

0.5

1

1.5

2

2.5

3

3.5

0 0.5 1 1.5 2 2.5 3 3.5

VinVo

ut

Page 9: CMOS – Transistors and Inverters

8/12/03Transistor Review

9

Transfer Curve Information

Gate threshold voltage, VTH

Noise Margins

Small-signal gain of gate at its threshold voltage

dc Transfer Curve

0

0.5

1

1.5

2

2.5

3

3.5

0 0.5 1 1.5 2 2.5 3 3.5

Vin

Vout

Page 10: CMOS – Transistors and Inverters

8/12/03Transistor Review

10

Threshold VoltageVDD

Vin Vout

CL

Gate Threshold Voltage is defined as VTH ≡ Vin that gives the same value of Vout

It is the boundary between logic states.

dc Transfer Curve with Gate Threshold

0

0.5

1

1.5

2

2.5

3

3.5

0 0.5 1 1.5 2 2.5 3 3.5

Vin

Vout

VTH = 1.43 V for this example

NMOS offPMOS res

NMOS satPMOS res

NMOS resPMOS sat

NMOS satPMOS sat

NMOS offPMOS res

Page 11: CMOS – Transistors and Inverters

8/12/03Transistor Review

11

r

VVVrVV

V

DSsatpTpDD

DSsatnTn

TH +

+++

+

=1

22

nsatn

psatp

DSsatnn

nn

DSsatpp

pp

DSsatnn

DSsatpp

WvWv

VLW

VLW

VkVk

r =

==µ

µ

Threshold Voltage

Assumes identical oxide thicknesses for NMOS and PMOS, and ignores channel length modulation effects.

Page 12: CMOS – Transistors and Inverters

8/12/03Transistor Review

12

Noise MarginsVDD

Vin Vout

CL

Noise Margins are defined as: NML ≡ VIL-VOL =Max. input for logic 0 – Nominal value of logic 0

NMH ≡ VOH-VIH = Nominal value of logic 1 – Min. value for logic 1

dc Transfer Curve

0

0.5

1

1.5

2

2.5

3

3.5

0 0.5 1 1.5 2 2.5 3 3.5

Vin

Vou

tThe points corresponding to VIL and VIH are defined where the gain is –1.i.e. dVout/dVin = -1

Slope is -1VOH

VILVIH

VOL

Noise margins are the difference in what the nominal output voltage is at a given logic level and what the input of a similar gate must see to interpret the level correctly.

Page 13: CMOS – Transistors and Inverters

8/12/03Transistor Review

13

Small-signal GainVDD

Vin Vout

CL

Must have voltage gain > 1 otherwise signals will fall below VTHafter passing through several gates. Minimum allowable value for absolute value of voltage gain of a digital gate is about . Typical gains are from 2 to 50.

For this example:

2

2626

11

====THVin

outv dV

dVAg

dc Transfer Curve

0

0.5

1

1.5

2

2.5

3

3.5

0 0.5 1 1.5 2 2.5 3 3.5

Vin

Vout

Slope of curve around threshold voltage

Page 14: CMOS – Transistors and Inverters

8/12/03Transistor Review

14

Calculation of Noise MarginsVDD

Vin Vout

CL

dc Transfer Curve

0

0.5

1

1.5

2

2.5

3

3.5

0 0.5 1 1.5 2 2.5 3 3.5

Vin

Vou

t

Linearize the transfer curve as shown with the slope between the transitions equal to the gain, g, at VTH .

VOH

VILVIH

VOL

Page 15: CMOS – Transistors and Inverters

8/12/03Transistor Review

15

Calculation of Noise Marginsdc Transfer Curve

0

0.5

1

1.5

2

2.5

3

3.5

0 0.5 1 1.5 2 2.5 3 3.5

Vin

Vou

t

VOH

VILVIH

VOL

From the definition of gain and the nominal values of the gate:

From the equation of the slanted line:

Therefore combining the top two equations:

ILIH

DD

IHIL

OLOH

VVV

VVVVg

−−

−=−−

=0

gVVV TH

THIH −=

gVVVV THDD

THIL−

+=

for large gainTHDDTHOH

THTHDDIHOHH VVVV

gVVVVVNM −≈−≈+−=−=

THOLTHTHDD

THILOLILL VVVg

VVVVVVNM ≈−≈−

+==−=for large gain

Page 16: CMOS – Transistors and Inverters

8/12/03Transistor Review

16

Calculation of Gain at VTHWrite a nodal equation with the drain currents of each transistor equal to each other and VGSn = Vin , VDSn = Vout , VGSp = Vin – VDD , and VDSp = Vout – VDD .

Next, differentiate Vout with respect to Vin and solve for dVout/dVin

)(2

1

22

)1()1(

pnDSsatn

TnTHDSsatp

TpDDTHDSsatpppDSsatn

TnTHDSsatnnn

DDpTHpDSsatppTHnDSsatnn

VVV

rV

VVVVkVVVVk

VVVkVVkg

λλλλ

λλλ

−−

+≈

−−−+

−−

−+++−=

Channel-length modulation factors, λ, CANNOT be ignored for this analysis (depletion region at drain-end encroaches on channel and reduces its effective length thus causing drain current to increase).

Page 17: CMOS – Transistors and Inverters

8/12/03Transistor Review

17

Channel-Length Modulation Factor

)1( DSDsatD VII λ+=

−+−

−+

=

E

DSsatDSaDS

E

DSsatDSa

VVVlLV

VVVl

1ln

1lnλ

3/12/16/1 )22.0( oxja tdcml =dj is the drain junction depth VE is determined empirically and is < 1 V

Y.A. El-Mansy and A.R. Boothroyd, “A simple two-dimensional model for IGFET operation in the saturation region,” IEEE Trans. ED, vol. 24, pp. 254-262, 1977.

P.K. Po, “Approaches to scaling,” pp. 1-37, Advanced MOS Device Physics, N.G. Einspruch and G. Gildenblat, eds., VLSI Electronics, vol. 18, Academic Press, New York, 1989.

N.D. Arora, MOSFET Models for VLSI Circuit Simulation-Theory and Practice, Computational Microelectronics Series, S. Selberherr, ed., Springer-Verlag, New York, 1993.

H.C. de Graaff and F.M. Klaassen, Compact Transistor Modeling for Circuit Design, Springer-Verlag, New York, 1990.

Page 18: CMOS – Transistors and Inverters

8/12/03Transistor Review

18Parasitic Capacitances Influencing CMOS Inverter Pair

VDD

VinVout

Cw

VDD

Vout2

M4

M1

M2

M3

Cg4

Cg3

Cgd12

C db2

Cdb1

Page 19: CMOS – Transistors and Inverters

8/12/03Transistor Review

19Miller CapacitancesVDD

VinVout

Cw

VDD

Vout2

M4

M1

M2

M3

Cg4

Cg3

Cgd12

C db2

Cdb1

Cgd1

Vin

Vout

M1

VV

2Cgd1Vin

Vout

M1V

V

Can replace gate-drain capacitances (Miller caps) with equivalent at output wrt ground because of ∆V change at each capacitance terminal.

ndnoxnnGDOngd WxCWCC 221 ==pdpoxppGDOpgd WxCWCC 222 ==

CGDO is the overlap capacitance per unit width, xd is the extension of the drain implantation under the gate oxide.

Page 20: CMOS – Transistors and Inverters

8/12/03Transistor Review

20Fan-out Gate Capacitances

VDD

VinVout

Cw

VDD

Vout2

M4

M1

M2

M3

Cg4

Cg3

Cgd12

C db2

Cdb1

)2()2(

)()(43

pppoxpnnnoxn

ppoxppGDOppGSOpnnoxnnGDOnnGSOnggoutfan

LxWCLxWC

LWCWCWCLWCWCWCCCC

+++=

+++++=+=−

Each gate capacitance is made of the oxide capacitance along the channel plus the overlap capacitance between gate oxide and source, plus the overlap capacitance between the drain and gate oxide.

Page 21: CMOS – Transistors and Inverters

8/12/03Transistor Review

21Wiring Capacitance

VDD

VinVout

Cw

VDD

Vout2

M4

M1

M2

M3

Cg4

Cg3

Cgd12

C db2

Cdb1

The wiring capacitance, Cw, depends upon the length and width of the connecting traces and is a function of the distance between load gates and driving gates, as

well as the number of load gates.

Page 22: CMOS – Transistors and Inverters

8/12/03Transistor Review

22Diffusion Capacitances between Drain and Body

VDD

VinVout

Cw

VDD

Vout2

M4

M1

M2

M3

Cg4

Cg3

Cgd12

C db2

Cdb1

Cdb is due to the reverse biased pn-junction between the drain and body AND is the capacitance that is non-linear and voltage dependent.

m

bi

D

jjdb

VV

CCC

==

1

0

+

=DA

DA

bi

sij NN

NNV

qC20ε

Cj0 is the zero-biased junction capacitance per unit area.VD is the applied body voltage with respect to the drain.Vbi is the built-in potential of the junction (typically about 0.64 V).m is the grading factor (1/2 for abrupt junctions and 1/3 for linear junctions).NA and ND are the acceptor and donor impurity concentrations, respectively.

Page 23: CMOS – Transistors and Inverters

8/12/03Transistor Review

23Approximate Diffusion Capacitance between Drain and Body

+

=DA

DA

bi

sij NN

NNV

qC20ε

Using an approximation for the large-signal swing in capacitance and in terms of the grading factor gives:

0

)()(jeq

lowhigh

lowjhighj

D

jeq CK

VVVQVQ

VQ

C =−−

=∆∆

=

])()[()1)((

11 mlowbi

mhighbi

lowhigh

mbi

eq VVVVmVV

VK −− −−−−−

−=

Page 24: CMOS – Transistors and Inverters

8/12/03Transistor Review

24

ExampleVDD

VinVout

Cw

VDD

Vout2

M4

M1

M2

M3

Cg4

Cg3

Cgd12

C db2

Cdb1

The propagation delay is defined by the time between the 50% transitions of the input and output. For a CMOS inverter this is the time instance where Vout reaches 1.25 V as the output voltage swing from rail-to-rail is 2.5 V (VDD = 2.5 V). The drain-body capacitance is linearized over the voltage intervals of 2.5 V to 1.25 V for high-to-low and 0 V to 1.25 V for low-to-high transitions of the NMOS (M1). A similar computation is performed for the PMOS.

Page 25: CMOS – Transistors and Inverters

8/12/03Transistor Review

25

Example (page 2)VDD

VinVout

Cw

VDD

Vout2

M4

M1

M2

M3

Cg4

Cg3

Cgd12

C db2

Cdb1

For the NMOS:Vhigh = -2.5 VVlow = -1.25 V

During the high-to-low transition of the output:

For the PMOS:Vhigh = -2.5 VVlow = -1.25 V

During the low-to-high transition of the output:

For the NMOS:Vhigh = -1.25 VVlow = 0 V

For the PMOS:Vhigh = -1.25 VVlow = 0 V

Page 26: CMOS – Transistors and Inverters

8/12/03Transistor Review

26

Example (page 3)VDD

VinVout

Cw

VDD

Vout2

M4

M1

M2

M3

Cg4

Cg3

Cgd12

C db2

Cdb1

For the NMOS:Bottom plate: m=0.5, Vbi=0.9 VSide Wall: m=0.44, Vbi=0.9 V

During both transitions of the output:

For the PMOS:Bottom plate: m=0.48, Vbi=0.9 VSide Wall: m=0.32, Vbi=0.9 V

Page 27: CMOS – Transistors and Inverters

8/12/03Transistor Review

27

Example (page 4)

0.86PMOSSidewall(H-L)

0.79PMOSBottom Plate(H-L)

0.61NMOSSidewall(H-L)

0.57NMOSBottom Plate (H-L)

0.7PMOSSidewall(L-H)

0.59PMOSBottom Plate(L-H)

0.81NMOSSidewall(L-H)

0.79NMOSBottom Plate (L-H)

Keq

2.3750.72.3750.71.125/0.25PMOS

1.8750.31.8750.30.375/0.25NMOS

Ps (µm)As (µm2)PD (µm)

AD (µm2)W/L

6.056.16CL (total)

0.120.12*Cw

2.282.28Cg4

0.760.76Cg3

1.151.5Cdb2

0.900.66Cdb1

0.610.61Cgd2

0.230.23Cgd1

Value (fF)Low to High

Value (fF)High to Low

Capacitor

Page 28: CMOS – Transistors and Inverters

8/12/03Transistor Review

28

Propagation DelayDuring the high-to-low transition, the PMOS is turning off and the NMOS is on. Represent the NMOS by its average equivalent resistance during the load capacitance discharge. Use similar expressions for the low-to-high transition.

−≈

+=

DD

DD

V

V

DD

Dsat

DD

DsatDDeq

VIVdV

VIV

VR

2/ 971

43

)1(2/1 λ

λ

−−=

2)(

2' DSsat

DSsattDDDsatVVVV

LWkIHLLeqnpHL CRt −= 69.0

LHLeqppLH CRt −= 69.0

Propagation Delay of Inverter is average of the two values:

)(345.0)(345.02 eqneqpLavgHLLeqnLHLeqp

pLHpHLp RRCCRCR

ttt +≈+=

+= −−

Page 29: CMOS – Transistors and Inverters

8/12/03Transistor Review

29

Metastability

Two inverters cascaded, with a gain in the transition region >1, has two stable operating points, A and B, and one metastable operating point, C.

NOTE: Gain near A and B is << 1.

Page 30: CMOS – Transistors and Inverters

8/12/03Transistor Review

30

Metastability

In figure (a) if initial operating point is C, any noise will cause transition to a stable operating point such as A.

In figure (b) if initial operating point is away from C, any noise will cause transition back to a stable operating point such as A.

Page 31: CMOS – Transistors and Inverters

8/12/03Transistor Review

31

SPICE ModelsLevel 1:

Shichman-Hodges model based on square-law, long-channel expressions between current and voltage. DOES NOT HANDLE SHORT CHANNEL EFFECTS!

Level 2Geometry based model that incorporates velocity saturation, mobility dependencies, and drain-induced barrier lowering.

Page 32: CMOS – Transistors and Inverters

8/12/03Transistor Review

32

SPICE Models (cont.)Level 3:

Semiempirical model combining analytical and empirical expressions. Uses measured data for model parameters. Works well for channel lengths down to about 1 µm.

Berkeley Short-channel IGFET Model (BSIM)Analytically simple with a ‘small’ number of parameters derived from empirical data.BSIM3v3 model (Level 49) has over 200 parameters, most related to modeling 2nd order effects.Manufacturer provides a set of models valid over a limited parameter space of L and W (delineated by LMIN, LMAX, WMIN, and WMAX, called a bin).

http://bwrc.eecs.berkeley.edu/IcBook/for BSIM and Matlab models

Page 33: CMOS – Transistors and Inverters

8/12/03Transistor Review

33

SPICE Models-Example FileA CMOS Inverter using Level 3 Model for 0.8 um Process*.MODEL nch NMOS+ LEVEL=3 PHI=0.70 TOX=1.0E-08 XJ=0.20U TPG=1+ VTO=0.8 DELTA=2.5E-01 LD=4.0E-08 KP=1.88E-04+ UO=545 THETA=2.5E-01 RSH=2.1E+01 GAMMA=0.62+ NSUB=1.4E+17 NFS=7.1E+11 VMAX=1.9E+05 ETA=2.2E-02+ KAPPA=9.7E-02 CGDO=3.7E-10 CGSO=3.7E-10 CGBO=4.0E-10+ CJ=5.4E-04 MJ=0.6 CJSW=1.5E-10 MJSW=0.3 PB=0.99*.MODEL pch PMOS+ LEVEL=3 PHI=0.70 TOX=1.0E-08 XJ=0.20U TPG=-1+ VTO=-0.9 DELTA=2.5E-01 LD=6.7E-08 KP=4.45E-05+ UO=130 THETA=1.8E-01 RSH=3.4E+00 GAMMA=0.52+ NSUB=9.8E+16 NFS=6.5E+11 VMAX=3.1E+05 ETA=1.8E-02+ KAPPA=6.3E+00 CGDO=3.7E-10 CGSO=3.7E-10 CGBO=4.3E-10+ CJ=9.3E-04 MJ=0.5 CJSW=1.5E-10 MJSW=0.3 PB=0.95*M1 3 2 0 0 nch W=5u L=0.8u AS=7.2p PS=7.6u AD=7.2p PD=7.6uM2 3 2 1 1 pch W=5u L=0.8u AS=9.9p PS=9.1u AD=9.9p PD=9.1uCL 3 0 0.05pF*VDD 1 0 3.3VVIN 2 0 PULSE(0 3.3 0 100p 100p 5n 10n)*.TRAN 0.05n 10n*.DC VIN 0V 3.3V 0.01V*.PROBE*.END

Page 34: CMOS – Transistors and Inverters

8/12/03Transistor Review

34

References for CMOS Transistors Operation and Modeling of the MOS Transistor, 2nd ed., Y. Tsividis, McGraw-Hill, Boston, 1999. ISBN 0-07-065523-5Digital Integrated Circuits – A Design Perspective, 2nd ed., J.M. Rabaey, A. Chandrakasan, and B. Nikolic’, Prentice Hall Electronics and VLSI Series, C.G. Sodini, ed., Upper Saddle, NJ, 2003.ISBN 0-13-597444-5