PN junctions and diodes • NMOS and PMOS transistors

70
CMOS Devices PN junctions and diodes NMOS and PMOS transistors • Resistors • Capacitors • Inductors Bipolar transistors

Transcript of PN junctions and diodes • NMOS and PMOS transistors

Page 1: PN junctions and diodes • NMOS and PMOS transistors

CMOS Devices • PN junctions and diodes • NMOS and PMOS transistors • Resistors • Capacitors • Inductors • Bipolar transistors

Page 2: PN junctions and diodes • NMOS and PMOS transistors

PN Junctions • Diffusion causes depletion region • D.R. is insulator and establishes barrier • This leads to 1-directional current flow • Forms junction capacitor

– Capacitance highly voltage dependent – Can be nuisance or benefits

Page 3: PN junctions and diodes • NMOS and PMOS transistors

PN Junctions

Page 4: PN junctions and diodes • NMOS and PMOS transistors

pn junction 1. Doped atoms near the metallurgical junction lose

their free carriers by diffusion. 2. As these fixed atoms lose their free carriers, they

build up an electric field, which opposes the diffusion mechanism.

3. Equilibrium conditions are reached when:

Current due to diffusion = Current due to electric field

Page 5: PN junctions and diodes • NMOS and PMOS transistors

PN Junctions

Initial impurity concentration

Page 6: PN junctions and diodes • NMOS and PMOS transistors

PN Junctions

nsi

Dp

si

A xqNxqNεε

=

{2

2 psi

A xqNε

} 2

2 nsi

D xqNε

Page 7: PN junctions and diodes • NMOS and PMOS transistors

PN Junctions )1(

2)(

2

222

D

A

si

pAnDpA

siDo N

NxqNxNxNqv +=+=−

εεφ

1/2

0

1/2

0

2 ( )( ) 1

2 ( )( )

/ /

si D An

D A Dd

si D Dp

A A D

n p A D

v NxqN N N

xNv Nx

qN N N

x x N N

ε φ

ε φ

−= + ∝

−= − +

=

Depletion region widths:

Built-in potential: 2 2ln( ) ln( )A D A Do t

i i

N N N NkT Vq n n

ϕ = =

Page 8: PN junctions and diodes • NMOS and PMOS transistors

Example • NA=10^15 atoms/cm^3, ND=10^16, vD=-10 • Ni=2.25*10^20 • Phi_o=26ln(10^15*10^16/2.25/10^20)=638

mV • xp= - 3.5 µm • xn= 0.35 µm • Max field = q*NA*xp/ε = -5.4*10^4 V/cm

Note the large magnitude of the field

Page 9: PN junctions and diodes • NMOS and PMOS transistors

Excercise • Suppose that vD = 0, ψo = 0.637V and ND =

1017 atoms/cm3. • If NA = 1015 atoms/cm3 p-side depletion width = ?? n-side depletion width = ?? • If NA = 1019 atoms/cm3: p-side depletion width = ?? n-side depletion width = ??

Page 10: PN junctions and diodes • NMOS and PMOS transistors

PN Junctions The depletion charge

The junction capacitance

1/21/2

02 ( )si A D

j A p D n DA D

qN NQ AqN x AqN x A vN Nε φ

= = = − +

1/20

1/20

0

2 1( ) (1 )

j jsi A Dj

mDD A D D

dQ CqN NC A vdv N N vε

φφ

= = = + − −

Page 11: PN junctions and diodes • NMOS and PMOS transistors

•Can be used as voltage controlled capacitor

•Here m = 1/2 for the step change in impurity concentration.

•For gradual concentration change, m = 1/3.

Page 12: PN junctions and diodes • NMOS and PMOS transistors

Impurity concentration profile for diffused pn junction

( ){ }2

//( ) 1 1 pD t x Lv Vin

D

np x e eN

−= + −

Page 13: PN junctions and diodes • NMOS and PMOS transistors

Current density at boundary due to wholes:

Total:

Diode current:

{ }2

/(0) 1D tp i v Vp

D p

qD nJ e

N L= −

0

( )( ) np p

x

dp xJ x qDdx =

= −

{ }/2(0) (0) (0) 1D tp v Vnp n i

D p A n

D DJ J J qn eN L N L

= + = + −

{ } { }/ /2(0) 1 1D t D tp v V v VnD i S

D p A n

D Di AJ qn A e I eN L N L

= = + − = −

Page 14: PN junctions and diodes • NMOS and PMOS transistors

{ }/ 1D tv VD Si I e= −

Page 15: PN junctions and diodes • NMOS and PMOS transistors

Reverse-Biased PN Junctions

Page 16: PN junctions and diodes • NMOS and PMOS transistors

Breakdown Voltage Our book shows that

Page 17: PN junctions and diodes • NMOS and PMOS transistors

Metal-Semiconductor Junctions • Ohmic Junctions:

– A pn junction formed by a highly doped semiconductor and metal

– Behaves like resistor • Schottky Junctions:

– A pn junction formed by a lightly doped semiconductor and metal

– Behaves like a diode

Page 18: PN junctions and diodes • NMOS and PMOS transistors

The MOS Transistors

Page 19: PN junctions and diodes • NMOS and PMOS transistors

Capacitors

• Two conductor plates separated by an insulator form a capacitor

• Intentional capacitors vs parasitic capacitors

• Linear vs nonlinear capacitors

Linear capacitors:

Page 20: PN junctions and diodes • NMOS and PMOS transistors

Capacitor specifications 1. Dissipation (quality factor) of a capacitor 2. Parasitic capacitors to ground from each node of the

capacitor. 3. The density of the capacitor in Farads/area. 4. The absolute and relative accuracies of the capacitor. 5. The Cmax/Cmin ratio which is the largest value of

capacitance to the smallest when the capacitor is used as a variable capacitor (varactor).

6. The variation of a variable capacitance with the control voltage (is it linear).

7. Linearity, q = Cv.

Page 21: PN junctions and diodes • NMOS and PMOS transistors

PMOS on Substrate Gate Capacitors

High density, good matching, but nonlinear

Page 22: PN junctions and diodes • NMOS and PMOS transistors

NMOS in p-well Gate Capacitor • Gate as one terminal of the capacitor • Some combination of the source, drain,

and bulk as the other terminal

Page 23: PN junctions and diodes • NMOS and PMOS transistors

Gate Capacitor vsVGS with D=S=B

Page 24: PN junctions and diodes • NMOS and PMOS transistors

3-seg Approximation

Page 25: PN junctions and diodes • NMOS and PMOS transistors

Gate Capacitor in Inversion Mode

Page 26: PN junctions and diodes • NMOS and PMOS transistors

Inversion Mode NMOS Capacitor

E. Pedersen, “RF CMOS Varactors for 2GHz Applications,” Analog Integrated Circuits and Signal Processing, vol. 26, pp. 27-36, Jan. 2001.

Page 27: PN junctions and diodes • NMOS and PMOS transistors

Accumulation NMOS Gate Cap in n-well

Page 28: PN junctions and diodes • NMOS and PMOS transistors

Accumulation Mode NMOS Gate Cap

E. Pedersen, “RF CMOS Varactors for 2GHz Applications,” Analog Integrated Circuits and Signal Processing, vol. 26, pp. 27-36, Jan. 2001.

Page 29: PN junctions and diodes • NMOS and PMOS transistors

PN Junction Capacitors in a Well

Page 30: PN junctions and diodes • NMOS and PMOS transistors

PN-Junction Capacitors

E. Pedersen, “RF CMOS Varactors for 2GHz Applications,” Analog Integrated Circuits and Signal Processing, vol. 26, pp. 27-36, Jan. 2001.

Page 31: PN junctions and diodes • NMOS and PMOS transistors

High density, good matching, good linearity, but require two-poly processes

Poly-poly cap on FOX

Page 32: PN junctions and diodes • NMOS and PMOS transistors

Poly-poly cap on STI • Very linear • Small bottom plate parasitics

Page 33: PN junctions and diodes • NMOS and PMOS transistors

Metal-insulator-metal cap

Page 34: PN junctions and diodes • NMOS and PMOS transistors

Fringe Capacitors

Page 35: PN junctions and diodes • NMOS and PMOS transistors

R. Aparicio and A. Hajimiri, “Capacity Limits and Matching Properties of Integrated Capacitors,” IEEE J. of Solid-State Circuits, vol. 37, no. 3, March 2002, pp. 384-393.

Page 36: PN junctions and diodes • NMOS and PMOS transistors
Page 37: PN junctions and diodes • NMOS and PMOS transistors

Comparison

Page 38: PN junctions and diodes • NMOS and PMOS transistors

Non-ideal Behavior • Dielectric gradients • Edge effects • Process biases • Parasitics • Voltage dependence • Temperature dependence

Page 39: PN junctions and diodes • NMOS and PMOS transistors

Parasitic Capacitors

Page 40: PN junctions and diodes • NMOS and PMOS transistors
Page 41: PN junctions and diodes • NMOS and PMOS transistors

Proper layout of capacitors

For achieving CA = 2CB, which one is better?

Page 42: PN junctions and diodes • NMOS and PMOS transistors

Various Capacitor Errors

Page 43: PN junctions and diodes • NMOS and PMOS transistors
Page 44: PN junctions and diodes • NMOS and PMOS transistors

Temperature and Voltage Dependence • MOSFET Gate Capacitors:

– Absolute accuracy ≈ ±10% – Relative accuracy ≈ ±0.2% – Temperature coefficient ≈ +25 ppm/C° – Voltage coefficient ≈ -50ppm/V

• Polysilicon-Oxide-Polysilicon Capacitors: – Absolute accuracy ≈ ±10% – Relative accuracy ≈ ±0.2% – Temperature coefficient ≈ +25 ppm/C° – Voltage coefficient ≈ -20ppm/V

• Metal-Dielectric-Metal Capacitors: – Absolute accuracy ≈ ±10% – Relative accuracy ≈ ±0.6% – Temperature coefficient ≈ +40 ppm/C° – Voltage coefficient ≈ -20ppm/V, 5ppm/V2

• Accuracies depend upon the size of the capacitors.

Page 45: PN junctions and diodes • NMOS and PMOS transistors

Improving Cap Matching • Divide each cap into even # of unit caps • Each unit cap is square, has identical

construction, has identical vicinity, has identical routing

• The unit caps for matching critical caps are laid out with inter-digitation, common centroid, or other advanced techniques.

• Same comments apply to resistors and transistors

Page 46: PN junctions and diodes • NMOS and PMOS transistors

Resistors in CMOS • Diffusion resistor • polysilicon resistor • well resistor • metal layer resistor • contact resistor

Page 47: PN junctions and diodes • NMOS and PMOS transistors

Resistor specs

Page 48: PN junctions and diodes • NMOS and PMOS transistors

Diffusion resistor in n-well

Page 49: PN junctions and diodes • NMOS and PMOS transistors

Source/Drain Resistor

Page 50: PN junctions and diodes • NMOS and PMOS transistors

Polysilicon resistor on FOX

Page 51: PN junctions and diodes • NMOS and PMOS transistors

Polysilicon Resistor

Page 52: PN junctions and diodes • NMOS and PMOS transistors

n-well resistor on p-substrate

Page 53: PN junctions and diodes • NMOS and PMOS transistors

N-well Resistor

Page 54: PN junctions and diodes • NMOS and PMOS transistors

Metal Resistor

Page 55: PN junctions and diodes • NMOS and PMOS transistors

Thin Film Resistors

Page 56: PN junctions and diodes • NMOS and PMOS transistors

Thermoelectric (Seebeck) Effects • When two materials form a junction, a

voltage difference is generated, which depends on the temperature

• But a single junction voltage cannot be measured • It needs at least two junctions • The voltage difference is:

𝑽 = (𝑺𝑩−𝑺𝑨)𝑻𝟐 − (𝑺𝑩−𝑺𝑨)𝑻𝟏 = (𝑺𝑩−𝑺𝑨)(𝑻𝟐 − 𝑻𝟏)

Page 57: PN junctions and diodes • NMOS and PMOS transistors

Seebeck Coefficients • SA and SB are called Seebeck coefficients

of material A and material B • Roughly speaking S is inversely related to

the conductivity of the material • Metals have low S, semiconductors have

high S • High resistivity materials (with light doping)

pose serious thermoelectric problems

Page 58: PN junctions and diodes • NMOS and PMOS transistors

Moffat, R., “Notes on Using Thermocouples”, ElectronicsCooling, Vol. 3, No. 1, 1997

Page 59: PN junctions and diodes • NMOS and PMOS transistors

Resistor Layout

• But what about horizontal temperature gradient?

• Use “antiparallel” layout

Page 60: PN junctions and diodes • NMOS and PMOS transistors

X X

X X

X X

X X

X X X X X X

X X X X X X

X X X X

HW1: Prove that if following the arrow, all the metal to poly contacts have the same centroid as all the poly to metal contacts, then the thermo-electric effect due to linear thermo gradient is cancelled. HW2: Generalize HW1 to design a layout pattern so that thermo-electric effects due to both linear and nonlinear thermo gradients are cancelled.

Page 61: PN junctions and diodes • NMOS and PMOS transistors

Suggestions • Use larger area (increase both W and L) to

improve accuracy • Use metal to make “turns”, i.e., use

straight strips only • Use unit resistors • Use dummies • Use identical structures and vivinities • Interdigitate, common centroid, and other

techniques for good matching

Page 62: PN junctions and diodes • NMOS and PMOS transistors

Passive RC Performance

Page 63: PN junctions and diodes • NMOS and PMOS transistors

Parasitic Bipolar in CMOS

Vertical PNP

Horizontal NPN

Page 64: PN junctions and diodes • NMOS and PMOS transistors

Latch-up problem

Page 65: PN junctions and diodes • NMOS and PMOS transistors

Preventing Latch-up

Page 66: PN junctions and diodes • NMOS and PMOS transistors

Guard Rings • Collect carriers flowing in the silicon • Bypass unwanted currents to VDD or VSS • Isolate sensitive circuits from noise and/or

interferences

Page 67: PN junctions and diodes • NMOS and PMOS transistors

Butted Contacts and Guard Rings • To reduce sensitivity • To prevent latch up

Page 68: PN junctions and diodes • NMOS and PMOS transistors

Intentional Bipolar • It is desirable to have the

lateral collector current much larger than the vertical collector current.

• Lateral BJT generally has good matching.

• The lateral BJT can be used as a photodetector with reasonably good efficiency.

• Triple well technology allows the current of the vertical collector to avoid the substrate.

Page 69: PN junctions and diodes • NMOS and PMOS transistors

Donut PMOS as bipolar • A Field-Aided

Lateral BJT – Use minimum

channel length – enhance beta to

50 to 100

• Can be done in ON0.5 or TSMC0.18 – No STI

Page 70: PN junctions and diodes • NMOS and PMOS transistors

ESD protection • A very serious problem

• Not enough theoretical study

• Many trade secrets

• Learn from experienced designers