1 7-things that we should know about op-amp design natsem india designs pvt. ltd

50
1 7-things that we should know about Op-amp Design Natsem India Design’s Pvt. Ltd.

Upload: evelyn-vaughn

Post on 27-Mar-2015

216 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

1

7-things that we should know about Op-amp DesignNatsem India Design’s Pvt. Ltd.

Page 2: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

2

7-things that we should know about Op-amp Design

T. SrinivasStaff EngineerData Converters Group.

Page 3: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

3

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

Objective

• Op-amp is a fundamental part of Analog Circuit Design.

• Our aim is to increase your familiarity with Op-amp Design and…

Fear of Op-amp In Analog Circuit Design Course Design Systems

Page 4: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

4

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

Contents

1. Small Signal Model of MOSFET.

2. Current Mirrors.

3. Gain Bandwidth Product of an Op-amp.

4. Stability of an Op-amp.

5. Slew-rate of an Op-amp.

6. Offset of an Op-amp.

7. Noise of an Op-amp.

Conclusion

Page 5: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

5

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

1. Small Signal Model of MOSFET.

THGSDSDSTHGSn

DS

THGSDSDSTHGSnDS

VVVifVVVL

WKI

VVVifVVDS

VVL

WKI

)1(2

2

2

D

S

G

Triode Region:

Saturation Region:

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

0 1 2 3 4

VGS [V]

IG [A

]

0.0E+00

1.0E-04

2.0E-04

3.0E-04

4.0E-04

5.0E-04

6.0E-04

7.0E-04

0 1 2 3 4

VGS [V]

IDS

[A]

0.0E+00

5.0E-06

1.0E-05

1.5E-05

2.0E-05

2.5E-05

3.0E-05

3.5E-05

4.0E-05

4.5E-05

5.0E-05

0 0.5 1 1.5 2 2.5 3

VDS [V]

IDS [A

]

VGS1

VGS2=VGS1+0.1

VGS3=VGS2+0.1

Page 6: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

6

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

1. Small Signal Model of MOSFET.

Regions of Operation

Strong inversionVGS> VTH

Weak inversionVGS < VTH

Triode regionVDS < VGS -VTH

SaturationVDS > VGS -VTH

CTatmVq

kTVt

eeL

WII VtVnVtV

SODSDSGS

0

//

278.25

1

DSDS

THGSoxDS VV

VVL

WCI

2

22 THGS

oxDS VV

L

WCI

Page 7: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

7

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

1. Small Signal Model of MOSFET.

• For Designing Amplifiers, MOSFET Operating in Saturation Region is preferred [IDS depends on Input!].

• To achieve -100dB THD Vin < (VGS- VTH)*40V.

• The small signal model that we show is valid for MOSFET in Saturation Region and for Vin<< VDSAT.

THGSDSDSTHGSn

DS

THGSDSDSTHGSnDS

VVVifVVVL

WKI

VVVifVVDS

VVL

WKI

)1(2

2

2

D

S

G

Triode Region:

Saturation Region:

2m1X

2

mXConst.

2

22 inn

inTHDCnTHDCn

DS VL

WKVVV

L

WKVV

L

WKI

D

S

GVin

VDC

VGS=VDC+Vin

Page 8: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

8

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

1. Small Signal Model of MOSFET.

• This signal model is sufficient for first-cut hand calculations.

22 THDC

nDS VV

L

WKI

VDS = VDD – IDS*R

D

S

G

VDC

R

VDD

VDC + vin

VDS = VDD – IDS*R – Iin*R inDC Vgm

inTHDCn

I

THDCn

inDS VVVL

WKVV

L

WKiI

*

2

2

R

g m*V

in

vout= - gm*vin*RG

S

D

vin

Rgv

vAC m

in

outGain *

OXGSDSDS

DSds WLCc

II

Vr

3

2&

1

CGS rds

Eff

Page 9: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

9

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

1. Small Signal Model of MOSFET.

Intrinsic Gain

rDs

g m*V

in

vout= - gm*vin*rDS

G

S

D

vin

L

WV

Lwhere

V

I

g

I

VVL

WK

rgGain

DSAT

DSAT

DS

m

DS

THGSn

DSm

&1

)(

1

*

D

S

G

• To Increase Gain reduce VDSAT or increase length of MOSFET.

Page 10: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

10

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

1. Small Signal Model of MOSFET.

Intrinsic Bandwidth

CGSrDs

g m*V

in

G

S

D

vin

Iin

Iout

22

3

*

**

L

V

C

g

gC

vgIoutCvI

requirednotisMOSFETIIWhen

DSAT

GS

mT

mGST

inmGSinin

outin

Gain-Speed Product = LL

22

3

• To Increase Bandwidth increase VDSAT or decrease the length of MOSFET.

Page 11: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

11

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

1. Small Signal Model of MOSFET.Gain

0

100

200

300

400

500

600

700

800

900

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7

VDSAT[V]

Ga

in

Bandwidth

0.00E+00

2.00E+10

4.00E+10

6.00E+10

8.00E+10

1.00E+11

1.20E+11

1.40E+11

1.60E+11

1.80E+11

2.00E+11

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7

VDSAT[V]

Ba

nd

wid

th (

rad

/se

c)

Gain-Bandwidth Product

0.00E+00

1.00E+12

2.00E+12

3.00E+12

4.00E+12

5.00E+12

6.00E+12

7.00E+12

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7

VDSAT[V]

GB

W (

rad

/se

c)

L=0.5um

L=1.0um

L=1.5um L=0.5um

L=1.0um

L=1.5um

L=0.5um

L=1.0um

L=1.5um

Page 12: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

12

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

1. Small Signal Model of MOSFET.

211 ||* DSDSm rrgGain

Example 1:VDD

VinVDC

VOUT

M1

M2 g m2*0

0

0.5

1

1.5

2

2.5

3

3.5

4

4.5

5

2.2 2.3 2.4 2.5 2.6 2.7 2.8

VDC[V]

G

rDS1

g m1*V

in

S

vin

rDS2

AC Gain vs. DC Gain

0

5

10

15

20

25

30

35

-0.3 -0.2 -0.1 0 0.1 0.2 0.3

Vin [V]

Gain

DC Gain

AC Gain

Page 13: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

13

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

2. Current Mirrors.

Not Again. It doesn’t make any sense.

These are the Basic Building Blocks of Analog IC design.

VDD

10uA

VOUT

M2M1

10uA

0uA0V

10uA1V

0uA

Let (W/L)1=(W/L)2 VT=0.8V, gDS=0

VOUT = 0.0V IDS2 = 0VOUT = 0.1V IDS2 = 7.5uAVOUT = 0.2V IDS2 = 10uAVOUT = 1.0V IDS2 = 10uA

Let (W/L)2=2*(W/L)1

VOUT = 1.0V IDS2 = 20uA

VOUT = 0.0V IDS2 = 0VOUT = 0.1V IDS2 = 6.75uAVOUT = 0.2V IDS2 = 9uAVOUT = 1.0V IDS2 = 9uA

M2

VDD

10uA

VOUT

M1

gDS1=1e-6 S & gDS2=0;

1uA

9uA

1V

If gDS1 = gDS2 =1e-6;

IOUT=10uA VOUT= ???

VOUT=2V IOUT=???

Page 14: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

14

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

2. Current Mirrors.

Small Signal AnalysisVDD

10uA

VOUT

M2M1

rIN rOUT

g m2*V

in

g m1*V

in

G

rDS1

S

vin rDS2rIN

VOUT

rOUT

111 mDSmIN gggg

= 0

2DSOUT gg

Due to CGS we have a Pole Hereg m

2*V

in

g m1*V

in

G

rDS1

S

vin rDS2

VOUT

CGS1 CGS2

221

1 T

GSGS

m

CC

gPole

Page 15: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

15

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

2. Current Mirrors.

Better Current Mirror Large Output resistance.VDD

VOUT

M1

M2

M3

M4

V1

V2

V1

1. M1 – M3 is the Current Mirror.

2. M4 – M2 helps in achieving high resistance.

3. Requires high turn on voltage. VOUT > V1+VDSAT2

122 .. DSDSmOUT rrgr

V1=VGS3

V2=VGS3 + VGS4

VDD

1. M1 – M3 is the Current Mirror.

2. M4 – M2 helps in achieving high resistance.

3. VOUT > V3 + VDSAT2 > 2*VDSAT

122 .. DSDSmOUT rrgr

VOUT

M1

M2

M3

M4M5

I1 I1

V1

V2

V3 V3

V1=VGS3

V2=VGS5

V3=V2 – VGS4 > VDSAT

Page 16: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

16

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

2. Current Mirrors.

Wide Swing Current Mirror.There are Two Questions that we should answer.

1) How should we generate V2.

2) We know V3 = VDSAT, what is the exact value of ‘’.

VDD

VOUT

M1

M2

M3

M4M5

I1 I1

V1

V2

V3 V3

0.00E+00

1.00E+07

2.00E+07

3.00E+07

4.00E+07

5.00E+07

6.00E+07

0 0.5 1 1.5 2

Alpha

Res

ista

nce

(o

hm

s)

= 1.5 is fine

If M1 – M4 are of same size, for = 1.25, (W/L)5 = 1/5 (W/L).

1/5 (W/L)

W/L

W/L

W/L

W/L

W/L

Page 17: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

17

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

2. Current Mirrors.

Example 2:

VDC

R

VDD

Vin

VOUT

RgGain m *Replace the R with MOSFET and Build an

1) Amplifier with Gain = 50

2) Amplifier with Gain of 3 (Kn=3*Kp).

VDD

Vin

VOUT

M1

M2M3

21

1

DSDS

m

gg

gGain

1) If gm=100*gDS Gain = 50.

2) Gain varies with Process.

VDD

Vin

VOUT

M1

M2

2

1

m

m

g

gGain

1) If (W/L)2=(W/L)1 Gain = 3.

2) Gain varies with Process.

Page 18: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

18

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

2. Current Mirrors.

Example 3:

VDD

M2 (W/L)=2

M3 (W/L)=1

M4 (W/L)=1

10uA

20uA

150uA

M1 (W/L)=???

VGS4 + VGS3 = VGS2 + VGS1

(W/L)1 = 15.

The above loop formed by Gate-Source voltages is known as Trans-linear loop.

VDD

M2 2*(W/L)

M1 (W/L)

(a) (b)

MB1 (W/L)

MB1 (W/L)

VOUT = ?10uA

VOUT will near to VDD

M2 in Triode region

M1 in Saturation Region

Page 19: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

19

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

3. Gain Bandwidth Product of an Op-amp.

1st order Low Pass Filter

R

C

VINVOUT

RCtINOUT

ININ

INOUT

eVtV

thenInputstepDCs

VVIf

sVsRC

sV

/1)(

,

)(1

1)(

-100

-90

-80

-70

-60

-50

-40

-30

-20

-10

0

1 10 100 1000 10000 100000

freq

mag(VOUT)

Phase (VOUT)

0

0.2

0.4

0.6

0.8

1

1.2

3.00E-03 3.20E-03 3.40E-03 3.60E-03 3.80E-03 4.00E-03

time(sec)

[vo

lts]

VIN

VOUT

sec/1

ln1

)(

)()(

radTs

BW

V

TsVV

OUT

OUTOUT

Page 20: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

20

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

3. Gain Bandwidth Product of an Op-amp.

Op-amp in Feed-back.

+-

VIN VOUT

GBW

As

A

0

0

1

)()(

11

)(

)(

11

1

1)(

)(

0

2

..

10

0

00

0

GBWAifV

tV

eA

AVtV

thens

VsVIf

AFor

GBW

sA

A

sV

sV

INOUT

Source

GBWt

Source

INOUT

ININ

IN

OUT

sec/1

ln1

radTs

GBW

Amplifier GBW required to settle in the given time (Ts) and with in given error ().

Page 21: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

21

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

3. Gain Bandwidth Product of an Op-amp.

Example 4:

+-

VIN VOUT

GBW

As

A

0

0

1

Design a Amplifier with Gain of 4, operating at 100MHz and it should settle with 10-bit accuracy for a full-scale output of 1V.

99975.0

9995.02

111

1

21

11..

0

0

2

1

SourceSource

eA

A

Source

GBWt

Source

sec510025.04 nTsMHzfGain CLK

GHzGBW

dBKA

1

84160

Page 22: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

22

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

4. Stability of an Op-amp.

• We use simple design technique to deal with stability issues.

• This approach is sufficient to deal with most of the circuits and systems.

VIN = 1V

VOUT

I Designed an Oscillator.

Phase Margin is not enough.

Poles are not in the right location.

Lets Change some W/L’s and see.

Page 23: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

23

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

4. Stability of an Op-amp.

Two-Stage Amplifier

VN VP

VDD

M1 M2

M3 M4

M5

I1 I2

VOUT

CC

CL

Poles

g mi. v I

N

g dsi

sC1

g mo

. v1

g dso

sCL

v1sCC VOUT

vIN

55

514221

;

;;

DSdsommo

GSDSDSdsimmmi

gggg

CCgggggg

)(.

)(

)(

)(

)()()(.

)(

)(

)(

112

112

1

CCCCCCsCgsgg

sCgg

sV

sV

CCCCCCsCgCCgCCgsgg

sCgg

sV

sV

CLCLCmodsidso

Cmomi

IN

OUT

CLCLCmoCdsoLCdsidsidso

Cmomi

IN

OUT

V V*gm5

VOUTVOUT=0

Page 24: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

24

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

4. Stability of an Op-amp.

Two-Stage Amplifier

C

mo

CLL

mo

C

mi

dsodsi

momi

IN

OUT

momi

CLCL

mi

C

mo

C

dsodsi

CLCL

dsodsi

Cmo

mo

C

dsodsi

momi

IN

OUT

C

gz

CCCCC

gf

C

gf

gg

ggAWhere

ffAs

fAs

zs

A

sV

sV

ggCCCCCCA

sgCA

s

gC

sA

ggCCCCCC

sggCg

s

gC

sgggg

sV

sV

111

210

21

02

1

0

10

11020

0

112

&/

,,1

1

)(

)(

)(1

1

1

1

)(

)(

VIN

VOUT

21

02

1

0

10

1

1

ffAs

fAs

zs

A

VP

VN

Op-amp in Feedback should be stable.

Page 25: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

25

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

4. Stability of an Op-amp.

Two-Stage Amplifier- Condition for Maximally flat response.

VIN

VOUT

21

02

1

0

10

1

1

ffAs

fAs

zs

A

VP

VN

21

2

1

0

0

21

02

1

0

0

01

..1

1

1)(

)(

1

1&:1

ffs

fsA

A

sV

sV

ffAs

fAs

AA

AFrequencyHighVeryatisZAssumeCase

IN

OUT

Equate it to 2nd order Butterworth equation.

C

mi

C

mi

L

mo

nn

nn

C

gBandwidthand

C

g

C

g

ffffwfw

ws

ws

ffs

fs

.2.2

.2.

11;

.

12

21

1

..1

1

1221

2

1

2

21

2

1

CLL

mi

C

mo CCC

g

C

g

fz

*55

*5 21

To satisfy Assumption, We use the following rule of thumb.

Page 26: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

26

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

4. Stability of an Op-amp.

Example 5:

VIN

VOUT

21

02

1

0

0

1ffAs

fAs

A

VP

VN

Design a Amplifier with Gain of 2, operating at 1MHz and when 1V input is applied output should settle with in 2V ± 2mV. [A0=1e7]

sec/663.27**2

sec/663.2731

1ln

1

sec5.01,5.02

12

1

radefC

gf

radeeTsC

gf

TsMHzfGain

L

mo

C

mi

CLK

0.0

0.5

1.0

1.5

2.0

2.5

0.0E+00 1.0E-07 2.0E-07 3.0E-07 4.0E-07 5.0E-07

Time [sec]

Out

[V]

-6.0E-03

-5.0E-03

-4.0E-03

-3.0E-03

-2.0E-03

-1.0E-03

0.0E+00

1.80 1.90 2.00 2.10 2.20 2.30 2.40 2.50

Mx [f2=Mx*beta*f1)

Err

or[

V]

Page 27: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

27

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

5. Slewrate of an Op-amp.

VIN = 2V

VOUT = 2V

VDD = 5V

M1 M2

M3 M4

M5

I1 I2

VOUT

CC

CL

2V2V

4V

VIN = 3V

3V2V

3.8

3V3V

4V

2V

3V

VOUT = 3V

Linear system

Slew-rate limited

1V

2V

3V

A Slew-rate limited system will cause non-linearity.

Page 28: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

28

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

5. Slewrate of an Op-amp.

• Often in switched capacitor circuits, output stage current limitation leads to op-amp slewing.

• In continuous time circuits where we have to drive resistor loads, output stage current limitation leads to non-linearity.

VIN = 2V

1

2

1 2

VOUT

VIN = 2V

Output Stage current limited

Output Stage can supply huge current

Page 29: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

29

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

5. Slewrate of an Op-amp.

• Class-AB output stage should be used when driving resistor loads and some switched capacitor circuits.

• Class-AB input stage can be employed to reduce power.

VPVN

VDD = 5V

M1 M2

M3 M4

M11

I1

VOUTCC

CL

I2 I2

M6

M5

CC

M7M8

M9 M10

M12

Two-stage op-amp with class-AB output stage

Page 30: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

30

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

5. Slewrate of an Op-amp.

Design Considerations for Slewrate (Switched capacitor Circuits).

.2

&)(

DifffullyforV

Vg

I

GBW

SR

C

gGBW

C

ISRSlewrate

DSATDSAT

m

C

m

C

TCLK

TCLK/2

TSettleTSlew

settleslewCLK

CLKCLK TT

T

fT

2&

1

SR

VTthen

TTif

swingoutputMaximumVTSR

SWGCLKCLKslew

SWGslew

22

.

1

ln1

2)1(

1ln

1

GBW

T

GBWT

CLK

settle

DSAT

SWG

DSAT

SWG

DSATSWG

VV

VV

getweVGBW

SRngsubstituti

V

SR

GBWThus

1

ln

1ln

11

Page 31: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

31

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

5. Slewrate of an Op-amp.

Example 6:

1 2

1

2 1

VIN

VOUT

2

1CL

CS

CF

VDD = 5V

M1 M2

M3 M4

I1

I2 I2

M6M5

M7 M82.5V

Design a Amplifier with Gain of 2 for 10-bit ADC, operating at clock frequency of 1MHz with a Maximum input amplitude of 1V. Assume CF=1pF and CL=1pF.

Page 32: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

32

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

5. Slewrate of an Op-amp.

Example 6:

CL

CF

CPCS

vIN

vOUT

gm*v

1

g DS

v1

FSP

FPSLLeff

FSP

F

m

Leff

m

F

F

S

IN

OUT

CCC

CCCCC

CCC

CWhere

g

Cs

gC

s

C

C

sv

sv

)(&

1

1

)(

)(

Leff

F

settle

F

m

Leff

m

ptIN

ININ

CC

TGBWiserrorwithsettletorequiredGBW

C

gzGBW

C

gpWhere

ez

p

CF

CSVtVoutthen

s

VSvIf

.1

ln.

1''

&.

11)()( .

Page 33: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

33

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

5. Slewrate of an Op-amp.

Example 6:

MHze

GBWusVe

SRthususT

mVVAssume

pFCpFC

mADCbitVVVInpMax

pFCCAssumepFCCGain

CLK

DSAT

FS

SWG

LeffPFS

1365.0*517.0**2

7*3&/2.8

5.0*483.0

2487.0&1

483.066.612.7

66.6100

;3/11,2

97.010,21.

6.10,2*22

6

What is this

-1.0E-03

-9.0E-04

-8.0E-04

-7.0E-04

-6.0E-04

-5.0E-04

-4.0E-04

-3.0E-04

-2.0E-04

-1.0E-04

0.0E+00

0 0.2 0.4 0.6 0.8 1

Vin [V]

Err

or

in O

utp

ut

[V]

Page 34: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

34

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

5. Slewrate of an Op-amp.

Example 6:Op-amp Can’t supply Infinite current.

vIN

CL

CF

CPCS

vOUT

gm*v

1

g DS

v1

MHzGBWusVSRnewThus

V

VCCC

CCVV

CLVCFVknowWeat

CPAssume

SWG

INFSL

FSINOUT

14&/953.0

4.24.02

4.0||

||)0(

0)(,0)(,0

;0

2

-3.0E-04

-2.5E-04

-2.0E-04

-1.5E-04

-1.0E-04

-5.0E-05

0.0E+00

0 0.2 0.4 0.6 0.8 1

Vin [V]

Page 35: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

35

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

5. Slewrate of an Op-amp.

Example 7:Below op-amp should be designed for a Slewrate of 6V/us, what should be the input stage tail current if the op-amp is folded cascode op-amp.

‘VIP, VIN’ forms fully differential signals (2VPP) with ‘VCM’ as common mode.

VCM=1V

VIP

VIN

10pF

10pF

1pF

1pF

Parasitic Caps.

Minimum Tail Current = 12uA.

Page 36: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

36

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

6. Offset of an Op-amp.

1. Systematic Offset:

20uA 100uA

VDD = 5V

M1 M2

M3 M4

M5

VOUT

CC

CL

5.3u/1.5u10*15u/1.5u

15u/1.5u

10uA 10uA

2.5V

Case 1: VDSAT and Length of M3-M4 & M5 are same.

Offset=48uV

Case 2: VDSAT of M3-M4 & M5 is same but Length is different

Offset=715uV

10*5u/0.5u40*15u/1.5u

Case 3: Length of M3-M4 & M5 is same but VDSAT is different

Offset=718uV

0.00E+00

1.00E-04

2.00E-04

3.00E-04

4.00E-04

5.00E-04

6.00E-04

7.00E-04

8.00E-04

Case1 Case2 Case3

Page 37: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

37

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

6. Offset of an Op-amp.

2. Random Offset : Due to Process Variations

100uA

VDD = 5V

M1 M2

M3 M4

M5

VOUT

CC

M6 M7

V4

V2

V5

V7

20uA

Process steps like Photolithography, Etching and Deposition are not uniform.

Values of V1,V2, V3 depends on the sigma of the process. Normally they will be in the order of ‘mV’.

Proper layout [Common-Centroid Layout, proximity matching] techniques can reduce the mismatch, thus Offset.

Can a designer play a role in reducing the over-all Offset.

Page 38: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

38

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

6. Offset of an Op-amp.

2. Random Offset : Due to Process Variations

V5=(gm7*V7/gm5)

V7

100uA + gm7*V7

VDD = 5V

M1 M2

M3 M4

M5

VOUT

CC

M6 M7

20uA

VIN

Input Referred Offset Due to: VB2 & V5

100uA

VIN + V5/A1

5

775

1

*1

m

m

g

gVV

AOffsetreffredInput

Page 39: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

39

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

6. Offset of an Op-amp.

2. Random Offset : Due to Process VariationsInput Referred Offset Due to: V2 & V4

2

442 *

m

m

g

gVVOffsetreffredInput

VDD = 5V

M1 M2

M3 M4

M5

VOUT

CC

M6 M7

V4

20uA

VIN

10uA + gm4*V4

VIN+(gm4/gm2)*V4

Page 40: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

40

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

6. Offset of an Op-amp.

2. Random Offset : Due to Process Variations

2

442

75

75

12

442

*

1*

m

m

mm

m

g

gVVOffsetreffredInputTotal

Vg

gV

Ag

gVVOffsetreffredInputTotal

Design M1-M2 (Differential Pair) and M3-M4 (Current Mirror) Carefully.

• Decrease gm4 (For given ‘I’ Increase VDSAT for Current Mirrors).

• Increase gm2 (For given ‘I’ Decrease VDSAT for Differential pair).

To reduce V2 and V4, use Large devices (Large L and Large W). Mismatch is inversely proportional to the Area of the MOSFET.

)(mVBWL

AVX

Page 41: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

41

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

7. Noise of an Op-amp.

Types of “Noise”• Interference

– Cross talk, Clock Coupling…– Supply Noise.Taken Care by proper design (Shielding,

Differential circuits, etc…)

• Device Noise– Thermal Noise (Fundamental).– Process related (1/f noise).

Page 42: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

42

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

7. Noise of an Op-amp.

Thermal Noise:• Dissipative elements (resistors, MOSFET’s, …)• Random fluctuations of v(t) of i(t).• White noise with zero mean.

Resistor MOS Noise (Strong inversion)

*

R

22 4 VfkTRvn

2nv

2ni

22

22

3

83

8

AfkTgi

AfgggkTi

mn

mbdsmn

Page 43: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

43

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

7. Noise of an Op-amp.

kT/C Noise (Resistor):

rms

out

nout

n

VC

kT

C

kTRCRC

CR

kTVout

f

RCf

RC

kTRffVVout

RCkTRfv

sRCfV

HzVkTRv

2

22tan.2

21

1

2

4)(

1

14)(

1

1)(

/4

0

12

2

02

22

2

0

2

2

22

2

22

R

*

R2

nv

C C

2outv

100n

F

1K 100K

Case 1: Case 2:

1.0E-14

1.0E-13

1.0E-12

1.0E-11

1.0E-10

1.0E-09

1.0E-08

1.0E-07

1.0E-06

1.0E-03 1.0E-01 1.0E+01 1.0E+03 1.0E+05 1.0E+07

Freq [Hz]

No

ise

Des

nis

ty [

V-s

qrt

(Hz)

]

100n

F

1K

100K

Total Noise=200nV

Page 44: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

44

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

7. Noise of an Op-amp.

kT/C Noise (Op-amp):VDD = 5V

M1M2

M3 M4

M5

VOUT

CC

MB1 MB2

VPVN in1

2 in22

in42in3

2

Noise Analysis is Similar to offset Analysis

We can neglect the noise due to M5 & MBX.

Assume gm1=gm2 & gm3=gm4

Calculating the input referred noise.

HzVg

g

gm

kTv

g

kTg

g

kTg

g

kTg

g

kTgv

HzVkTgi

m

mn

m

m

m

m

m

m

m

m

n

mn

/113

16

38

38

38

38

/3

8

2

1

32

22

4

22

3

22

1

22

22

22

vn2

Page 45: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

45

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

7. Noise of an Op-amp.

kT/C Noise (Op-amp):

vn2

A(s) Vout

1

32

1

1

3

12

0

22

2

1

1

3

12

2

22

13

41

4

13

16

1)(

1

13

16

1

)(1

)()(

m

m

C

m

C

m

m

m

m

C

m

m

mn

g

g

C

kTVout

gC

gg

gkT

ffVoutVout

gC

gg

gkT

vsA

sAfVout

1

0

0

1)(

m

C

gCA

s

AsA

For =1, CC=10pF and gm1=gm3=80uS

Noise at the output VoutRMS=32uV.

1/f - noise is suppressed by assigning kf=0

1.0E-11

1.0E-10

1.0E-09

1.0E-08

1.0E-07

1.0E-06

1.0E-05

1.0E-04

10 100 1000 10000 100000 1000000 1E+07 1E+08 1E+09

freq [Hz]

Ou

tpu

t N

ois

e D

esn

ity

[V/s

qrt

(Hz)

]

Output Noise

Total Noise=40uV

Caution: RHS Zero is neglect for calculations, for a poor design it will increase the total output - noise drastically.

Page 46: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

46

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

7. Noise of an Op-amp.

1/f Noise (‘Fake’ Noise):

• Caused by traps in semiconductor material– Due to contamination or crystal defects

• Has a 1/f power spectral density

• Figure of Merit is called ‘Kf’ and Kf=A/ToxB.• Kf is process dependent.• For TOX>900A, NMOS(Kf) > PMOS(Kf). So PMOS is less

noisy.

2fi

lo

hi

OX

Dff

f OX

DffTOTAL

OX

Dff

f

f

C

I

L

K

f

f

C

I

L

Ki

f

f

C

I

L

Ki

hi

lo

ln22

2

2

2

Page 47: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

47

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

7. Noise of an Op-amp.

1/f Noise (‘Fake’ Noise):

1.0E-11

1.0E-10

1.0E-09

1.0E-08

1.0E-07

0.01 0.1 1 10 100 1000 10000

freq (Hz)

No

ise

Des

sity

[A

/sq

rt(H

z)]

1V

1V

W/L

W/L=35u/1u

W/L=70u/2u

W/L=140u/1u

Kf=1.36e-27, IDS=500uA

flo=1Hz, fhi=1MHz, Tox=1250A

W/L=140u/1u

nArmsif

f

C

I

L

Ki fTOTAL

lo

hi

OX

DffTOTAL 65ln

2

2

IRMS=40nA

Page 48: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

48

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

CONCLUSION

• I hope the topics covered would be useful as a starting point and help you to extend the concepts to system level issues.

• I express my gratitude to following people:– Inventors of Google.– My Professors at IIT Madras.– For Natsem India and RVCE.– For SANYO Japan.

Page 49: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

49

National Semiconductor Corporation Confidential7-things that we should know about Op-amp DesignData Converters Group, India.

About Author

Area of Interest:Analog/Mixed-signal Integrated Circuit Design, with focus on Data converters.

Education:M.Tech, Microelectronics and VLSI Design, IIT Madras, Chennai, 2001.B.Tech, Electronics & Communications, S.V University, Tirupati, 1999.

Work Experience Associated with SANYO LSI, India (Feb ‘01 - April ‘05). Associated with Natsem, India (May ‘05 - Present).

Design Experience:Multi-stage rail-to-rail operational amplifiers, Switched capacitor Circuits.Architectures for 20-bit/24-bit ADC/DAC.

Page 50: 1 7-things that we should know about Op-amp Design Natsem India Designs Pvt. Ltd

50