Analog Integrated Circuit Design - A video course under the NPTEL

42
Analog Integrated Circuit Design A video course under the NPTEL Nagendra Krishnapura Department of Electrical Engineering Indian Institute of Technology, Madras Chennai, 600036, India National Programme on Technology Enhanced Learning Nagendra Krishnapura Analog Integrated Circuit Design

Transcript of Analog Integrated Circuit Design - A video course under the NPTEL

Page 1: Analog Integrated Circuit Design - A video course under the NPTEL

Analog Integrated Circuit DesignA video course under the NPTEL

Nagendra Krishnapura

Department of Electrical EngineeringIndian Institute of Technology, Madras

Chennai, 600036, India

National Programme on Technology Enhanced Learning

Nagendra Krishnapura Analog Integrated Circuit Design

Page 2: Analog Integrated Circuit Design - A video course under the NPTEL

Nagendra Krishnapura: Introduction

www: http://www.ee.iitm.ac.in/∼nagendra

e-mail: [email protected]

Website has reference material, problem sets from other

analog courses, and other resources

Nagendra Krishnapura Analog Integrated Circuit Design

Page 3: Analog Integrated Circuit Design - A video course under the NPTEL

Modern signal processing systems

DSP...0100011011...

Digital Processing

Interface Electronics

(A-D and D-A Conversion)

. . .

Sensor(s) Actuator(s)

. . .. . .

(Signal Conditioning)

Continuous-time

Continuous-amplitude

Discrete -time

Discrete -amplitude

Continuous-time

Continuous-amplitude

Picture source: Prof. Shanthi Pavan

Nagendra Krishnapura Analog Integrated Circuit Design

Page 4: Analog Integrated Circuit Design - A video course under the NPTEL

Analog circuits in modern systems on VLSI chips

Analog to digital conversion

Digital to analog conversion

Amplification

Signal processing circuits at high frequencies

Power management-voltage references, voltage regulators

Oscillators, Phase locked loops

The last two are found even on many “digital” ICs

Nagendra Krishnapura Analog Integrated Circuit Design

Page 5: Analog Integrated Circuit Design - A video course under the NPTEL

Analog circuits in modern systems on VLSI chips

Analog to digital conversion

Digital to analog conversion

Amplification

Signal processing circuits at high frequencies

Power management-voltage references, voltage

regulators

Oscillators, Phase locked loops

The last two are found even on many “digital” ICs

Nagendra Krishnapura Analog Integrated Circuit Design

Page 6: Analog Integrated Circuit Design - A video course under the NPTEL

Image sensor

Chip Micrograph

Chip size: 4.74mm x 6.34mm

10b pipelined

ADC

Column

CDS circuits

Timing Generator

I/O circuit

703 x 499 pixels

(VGA format)

Voltage

Regulator

H. Takahashi et al., “A 3.9 µm pixel pitch VGA format 10b digital image sensor with 1.5-transistor/pixel,” IEEE

International Solid-State Circuits Conference, vol. XVII, pp. 108 - 109, February 2004.

Nagendra Krishnapura Analog Integrated Circuit Design

Page 7: Analog Integrated Circuit Design - A video course under the NPTEL

Wireless LAN transceiver

M. Zargari et al., “A single-chip dual-band tri-mode CMOS transceiver for IEEE 802.11a/b/g WLAN,” IEEE

International Solid-State Circuits Conference, vol. XVII, pp. 96 - 97, February 2004.

Nagendra Krishnapura Analog Integrated Circuit Design

Page 8: Analog Integrated Circuit Design - A video course under the NPTEL

DRAM

512K

ARRAY

VPP PUMP

1088

SENSE AMPS

64 I/Os

DATA LINES

64 I/OsADDRESSES

AND CONTROL

BANK 3

BANK 2

BANK 1

BANK 0

ROW

DECODERS

COLUMN

DECODERS

K. Hardee et al. “A 0.6V 205MHz 19.5ns tRC 16Mb embedded DRAM,” IEEE International Solid-State Circuits

Conference, vol. XVII, pp. 200 - 201, February 2004.

Nagendra Krishnapura Analog Integrated Circuit Design

Page 9: Analog Integrated Circuit Design - A video course under the NPTEL

Analog IC design in India

Many companies starting analog centers

Multinationals and Indian start ups

Big demand for skilled designers

Interesting and profitable activity ⌣̈

Nagendra Krishnapura Analog Integrated Circuit Design

Page 10: Analog Integrated Circuit Design - A video course under the NPTEL

Course goals

Learn to design negative feedback circuits on CMOS ICs

Negative feedback for controlling the output

Amplifiers, voltage references, voltage regulators, biasing

Phase locked loops

Filters

Nagendra Krishnapura Analog Integrated Circuit Design

Page 11: Analog Integrated Circuit Design - A video course under the NPTEL

Course prerequisites

Circuit analysis-small and large signal

Laplace transforms, frequency response, Bode plots,

Differential equations

Ideal opamp circuits; Opamp nonidealities

Single transistor amplifiers, differential pairs

Nagendra Krishnapura Analog Integrated Circuit Design

Page 12: Analog Integrated Circuit Design - A video course under the NPTEL

Course contents

Nagendra Krishnapura Analog Integrated Circuit Design

Page 13: Analog Integrated Circuit Design - A video course under the NPTEL

Course contents-Negative feedback amplifiers

Amplifiers using negative feedback

Stability, Frequency compensation

Negative feedback circuits using opamps

Opamp models

Nagendra Krishnapura Analog Integrated Circuit Design

Page 14: Analog Integrated Circuit Design - A video course under the NPTEL

Course contents-Opamps on CMOS ICs

Components available on a CMOS integrated circuit

Device models-dc small signal, dc large signal, ac small

signal, mismatch, noise

Single stage opamp

Cascode opamps

Two stage opamp with miller compensation

Nagendra Krishnapura Analog Integrated Circuit Design

Page 15: Analog Integrated Circuit Design - A video course under the NPTEL

Course contents-Fully differential circuits

Differential and common mode half circuits, common mode

feedback

Fully differential miller compensated opamp

Fully differential feedforward compensated opamp

Nagendra Krishnapura Analog Integrated Circuit Design

Page 16: Analog Integrated Circuit Design - A video course under the NPTEL

Course contents-Phase locked loop

Frequency multiplication using negative feedback

Type I, type II loops

Oscillators

Phase noise basics

PLL noise transfer functions

Nagendra Krishnapura Analog Integrated Circuit Design

Page 17: Analog Integrated Circuit Design - A video course under the NPTEL

Course contents-Design of opamps

Single stage opamp

Folded, telescopic cascode opamps

Two stage opamp

Fully differential opamps and common mode feedback

Applications: Bandgap reference, constant gm bias

generation

Nagendra Krishnapura Analog Integrated Circuit Design

Page 18: Analog Integrated Circuit Design - A video course under the NPTEL

Course contents-Applications

Bandgap reference

Constant current and constant gm bias generators

Continuous-time filters

Switched capacitor filters

Nagendra Krishnapura Analog Integrated Circuit Design

Page 19: Analog Integrated Circuit Design - A video course under the NPTEL

What is design and how do I learn it?

Nagendra Krishnapura Analog Integrated Circuit Design

Page 20: Analog Integrated Circuit Design - A video course under the NPTEL

Design versus Analysis

Design: Create something that doesn’t yet exist

Analysis: Analyze something that exists

Nagendra Krishnapura Analog Integrated Circuit Design

Page 21: Analog Integrated Circuit Design - A video course under the NPTEL

To be able to design

Knowing analysis is necessary, not sufficient

Multiple ways of looking at building blocks

Trial and error approaches

Approximations

Intuitive thinking/understanding

Curiosity

Open mind

Thoroughness

Nagendra Krishnapura Analog Integrated Circuit Design

Page 22: Analog Integrated Circuit Design - A video course under the NPTEL

Intuition

Intuitive thinking is not sloppy thinking!

Relate problems to other problems already solved

Use boundary conditions, dimension checks etc.

Build your intuition

Solve many problems

Think about why the answer is what it is

Come up with the form of the solution before applying full

blown analysis

Nagendra Krishnapura Analog Integrated Circuit Design

Page 23: Analog Integrated Circuit Design - A video course under the NPTEL

Using these lectures

Nagendra Krishnapura Analog Integrated Circuit Design

Page 24: Analog Integrated Circuit Design - A video course under the NPTEL

Using these lectures

Take notes as you watch

Work out all the steps in solving a problem—Don’t just

watch it being solved

Expect to spend about three hours to understand an hour

long lecture

Nagendra Krishnapura Analog Integrated Circuit Design

Page 25: Analog Integrated Circuit Design - A video course under the NPTEL

Brief overview of prerequisites

Nagendra Krishnapura Analog Integrated Circuit Design

Page 26: Analog Integrated Circuit Design - A video course under the NPTEL

Circuit analysis

Nodal analysis-Kirchoff’s Current Law (KCL) at each node

Solve N simultaneous equations for an N node circuit

Mesh analysis-Kirchoff’s Voltage Law (KVL) around each

loop

Solve M simultaneous equations for a circuit with M

independent loops

Nagendra Krishnapura Analog Integrated Circuit Design

Page 27: Analog Integrated Circuit Design - A video course under the NPTEL

Nodal analysis

i11(v) + i12(v) + . . . + i1N(v) = i1i21(v) + i22(v) + . . . + i2N(v) = i2

...

iN1(v) + iN2(v) + . . . + iNN(v) = iN

ikl : Current in the branch between nodes k and l

ikk : Current in the branch between node k and ground

vk : Voltage at node k ; v = [v1v2 . . . vN ]T

ik : Current source into node k

ikl can be a nonlinear function of v

Nagendra Krishnapura Analog Integrated Circuit Design

Page 28: Analog Integrated Circuit Design - A video course under the NPTEL

Nodal analysis—Linear circuits

g11v1 + g12v2 + . . . + g1NvN = i1

g21v1 + g22v2 + . . . + g2NvN = i2...

gN1v1 + gN2v2 + . . . + gNNvN = iN

gkl : Conductance between nodes k and l

gkk : Conductance between node k and ground

vk : Voltage at node k

ik : Current source into node k

Nagendra Krishnapura Analog Integrated Circuit Design

Page 29: Analog Integrated Circuit Design - A video course under the NPTEL

Nodal analysis—Independent voltage source

...

gk1v1 + gk2v2 + . . . + gkNvN = ik node k

...

vk = Vo node k

Ideal voltage source Vo connected to node k

Nagendra Krishnapura Analog Integrated Circuit Design

Page 30: Analog Integrated Circuit Design - A video course under the NPTEL

Nodal analysis—Voltage controlled voltage source

...

gk1v1 + gk2v2 + . . . + gkNvN = ik node k

...

vk − kvl = 0 node k

Voltage controlled voltage source vk = kvl driving node k

Nagendra Krishnapura Analog Integrated Circuit Design

Page 31: Analog Integrated Circuit Design - A video course under the NPTEL

Nodal analysis—Controlled voltage source

gk1v1 + gk2v2 + . . . + gklvl + . . . + gkNvN = ik node k

gk1v1 + gk2v2 + . . . +vkRm

+ . . . + gkNvN = ik node k

gl1v1 + gl2v2 + . . . + glkvk + . . . + glNvN = il node l

gl1v1 + gl2v2 + . . . −vkRm

+ . . . + glNvN = il node l

Current controlled voltage source vk = Rmikl driving node k

Nagendra Krishnapura Analog Integrated Circuit Design

Page 32: Analog Integrated Circuit Design - A video course under the NPTEL

Nodal analysis—Controlled current source

gk1v1 + gk2v2 + . . . + gklvl + . . . + gkNvN = ik + gmvl

gk1v1 + gk2v2 + . . . + gklvl − gmvl + . . . + gkNvN = ik

Voltage controlled current source i0 = gmvl driving node k

Nagendra Krishnapura Analog Integrated Circuit Design

Page 33: Analog Integrated Circuit Design - A video course under the NPTEL

Nodal analysis—Ideal opamp

...

gm1v1 + gm2v2 + . . . + gmNvN = im node m

...

vk − vl = 0 node m

Ideal opamp with input terminals at nodes k , l and output

at node m

Nagendra Krishnapura Analog Integrated Circuit Design

Page 34: Analog Integrated Circuit Design - A video course under the NPTEL

Nodal analysis—solution

g11g12 . . .g1N

g21g22 . . .g2N...

gN1gN2 . . .gNN

v1v2...

vN

=

i1i2...

iN

Gv = i

v = G−1i

gkl : Conductance between nodes k and l

gkk : Conductance between node k and ground

vk : Voltage at node k

ik : Current source into node k

Modified terms for voltage sources or controlled sources

Matrix inversion yields the solution

Nagendra Krishnapura Analog Integrated Circuit Design

Page 35: Analog Integrated Circuit Design - A video course under the NPTEL

Nodal analysis—solution

vk =

g11g12 . . . i1 . . .g1N

g21g22 . . . i2 . . .g2N...

gN1gN2 . . . iN . . .gNN

g11g12 . . .g1k . . .g1N

g21g22 . . .g2k . . .g2N...

gN1gN2 . . .gNk . . .gNN

Cramer’s rule can be used for matrix inversion

Nagendra Krishnapura Analog Integrated Circuit Design

Page 36: Analog Integrated Circuit Design - A video course under the NPTEL

Circuits with capacitors and inductors

Y11(s)Y12(s) . . .Y1N(s)Y21(s)Y22(s) . . .Y2N(s)

...

YN1(s)YN2(s) . . .YNN(s)

V1(s)V2(s)

...

VN(s)

=

I1(s)I2(s)

...

IN(s)

Y(s)V (s) = I(s)

V (s) = Y−1I(s)

Conductances gkl replaced by admittances Ykl(s)

Roots of the determinant of Y(s) are system poles

Nagendra Krishnapura Analog Integrated Circuit Design

Page 37: Analog Integrated Circuit Design - A video course under the NPTEL

Laplace transform analysis for linear systems

Input Output

X (s) H(s)X (s)

est H(s)est

X (jω) H(jω)X (jω)

ejωt H(jω)ejωt

cos(ωt) |H(jω)| cos (ωt + ∠H(jω)) (Steady state solution)

Linear time invariant system described by its transfer

function H(s)

H(s) is the laplace transform of the impulse response

s = jω implies a sinusoid of frequency ω

Nagendra Krishnapura Analog Integrated Circuit Design

Page 38: Analog Integrated Circuit Design - A video course under the NPTEL

Laplace transform analysis for linear systems

Transfer function H(s) (no poles at the origin)

H(s) = Adc1 + b1s + b2s

2 + . . . + bMsM

1 + b1s + b2s2 + . . . + bNsN

= Adc

∏Mk=1 1 + s/zk

∏Nk=1 1 + s/pk

Single pole at the origin

H(s) =ωus

∏Mk=1 1 + s/zk

∏Nk=2 1 + s/pk

All poles pk must be in the left half plane for stability

Nagendra Krishnapura Analog Integrated Circuit Design

Page 39: Analog Integrated Circuit Design - A video course under the NPTEL

Frequency and time domain analyses

Frequency domain

Algebraic equations-easier solutions

Only for linear systems

Time domain

Differential equations-more difficult to solve

Can be used for nonlinear systems as well

Piecewise linear systems occur quite frequently (e.g.

saturation)

Nagendra Krishnapura Analog Integrated Circuit Design

Page 40: Analog Integrated Circuit Design - A video course under the NPTEL

Bode plots

Sinusoidal steady state response characterized by |H(jω)|,∠H(jω)

Bode plot: Plot of 20 log |H(jω)|, ∠H(jω) versus log ωapproximated by straight line segments

Good approximation for real poles and zeros

Nagendra Krishnapura Analog Integrated Circuit Design

Page 41: Analog Integrated Circuit Design - A video course under the NPTEL

Simulators

Very powerful tools, indispensable for complex calculations, but

GIGO!

Matlab/Octave: System level analysis (Frequency

response, pole-zero, transfer functions)

Spice: Circuit analysis

Maxima: Symbolic analysis

Nagendra Krishnapura Analog Integrated Circuit Design

Page 42: Analog Integrated Circuit Design - A video course under the NPTEL

References

Recorded lectures:

http://www.ee.iitm.ac.in/∼nagendra/videolectures

Behzad Razavi, Design of Analog CMOS Integrated Circuits,

McGraw-Hill, August 2000.

Hayt and Kemmerly, Engineering Circuit Analysis, McGraw Hill,

6/e.

B. P. Lathi, Linear Systems and Signals, Oxford University Press,

2 edition, 2004.

Sergio Franco, Design with operational amplifiers and analog

ICs, Tata McGraw Hill.

Nagendra Krishnapura Analog Integrated Circuit Design