e4332: vlsi design laboratory - columbia university

31
E4332: VLSI Design Laboratory Nagendra Krishnapura Columbia University Spring 2005: Lectures [email protected] 1 Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005 

Upload: others

Post on 27-Apr-2022

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: E4332: VLSI Design Laboratory - Columbia University

E4332: VLSI Design Laboratory

Nagendra KrishnapuraColumbia University

Spring 2005: [email protected]

1Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

Page 2: E4332: VLSI Design Laboratory - Columbia University

AM radio receiver AM radio signals: Audio signals on a carrier Intercept the signal Amplify the signal Demodulate the signal-recover the audio Amplify the audio to drive a speaker

55Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

Page 3: E4332: VLSI Design Laboratory - Columbia University

AM signal basics: time domain

Envelope(peak) of the carrier is the message

56Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

Page 4: E4332: VLSI Design Laboratory - Columbia University

AM signal basics: frequency domain

Sidebands around the carrier

57Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

Page 5: E4332: VLSI Design Laboratory - Columbia University

AM signals

Sidebands around the carrier

58Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

Page 6: E4332: VLSI Design Laboratory - Columbia University

Broadcast AM signals

Broadcast AM channels 10kHz from each other

59Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

Page 7: E4332: VLSI Design Laboratory - Columbia University

Receiver bandwidth

Receiver bandwidth must be constant

60Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

Page 8: E4332: VLSI Design Laboratory - Columbia University

Receiver bandwidth

fc/f

bw=53 at the lowest end

fc/f

bw=53 at the lowest end

High Q (~ quality factor) Maintain constant bandwidth

61Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

Page 9: E4332: VLSI Design Laboratory - Columbia University

Receiver sensitivity and selectivity

Sensitivity: ability to detect small signals– AM radio sensitivity: ~50uV signals with 30%

modulation

Selectivity: ability to reject adjacent signals

– Dictated by the choice of architecture in our case

62Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

Page 10: E4332: VLSI Design Laboratory - Columbia University

Tuned Radio Frequency(TRF) receiver

Input tuned circuit is the only filter providing selectivity

Coil on a ferrite rod

63Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

Page 11: E4332: VLSI Design Laboratory - Columbia University

TRF receiver: input tuning

64Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

Page 12: E4332: VLSI Design Laboratory - Columbia University

Resonant frequency(radians per second) ωo

= 1/sqrt(LCtune

)

3dB bandwidth ωb

Quality factor Q = ω0/ω

b

Series loss: Qs = 1/R

ssqrt(L/C)

– Bandwidth = Rs/L

Parallel loss: Qp = R

psqrt(C/L)

– Bandwidth = 1/CRp

65Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

2nd order filter basics

Page 13: E4332: VLSI Design Laboratory - Columbia University

Resonant frequency(1/sqrt(LCtune

)) varies

from 530 to 1610kHz, approx 3x Fixed L, ⇒ C

tune caries by 9x

Series loss(Rs) only

– Bandwidth = Rs/L

– No change with Ctune

Parallel loss(Rp) only

– Bandwidth = 1/Ctune

Rs

– varies by 9x with change in Ctune

66Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

TRF receiver: input tuning

Page 14: E4332: VLSI Design Laboratory - Columbia University

Some bandwidth variation with tuning– Bandwidth < 10kHz at low end– Bandwidth > 10kHz at high end

2nd order filter. Limited out of band attenuation

⇒ Poor selectivity in a TRF receiver Suggestion: Use a very large on chip R

p to

maintain as high a Q as possible

67Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

TRF receiver: input tuning

Page 15: E4332: VLSI Design Laboratory - Columbia University

High impedance input necessary– Source follower buffer– Differential amplifier

68Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

TRF receiver: Input amplifier

Page 16: E4332: VLSI Design Laboratory - Columbia University

Use large resistors for input biasing

69Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

TRF receiver: Input amplifier

Page 17: E4332: VLSI Design Laboratory - Columbia University

70Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

TRF receiver: Input amplifier

Page 18: E4332: VLSI Design Laboratory - Columbia University

71Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

TRF receiver: Detector

No diodes in CMOS process Input amplitude > diode drop Use of an amplifier in feedback to improve

sensitivity

Page 19: E4332: VLSI Design Laboratory - Columbia University

72Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

AM radio: specifications Signal levels: Input from 50µV to 5mV RF amplifier with AGC Output of RF amplifier with AGC from 50mV

to 200mV– Max. gain = 50mV/50µV = 1000 (60dB)– Min. gain = 200mV/5mV = 40 (32dB)– Total gain variability = 1:25 (28dB)

Detector must work with 50mV-200mV inputs

Audio output max. ~ 1Vpk

into 8Ω speaker

Page 20: E4332: VLSI Design Laboratory - Columbia University

73Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

AM radio: specifications Misc.: Supply voltage: 4.2-4.5V

– Operation with 3x 1.5V batteries– Try to design for 4.2V

Page 21: E4332: VLSI Design Laboratory - Columbia University

74Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

AM radio: input signal generation

Use A from 50µV to 5mV Parameterized subcircuit(using pPar(“m”),

pPar(“A”) etc.) to make an AM source in Cadence

Page 22: E4332: VLSI Design Laboratory - Columbia University

75Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

Amplifier basics

Page 23: E4332: VLSI Design Laboratory - Columbia University

76Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

Gain = gm(R

L+1/g

ds) ~ g

mR

L

Gm = sqrt(µCox

/2*W/L*I0) = I

0/V

GS-V

T

Gain = gmRL = I0R

L/VGS-VT

– To change gain, I0R

L (the dc voltage drop across

RL) or V

GS-V

T (related to transistor current

density) has to be changed Linearity improves with increasing V

GS-V

T

– Amplifier: larger VGS

-VT

– Switch: smaller VGS

-VT

Amplifier basics

Page 24: E4332: VLSI Design Laboratory - Columbia University

77Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

RF amplifier I

Page 25: E4332: VLSI Design Laboratory - Columbia University

78Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

AC coupled to remove offsets Single ended input/output-simple Gain = g

mR

L/2(Analyze this!)

Ac coupling resistors: pMOS transistors Ac coupling corner frequency: ~ 1dB

attenuation at lower end of AM band Capacitor values: 5pF or less

– Linear capacitor density ~ 0.9fF/µm2

Resistor values: upto 10kΩ– Resistivity ~ 800Ω/sq.

RF amplifier I

Page 26: E4332: VLSI Design Laboratory - Columbia University

79Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

RF amplifier II

Page 27: E4332: VLSI Design Laboratory - Columbia University

80Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

AC coupled to remove offsets Single ended input/output-simple Gain = g

mR

L(Analyze this!)

Ac coupling resistors: pMOS transistors Ac coupling corner frequency: ~ 1dB

attenuation at lower end of AM band Capacitor values: 5pF or less

– Linear capacitor density ~ 0.9fF/µm2

Resistor values: upto 10kΩ– Resistivity ~ 800Ω/sq.

RF amplifier II

Page 28: E4332: VLSI Design Laboratory - Columbia University

81Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

RF amplifier III

Page 29: E4332: VLSI Design Laboratory - Columbia University

82Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

AC coupled to remove offsets Differential stages

– 2x ac coupling capacitors Gain = g

mR

L(Analyze this!)

Ac coupling resistors: pMOS transistors Ac coupling corner frequency: ~ 1dB

attenuation at lower end of AM band Capacitor values: 5pF or less

– Linear capacitor density ~ 0.9fF/µm2

Resistor values: upto 10kΩ– Resistivity ~ 800Ω/sq.

RF amplifier III

Page 30: E4332: VLSI Design Laboratory - Columbia University

83Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

Detector I

Page 31: E4332: VLSI Design Laboratory - Columbia University

84Nagendra Krishnapura: VLSI Design Laboratory, Spring 2005

Implement vi(t)*sgn(v

i(t)) and filter the result

– Full wave rectification and filtering Filtering capacitor C

– retain audio, remove RF– External, if too large

Upper pair should act as a switch: sgn(vi(t))

Lower pair should act as a linear amplifier(over the entire range of input signals)

Detector I