Analog Circuits Autumn2013

84
Analog circuits Joycee Mekie Autumn 2013

Transcript of Analog Circuits Autumn2013

Page 1: Analog Circuits Autumn2013

Analog circuits

Joycee Mekie

Autumn 2013

Page 2: Analog Circuits Autumn2013

Course outline

• Structure L-T-P-C: 3-1-3-5• Contents: Review of basic concepts of

semiconductor devices, Physics of MOS devices, CMOS amplifiers, Cascodes and current mirrors, Differential amplifiers, Analog filters, Frequency response, Feedback and stability, Analog to digital converter, Digital to analog converter

Page 3: Analog Circuits Autumn2013

Textbooks and References

• Behzad Razavi, “Fundamentals of Microelectronics,” Wiley, 2008

• Sedra and Smith, “Microelectronic circuits,” Oxford university press, 2010

• Allen P. and Holberg D., “CMOS Analog circuit design,” Oxford university press, 3rd Ed.

• Carusone T., Johns D. and Martin K., “Analog integrated circuit design,” 2nd Ed., Wiley

Page 4: Analog Circuits Autumn2013

Course plan

• Theory (70%)– Quiz-1 - 10%– Mid-semester exams – 20%– Quiz-2 - 10%– End-semester exams – 25%– Assignments – 5%

• Laboratory (30%)– Continuous evaluation (Quizzes, viva-voce, etc.)– attendance, lab-reports, exams– Project work

Page 5: Analog Circuits Autumn2013

Why Analog circuits?

• The world around us is “Analog”– audio, video, sensor information, etc.

• Noise removal (at analog stage or digital stage)• Amplify the signals (to be sampled as proper

‘1’ and ‘0’)• Converting back the signals to Analog domain

Page 6: Analog Circuits Autumn2013

Example: Cellular technology

• Microelectronics exist in black boxes that process received and transmitted voice signals

Page 7: Analog Circuits Autumn2013

Frequency Up-conversion

• Voice is “up-converted” by multiplying two sinusoids.• When multiplying two sinusoids in time domain, their spectra are

convolved in frequency domain.

Page 8: Analog Circuits Autumn2013

Transmitter

• Two frequencies are multiplied and radiated by an antenna in (a).• A power amplifier is added in (b) to boost the signal.

Page 9: Analog Circuits Autumn2013

Receiver

• High frequency is translated to DC by multiplying by fC.• A low-noise amplifier is needed for signal boosting without excessive

noise.

Page 10: Analog Circuits Autumn2013

Digital camera

Page 11: Analog Circuits Autumn2013

Pixel array

Page 12: Analog Circuits Autumn2013

Signal processing in a typical system

Analog processing

Analog-to-Digital conversion

Digital processing and storage

Analog signal

Gain,Power,Speed,….

Noise distortion

Page 13: Analog Circuits Autumn2013

Digital or Analog

• Finite rise and fall times of the signal x2(t) raises several issues. Can such a signal be fed directly to the flip-flops, latches?

Page 14: Analog Circuits Autumn2013

Semiconductors

Charge carriers in semiconductors

Page 15: Analog Circuits Autumn2013

Periodic table

• This abridged table contains elements with three to five valence electrons, with Si being the most important.

Page 16: Analog Circuits Autumn2013

Silicon

• Si has four valence electrons. Therefore, it can form covalent bonds with four of its neighbors.

• When temperature goes up, electrons in the covalent bond can become free.

Page 17: Analog Circuits Autumn2013

Electron-hole Pair interaction

With free electrons breaking off covalent bonds, holes are generated.

Holes can be filled by absorbing other free electrons, so effectively there is a flow of charge carriers.

Page 18: Analog Circuits Autumn2013

Free electron density at Given Temperature

• Eg, or bandgap energy determines how much effort is needed to break off an electron from its covalent bond.

• There exists an exponential relationship between the free-electron density and bandgap energy

• For Silicon, Eg = 1.12 eV

3150

3100

32/315

/1054.1)600(

/1008.1)300(

/2

exp102.5

cmelectronsKTn

cmelectronsKTn

cmelectronskTE

Tn

i

i

gi

Page 19: Analog Circuits Autumn2013

Free electron density at Given Temperature

3150

3100

32/315

/1054.1)600(

/1008.1)300(

/2

exp102.5

cmelectronsKTn

cmelectronsKTn

cmelectronskTE

Tn

i

i

gi

• Silicon has 5x1022 atoms/cm3

• np = ni2

Page 20: Analog Circuits Autumn2013

Doping (N-type)

• Pure Si can be doped with other elements to change its electrical properties.

• For example, if Si is doped with P (phosphorous), then it has more electrons, or becomes type N (electron).

• np = ni2

Page 21: Analog Circuits Autumn2013

Problem

• A piece of crystalline silicon is doped uniformly with phosphorous atoms. The doping density is 1016 atoms/cm3. Determine the electron and hole densities in this material at the room temperature.

Page 22: Analog Circuits Autumn2013

Doping (P-type)

• If Si is doped with B (boron), then it has more holes, or becomes type P.

Page 23: Analog Circuits Autumn2013

Summary of charge carriers

Page 24: Analog Circuits Autumn2013

Electron and Hole densities

• The product of electron and hole densities is ALWAYS equal to the square of intrinsic electron density regardless of doping levels.

2innp

Majority Carriers :

Minority Carriers :

Majority Carriers :

Minority Carriers :D

i

D

A

i

A

Nnp

NnNnn

Np

2

2

Page 25: Analog Circuits Autumn2013

Charge transport mechanism: Drift

• The process in which charge particles move because of an electric field is called drift.

• Charge particles will move at a velocity that is proportional to the electric field.

Ev

Ev

ne

ph

Page 26: Analog Circuits Autumn2013

Problem

• A uniform piece of n-type of Silicon that is 1 μm long senses a voltage of 1V. How much time does it take to cross the 1-μm length?

Page 27: Analog Circuits Autumn2013

Current flow

• Electric current is calculated as the amount of charge in v meters that passes thru a cross-section if the charge travel with a velocity of v m/s.

qnhWvI

Page 28: Analog Circuits Autumn2013

Current flow: Drift

• Since velocity is equal to E, drift characteristic is obtained by substituting V with E in the general current equation.

• The total current density consists of both electrons and holes.

Epnq

qpEqnEJqnEJ

pn

pntot

nn

)(

Page 29: Analog Circuits Autumn2013

Problem

• How should we select the carrier densities so that we get equal electron and hole drift currents?

Page 30: Analog Circuits Autumn2013

Velocity saturation

• In reality, velocity does not increase linearly with electric field. It will eventually saturate to a critical value.

E

vEv

bv

bE

sat

sat

0

0

0

0

1

1

Page 31: Analog Circuits Autumn2013

Second charge transport mechanism: Diffusion

• Charge particles move from a region of high concentration to a region of low concentration. It is analogous to an every day example of an ink droplet in water.

Page 32: Analog Circuits Autumn2013

Example of diffusion

Page 33: Analog Circuits Autumn2013

Current flow: Diffusion

• Diffusion current is proportional to the gradient of charge (dn/dx) along the direction of current flow.

• Its total current density consists of both electrons and holes.

dxdnqDJ

dxdnAqDI

nn

n

)(dxdpD

dxdnDqJ

dxdpqDJ

pntot

pp

Page 34: Analog Circuits Autumn2013

Example: Linear vs non-linear charge density profile

• Linear charge density profile means constant diffusion current, whereas nonlinear charge density profile means varying diffusion current

LNqD

dxdnqDJ nnn

dd

nn L

xLNqD

dxdnqDJ exp

Page 35: Analog Circuits Autumn2013

Example: Linear vs non-linear charge density profile

• Linear charge density profile means constant diffusion current, whereas nonlinear charge density profile means varying diffusion current

LNqD

dxdnqDJ nnn

dd

nn L

xLNqD

dxdnqDJ exp

Page 36: Analog Circuits Autumn2013

Operation of MOS Transistors

• Operation in Triode region• Operation in Saturation region• I/V characteristics

Page 37: Analog Circuits Autumn2013

Metal-Oxide-Semiconductor (MOS) Capacitor

The MOS structure can be thought of as a parallel-plate capacitor, with the top plate being the positive plate, oxide being the dielectric, and Si substrate being the negative plate. (We are assuming P-substrate.)

Page 38: Analog Circuits Autumn2013

Structure and Symbol of MOSFET

• This device is symmetric, so either of the n+ regions can be source or drain.

Page 39: Analog Circuits Autumn2013

MOS Structure

• The gate is formed by polysilicon, and the insulator by Silicon dioxide.

Page 40: Analog Circuits Autumn2013

Formation of channel

Page 41: Analog Circuits Autumn2013

Formation of channel

• First, the holes are repelled by the positive gate voltage, leaving behind negative ions and forming a depletion region.

Page 42: Analog Circuits Autumn2013

Formation of channel

• Next, electrons are attracted to the interface, creating a channel (“inversion layer”).

Page 43: Analog Circuits Autumn2013

MOSFET Characteristics

Page 44: Analog Circuits Autumn2013

MOSFET Characteristics

Page 45: Analog Circuits Autumn2013

MOSFET Characteristics

Page 46: Analog Circuits Autumn2013

Problem

• Sketch the ID – VG and ID – VD characteristics for (a) different channel lengths, and (b) different oxide thickness.

Page 47: Analog Circuits Autumn2013

L and tox Dependence

• As length increases, on-resistance increases

Page 48: Analog Circuits Autumn2013

L and tox Dependence

• As tox increases, C decreases, Q decreases (higher on-resistance)

Page 49: Analog Circuits Autumn2013

Voltage-Dependent resistor

• The inversion channel of a MOSFET can be seen as a resistor. • Since the charge density inside the channel depends on the

gate voltage, this resistance is also voltage-dependent.

Page 50: Analog Circuits Autumn2013

Effect of W

• As the gate width increases, the current increases due to a decrease in resistance. However, gate capacitance also increases thus, limiting the speed of the circuit.

Page 51: Analog Circuits Autumn2013

Effect of W

• An increase in W can be seen as two devices in parallel.

Page 52: Analog Circuits Autumn2013

MOSFET structure

Page 53: Analog Circuits Autumn2013

Channel Potential Variation

• Since there’s a channel resistance between drain and source, and if drain is biased higher than the source, channel potential increases from source to drain, and the potential between gate and channel will decrease from source to drain.

Page 54: Analog Circuits Autumn2013

Channel Pinch-Off

• As the potential difference between drain and gate becomes more positive, the inversion layer beneath the interface starts to pinch off around drain.

Page 55: Analog Circuits Autumn2013

Channel Pinch-Off

• When VD – VG = Vth, the channel at drain totally pinches off

Page 56: Analog Circuits Autumn2013

Channel Pinch-Off

• When VD – VG > Vth, the channel length starts to decrease.

Page 57: Analog Circuits Autumn2013

Channel Pinch-Off

• Once the electrons reach end of channel, they experience high electric field in the dep. Region surrounding the drain region, and are swept into the drain terminal.

Page 58: Analog Circuits Autumn2013

Charge density at a point

Let x be a point along the channel from source to drain, and V(x) its potential; the expression above gives the charge density (per unit length).

THGSox VxVVWCxQ )()(

Page 59: Analog Circuits Autumn2013

Charge density and current

• The current that flows from source to drain (electrons) is related to the charge density in the channel by the charge velocity.

Page 60: Analog Circuits Autumn2013

Charge density and current

• The current that flows from source to drain (electrons) is related to the charge density in the channel by the charge velocity.

vQI

Page 61: Analog Circuits Autumn2013

Drain current

2)(221

)()(

DSDSTHGSoxnD

nTHGSoxD

n

VVVVLWCI

dxxdVVxVVWCI

dxdVv

Page 62: Analog Circuits Autumn2013

Parabolic ID-VDS Relationship

• By keeping VG constant and varying VDS, we obtain a parabolic relationship.

• The maximum current occurs when VDS equals to VGS- VTH.

Page 63: Analog Circuits Autumn2013

ID-VDS for Different Values of VGS

2max, THGSD VVI

Page 64: Analog Circuits Autumn2013

Linear Resistance

• At small VDS, the transistor can be viewed as a resistor, with the resistance depending on the gate voltage.

• It finds application as an electronic switch.

THGSoxn

on

VVLWC

R

1

Page 65: Analog Circuits Autumn2013

Different Regions of Operation

Page 66: Analog Circuits Autumn2013

Triode or saturation?

• When the potential difference between gate and drain is greater than VTH, the MOSFET is in triode region.

• When the potential difference between gate and drain becomes equal to or less than VTH, the MOSFET enters saturation region.

Page 67: Analog Circuits Autumn2013

Triode or Saturation?

• When the region of operation is not known, a region is assumed (with an intelligent guess). Then, the final answer is checked against the assumption.

Page 68: Analog Circuits Autumn2013

Problem

• Calculate the drain current of M1. Assume μCox = 100 μA/V2 and VTH = 0.4 V. If the gate voltage increases by 10 mV, what is the change in the drain voltage?

Page 69: Analog Circuits Autumn2013

Problem

• Determine the value of W/L that places M1 at the edge of saturation.

Page 70: Analog Circuits Autumn2013

Problem

• Calculate the maximum allowable gate voltage if M1 must remain saturated?

Page 71: Analog Circuits Autumn2013

Channel length modulation

• The original observation that the current is constant in the saturation region is not quite correct. The end point of the channel actually moves toward the source as VD increases, increasing ID. Therefore, the current in the saturation region is a weak function of the drain voltage.

DSTHGSoxnD VVVLWCI 1

21 2

Page 72: Analog Circuits Autumn2013

and L

• For long L, the channel-length modulation effect is less than that of short L.

Page 73: Analog Circuits Autumn2013

Problem

• A MOSFET carries a drain current of 1 mA with VDS = 0.5V in saturation. Determine the change in ID if VDS rises by 1V and λ = 0.1V-1. What is the device output impedance?

Page 74: Analog Circuits Autumn2013

Doubling of gm Due to Doubling W/L

• If W/L is doubled, effectively two equivalent transistors are added in parallel, thus doubling the current (if VGS-VTH is constant) and hence gm.

Page 75: Analog Circuits Autumn2013

Body Effect

• As the source potential departs from the bulk potential, the threshold voltage changes.

FSBFTHTH VVV 220

Page 76: Analog Circuits Autumn2013
Page 77: Analog Circuits Autumn2013

Large-signal models

Page 78: Analog Circuits Autumn2013

Small-signal model

• When the bias point is not perturbed significantly, small-signal model can be used to facilitate calculations.

• To represent channel-length modulation, an output resistance is inserted into the model.

Do Ir

1

Page 79: Analog Circuits Autumn2013

PMOS Transistor

• It behaves like an NMOS device with all the polarities reversed.

Page 80: Analog Circuits Autumn2013

Operation of PMOSTo create an inversion layer in the n-type substrate, we must attract holes to the gate electrode. A p-type channel will be induced, connecting the p+ wells at the drain and the source.

However, to attract holes toward the gate, the voltage VGS must be sufficiently negative! The threshold voltage Vt is thus a negative value, so that a channel is induced only if VGS <Vt (i.e., VGS is more negative than Vt ).

Likewise, we find that we typically get current to flow through this channel by making the voltage VDS negative. If we make the voltage VDS sufficiently negative, the p-type induced channel will pinch off.

Note that when VDS is negative, the drain current will flow from the PMOS source, to the PMOS drain (i.e., exactly opposite that of the NMOS device with a positive VDS).

Page 81: Analog Circuits Autumn2013

ID-VDS curve for PMOS

Current ID flows from source to drain (exactly opposite to that of NMOS)

Page 82: Analog Circuits Autumn2013

Extra slides

Page 83: Analog Circuits Autumn2013

Einstein’s Relation

• While the underlying physics behind drift and diffusion currents are totally different, Einstein’s relation provides a mysterious link between the two.

qkTD

Page 84: Analog Circuits Autumn2013

Extra slides: Convolution