Top Banner
1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers
53

1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

Jan 12, 2016

Download

Documents

Moses Mills
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

1

Ron LaTour

Applications Engineer

Photo Diode Signal Paths Using Decompensated Amplifiers

Page 2: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

2

© 2008 National Semiconductor Corporation

Customer Focus

• Learning's From Recent customer circuits• Photodiode signal path• Fill-in

– Clock Buffer differentiator– Comparator >1V Hysteresis– Comparator High and Low Side Sense

• 10 Question Quiz• Send Apps Group best customer or personal favorite

Op Amp circuit– Recent– Favorite all time

Page 3: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

3

© 2008 National Semiconductor Corporation

Photodiode Signal Path Application

• Replace existing solution– Dual TIA, diff stage and bandpass filter

• NSC offered the LMV794/797

• Customer encounters– Oscillation - Bandpass– Gain peaking - TIA– Transient Recovery -TIA

Page 4: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

4

© 2008 National Semiconductor Corporation

Bandpass - Schematic

• LM833 Vcc =5V– $.2

• LMV794– Oscillates– 797 won’t give

desired Q = 7

• Considering– Max4453 200 MHz

Page 5: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

5

© 2008 National Semiconductor Corporation

Bench Verify: Bandpass Oscillation Problem

• LMV794 vs LMV797

• LMV794 w/ Riso 1K, 2K

• Tried input R/C

Page 6: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

6

© 2008 National Semiconductor Corporation

Intuitive Step: Good Practices when Analyzing a High Order or Multi-pole

Circuit?

• First simplify the circuit for an intuitive understanding • Use simple algebra to find the poles and zeros

• Use a simulator like Altium trying the simplified circuit then check the full circuit and the simulator results

• Finally go to the bench, build the circuit and take photos

Page 7: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

7

© 2008 National Semiconductor Corporation

Photodiode – Signal Path Specs

• First stage Transimpedance Amp – Photoconductive topology

• Cap coupled photodiode, no precision

– High Gain RF ~1M @ 400 KHz – Single supply Vcc = 5V– Two identical TIA photodiode circuits

• 5-500 KHz • sq wave or pulse• Changing duty cycle from 10% to 100%

– Good input transient recovery– Low high freq noise

Page 8: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

8

© 2008 National Semiconductor Corporation

Problem – LMV794 vs LMV797

• Is the LMV794 worth the $ difference over the LMV797?

• Will either work just as well?

• Packaging/layout - 2 duals or 1 dual and 2 singles?

• Poor High Freq Noise?

• Max Gain in one stage?

• Precision for free?

Page 9: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

9

© 2008 National Semiconductor Corporation

Circuit Blocks

TIA

Diff

BP

Page 10: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

10

© 2008 National Semiconductor Corporation

Intuitive Step: Which Values for Rf, Cf, Rg Determine a Single Pole Rolloff or Low

Pass Transfer Function?

• Rg=open(100M), Rf=1K, Cf=.1uF

• Rg=1K, Rf=open(100M), Cf =.1uF

• Rg=1K, Rf=1M, Cf= .1uF

Page 11: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

11

© 2008 National Semiconductor Corporation

Intuitive Step: Which Values for Rf, Cf, Rg Cause Instability in the Transfer

Function?

Cg=1nF, Rf =1M, Cf=open

Page 12: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

12

© 2008 National Semiconductor Corporation

Photodiode – Schematic?

• Guess– Introduced

Resistive “Tee”

– Capacitive “Tee”

– Customer cap 22pF

– Single supply bias

Page 13: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

13

© 2008 National Semiconductor Corporation

Photodiode – Build a Tool?

Page 14: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

14

© 2008 National Semiconductor Corporation

Formulas

• Some math and formulas provide insight

• Some Do Not (not shown)

Page 15: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

15

© 2008 National Semiconductor Corporation

Photodiode – Bode Plot Compare the 797 &794

LMV797 any Cin/Cf ratio for min noise BWLMV794 ratio >10 or 20 dB

1/B = 1+ Rf/Rsh

Aol

Signal Bandwidth

1/B = 1 + Cin/Cf

LMV797 GBW =17 MHzPM =45 d

0 dB

20 dB

40 dB

60 dB

80 dB

100 dB

Freq (Hz)

LMV794 GBW = 88 MHzPM =45 d @ Acl =20dB

Fp = 1/2piCfRf

10M

Mag

(dB

)

100M1M100K10K1K100

Uncompensated PM = 0 d => OscillationStray C => peaking

Page 16: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

16

© 2008 National Semiconductor Corporation

Intuitive step: What is the Application Total Phase Margin?

Phase Margin = The op amp open loop phase (-90 deg) plus 1/B phase at the point of intersection -180 degrees (negative feedback)

Page 17: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

17

© 2008 National Semiconductor Corporation

Transimpedance Amp

critically dampedPM = 45 d

Transimpedance gainVo = -If * Rf

LMV794

Fp = 1/2piCfRf

damping or peaking

ROC = 20dB

ROC = 40dB

0 dB

20 dB

40 dB

60 dB

80 dB

100 dB

Freq (Hz)10M

Mag

(dB

)

100M1M100K10K1K100

LMV797

A

B

Page 18: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

18

© 2008 National Semiconductor Corporation

Intuitive Step: Are these TIA Circuits Stable over the Freq Range Shown?

Transimpedance gainVo = -If * Rf

LMV794

ROC = 40dB

0 dB

20 dB

40 dB

60 dB

80 dB

100 dB

Freq (Hz)10M

Mag

(dB

)

100M1M100K10K1K100

LMV797

a) Yes LMV797

b) No LMV794

c) No both

d) Yes both

e) Yes a) and b)

FcFzf Fi

Page 19: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

19

© 2008 National Semiconductor Corporation

What is the Advantage of the LMV794 over the LMV797?

Aol

Signal Bandwidth

0 dB

20 dB

40 dB

60 dB

80 dB

100 dB

Freq (Hz)10M

Mag

(dB

)

100M1M100K10K1K100

15 dB

5x

LMV797

LMV794

Page 20: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

20

© 2008 National Semiconductor Corporation

TIA w/LMV794 Data

• Customer sees LMV794 as no better than LMV797

• Noise is a concern• Signal bandwidth/cost

advantage not understood

• No need for transient clamps with LMV794 or 797

Page 21: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

21

© 2008 National Semiconductor Corporation

Follow Up

• Selling the customer– FAE on the bench with him taking data. – Poor results– Follow up

Page 22: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

22

© 2008 National Semiconductor Corporation

Diff amp – Application Specs

• Customer needed – Differential Gain~20-50 @ 500 KHz– Single supply Vcc = 5V– Two TIA photodiode circuits are input signal

V1 and signal V2

– No precision

• Offered LMV797, LMV794– Which is best? Lowest cost?

Page 23: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

23

© 2008 National Semiconductor Corporation

Diff Amp – Schematic Guess

• Gain of 20x

• Customer will use LMV797

• Customer is clear on how to use the part in a differential amp from the data sheet and apps notes

• Does he see that the LMV794 for Gain >10x will always be better?

Page 24: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

24

© 2008 National Semiconductor Corporation

Intuitive Step: Which are Best Design Practices for Bandpass

Filters?

• Design Q<5 single stages

• Design without using the Op amp pole as part of the circuit

• Design using >20Q2 op amp GBW

• Use PSpice to investigate

• Build on the bench

Page 25: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

25

© 2008 National Semiconductor Corporation

Tools

• Tools don’t work well with decompensated Op Amps

• Fixed Unity gain only

LMV792

LMH6628

Page 26: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

26

© 2008 National Semiconductor Corporation

Bench Comparison w LM833

LMV794 @ 5V compensated

[email protected]

LM833 @ 12V

LM833 @ 4.2V

Page 27: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

27

© 2008 National Semiconductor Corporation

Bandpass - Bode Plot

LMV797 any Cin/Cf ratio for min noise BWLMV794 ratio >10 or 20 dB

1/B = 1+ Rf/Rg

Aol

Signal Bandwidth

1/B = 1 + Cin/Cf

LMV797 GBW =17 MHzPM =45 d

0 dB

20 dB

40 dB

60 dB

80 dB

100 dB

Freq (Hz)

LMV794 GBW = 88 MHzPM =45 d @ Acl =20dB

Fp = 1/2piCfRf

10M

Mag

(dB

)

100M1M100K10K1K100

Fz = 1/2piCiRf

Page 28: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

28

© 2008 National Semiconductor Corporation

Customer Data – PQA – Application Specs

• Small % bad LMC6035 parts• What’s wrong with them?

Page 29: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

29

© 2008 National Semiconductor Corporation

Clock Buffer - Schematic

Page 30: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

30

© 2008 National Semiconductor Corporation

Clock – Differentiator

Aol

ROC = 40dB after Closed loop plot intersects Aopen loop

critically dampedPM = 45 d

Fz = 1/2pi10pF*4M = 4 KHz@20dB/dec

Phase is -90 +90 = 0 d

~Fp=1/2pi2nF*200

Page 31: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

31

© 2008 National Semiconductor Corporation

A Little Digging

Page 32: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

32

© 2008 National Semiconductor Corporation

Bench Results

• This is one fix with very minor affect on slew rate

• All LMC6035 parts respond properly

• I recommended Cf =< 1pF to the designer instead

Page 33: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

33

© 2008 National Semiconductor Corporation

Comparator Hysteresis - Specs

• Li-Ion Battery pack threshold sense

• ~1.5V Hysteresis

• Reset on drop below hysteresis

• Use range ~2.7 to 11.5VVref = 2.048V

Page 34: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

34

© 2008 National Semiconductor Corporation

Comparator Hysteresis - Design

• Input 2 cell li-ion 6.7V drops to Vtrip @ 5.2V – ~1.5V Hysteresis

• For 100mV Hyst – Gain =1/15– R1/R3= 1/g –VBlw/Vref = 12.46– For R1=1M, R3 = 80.25K– R2 = 650.1K

Vref = 2.048V

Page 35: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

35

© 2008 National Semiconductor Corporation

Intuitive Step: What Ratio Sets the Hysteresis Multiplier?

R1/R3

Page 36: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

36

© 2008 National Semiconductor Corporation

Comparator Sense – Apps Spec

• Vin = 60mV from negative rail – design error

• Vcc=5v

• +/-5V hysteresis – error must be mV

• Rest is done to data sheet

• Send best shot!

Page 37: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

37

© 2008 National Semiconductor Corporation

Comparator Sense - rail-or-elow-rail

Iin

• Design to data sheet - 5R’s

• Set Vtrip(-pin) = Iin*R1 ~1.5V– Chose Iset ~5uA – Chose R1~100K– Calc R2=(Vref-Iset*R1)/Iset for ~300k

• Set Vsense (+pin) to =>15mV +change for Vin=60mV

– Iin drops ~.15uA => R3~R1 and R4 slightly <R2

• +/-5V hysteresis – error must be mV change to 5mV

• • adj for Vos error R5 =1.76K

• Chose ratio R1/R2 = R3/R4 to reduce Ibias error

• Adjust for std values 1% or .1%

• Possible Combination Values from a solver R1=108.8K, R2=291.3K, R3=110K,R4=282.8K

R1

R1

R2Iset

R3

R4

R5

Page 38: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

38

© 2008 National Semiconductor Corporation

Intuitive Step: How do I Start, Low Side Sense for the LMP7300?

Iin

R1

R2Iset

R3

R4

R5

• A) Chose ratio R1/R2 = R3/R4 to reduce Ibias error

• B) Set Vsense (+pin) to =>15mV +change for Vin=60mV

• C) Set Vtrip(-pin) = Iin*R1 ~1.5V

– Chose Iset ~5uA – Chose R1~100K– Calc R2=(Vref-Iset*R1)/Iset for ~300k

• D) Decide to use std values 1% or .1%

• E) answers B) and C)

Page 39: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

39

© 2008 National Semiconductor Corporation

Intuitive Step: What Ratio Sets the High Side Sense Gain?

R1/R2

Page 40: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

40

© 2008 National Semiconductor Corporation

Excel Tool

• Solver is a must!

Page 41: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

41

Page 42: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

42

© 2008 National Semiconductor Corporation

Which values for Rf, Cf, Rg determine a single pole rolloff or low pass transfer function?

A. B. C. D. E.

20% 20% 20%20%20%

1010

Photo Diode Signal Paths Using Decompensated Amplifiers

A. Rg=1K, Rf=1M, Cf= .1uFB. Rg=1K, Rf=open(100M), Cf =.1uFC. Rg=open(100M), Rf=1K, Cf=.1uFD. answers b) and c)E. all of the above

Page 43: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

43

© 2008 National Semiconductor Corporation

Which values for Rf, Cf, Rg cause instability in the transfer function?

A. B. C. D. E.

20% 20% 20%20%20%

1010

Photo Diode Signal Paths Using Decompensated Amplifiers

A. Cg=1nF, Rf=1M, Cf= 10pFB. Cg=1nF, Rf =1M, Cf=openC. Cg=10pF, Rf=10K, Cf=1pFD. answers b) and c)E. all of the above

Page 44: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

44

© 2008 National Semiconductor Corporation

What are good practices when analyzing a high order or multi-pole circuit?

1010

Photo Diode Signal Paths Using Decompensated Amplifiers

A. B. C. D. E.

20% 20% 20%20%20%A. From the start use matrix algebra to find the poles and zeros

B. First simplify the circuit for an intuitive understanding

C. Go to the bench immediately, build the circuit and take photos

D. Begin with a simulator like Altium using the full circuit and trust completely in the simulator results

E. None of the above

Page 45: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

45

© 2008 National Semiconductor Corporation

What is the application total phase margin?

1010

Photo Diode Signal Paths Using Decompensated Amplifiers

A. B. C. D. E.

20% 20% 20%20%20%A. The difference in phase between the forward path and feedback path -180 degrees

B. The phase difference between F-3dB phase and FGBW phase @ minimum closed loop gain

C. The phase difference between the 1/B dominant pole and dominant zero @ unity gain -180 degrees

D. The op amp open loop phase plus 1/B phase at the point of intersection -180 degrees

E. None of the above

Page 46: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

46

© 2008 National Semiconductor Corporation

How do I start, low side sense for the LMP7300?

A. B. C. D. E.

0% 0% 0%0%0%

Photo Diode Signal Paths Using Decompensated Amplifiers

A. Chose ratio R1/R2 = R3/R4 to reduce Ibias errorB. Set Vsense (+pin) to =>15mV +change for

Vin=60mVC. Set Vtrip(-pin) = Iin*R1 ~1.5V

-- Chose Iset ~5uA -- Chose R1~100K-- Calc R2=(Vref-Iset*R1)/Iset for ~300k

D. Decide to use std values 1% or .1%E. answers B) and C)

1010

Page 47: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

47

© 2008 National Semiconductor Corporation

A. R1/R2B. R1/R3C. R3/R2D. R3/R4E. R1/R4

What ratio sets the Hysteresis multiplier?

A. B. C. D. E.

20% 20% 20%20%20%

1010

Photo Diode Signal Paths Using Decompensated Amplifiers

Page 48: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

48

© 2008 National Semiconductor Corporation

A. R1/R2B. R1/R3C. R3/R2D. R3/R4E. R1/R4

What ratio sets the high side sense gain?

A. B. C. D. E.

20% 20% 20%20%20%

1010

Photo Diode Signal Paths Using Decompensated Amplifiers

Page 49: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

49

© 2008 National Semiconductor Corporation

What is the advantage of the LMV794 over the LMV797?

Photo Diode Signal Paths Using Decompensated Amplifiers

Aol

Signal Bandwidth

0 dB

20 dB

40 dB

60 dB

80 dB

100 dB

Freq (Hz)10M

Mag

(dB

)

100M1M100K10K1K100

? dB

?x

LMV797

LMV794 1010

20%20%20%20%20% A. 10 dB Open Loop Gain

B. Lower cost $C. 3x Higher GBW D. Lower noise @ Gains <20dBE. None of the above

Page 50: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

50

© 2008 National Semiconductor Corporation

Are these TIA circuits stable over the freq range shown?

Photo Diode Signal Paths Using Decompensated Amplifiers

1010Transimpedance gainVo = -If * Rf

LMV794

ROC = 40dB

0 dB

20 dB

40 dB

60 dB

80 dB

100 dB

Freq (Hz)10M

Mag

(dB

)

100M1M100K10K1K100

LMV797

A. B. C. D. E.

20% 20% 20%20%20%

A. Yes LMV797

B. No LMV794

C. No both

D. Yes both

E. Yes a) and b)

Page 51: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

51

© 2008 National Semiconductor Corporation

Which are Best Design Practices for bandpass filters?

1010

Photo Diode Signal Paths Using Decompensated Amplifiers

A. B. C. D. E. F.

17% 17% 17%17%17%17%

A. Design high Q>10 single stagesB. Design using the Op amp pole as

part of the circuitC. Design using >20Q2 op amp GBWD. Use PSpice to investigateE. Build on the benchF. All except a) and b)

Page 52: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

52

Page 53: 1 Ron LaTour Applications Engineer Photo Diode Signal Paths Using Decompensated Amplifiers.

53

© 2008 National Semiconductor Corporation

Team Scores

0 Team 1

0 Team 2

0 Team 3

0 Team 4

0 Team 5