[TEST] Testing PD monitor #19

Closed
opened 2022-11-16 13:59:58 +08:00 by topquark12 · 11 comments
There is no content yet.

Frequency response of kirdy photo diode input.

Setup:

Stimulus : 408 uA RMS
DC bias : 1.44 mA
Injected current measured through ZCP30 50MHz AC/DC current probe.
Output signal measured at PD_MON net with x1 probe

Results:

-3dB bandwidth : 911 Hz

Frequency response of kirdy photo diode input. Setup: Stimulus : 408 uA RMS DC bias : 1.44 mA Injected current measured through ZCP30 50MHz AC/DC current probe. Output signal measured at PD_MON net with x1 probe Results: -3dB bandwidth : 911 Hz

After thinking more about it, we probably want to use a better op-amp there in the end.

After thinking more about it, we probably want to use a better op-amp there in the end.
Collaborator

I saw that at the end of the AFE front end, there is a LPF with a 1.5923566879kHz cutoff frequency and R100 output resistor at a large value(1k Ohm), which should be the contributing factor to the low bandwidth. They should be the contributing factor to the low bandwidth.

Why do we need such low cutoff frequency?
If the target cutoff frequency is such low, using a better opamp(with better GBW, bias current etc) may not improve performance I think.

image

I saw that at the end of the AFE front end, there is a LPF with a 1.5923566879kHz cutoff frequency and R100 output resistor at a large value(1k Ohm), which should be the contributing factor to the low bandwidth. They should be the contributing factor to the low bandwidth. Why do we need such low cutoff frequency? If the target cutoff frequency is such low, using a better opamp(with better GBW, bias current etc) may not improve performance I think. ![image](/attachments/96e91a2b-ca79-494e-a3e5-8073eb81b365)
Collaborator

TLV2172, Dual Channel CMOS Amplifier should be a reasonable opamp that we are looking for.
(Cost a HKD10.52 per pcs at 100 order quantity)

Transimpedance Amplifier Consideration:

  • CMOS/JFET type Amplifier for its low input bias current(pA order)
  • Enough GBW for loop stability at our desired bandwidth
    • 10MHz GBW
  • Low Input Bias Current for DC accuracy
    • 10 pA
  • Dual Rail OpAmp to remove the need for DC Bias

With some calculations and Simulations based on TI Application Notes, the Transimpedance AFE stage can handle 5MHz PD Signal.
Specification Used to Design Transimpedance Amplifier (Followed TI Application Notes)
image

TINA-TI SPICE Simulation Circuit
Photodiode_Circuit.png

Simulation Result:
The cursors measure the frequency response of the PD_MON net output
Photodiode_Simulation.png

TLV2172, Dual Channel CMOS Amplifier should be a reasonable opamp that we are looking for. (Cost a HKD10.52 per pcs at 100 order quantity) Transimpedance Amplifier Consideration: - CMOS/JFET type Amplifier for its low input bias current(pA order) - Enough GBW for loop stability at our desired bandwidth - 10MHz GBW - Low Input Bias Current for DC accuracy - 10 pA - Dual Rail OpAmp to remove the need for DC Bias With some calculations and Simulations based on TI Application Notes, the Transimpedance AFE stage can handle 5MHz PD Signal. Specification Used to Design Transimpedance Amplifier (Followed [TI Application Notes](https://www.ti.com/lit/an/sboa220a/sboa220a.pdf?ts=1697187312182&ref_url=https%253A%252F%252Fwww.google.com%252F)) ![image](/attachments/fe3544b6-d35e-4bb6-857c-588c86d5d137) TINA-TI SPICE Simulation Circuit ![Photodiode_Circuit.png](/attachments/2dd96ea0-cb43-4d76-ba5c-650ade5bb7f7) Simulation Result: The cursors measure the frequency response of the PD_MON net output ![Photodiode_Simulation.png](/attachments/f8d03bd4-11ca-4a15-8bc2-bbf3552f6468)

Why do we need such low cutoff frequency?

Might not really be a low-pass filter, could be mostly a capacitor to suppress ADC input current spikes. Also the 1k/100nF values could be just placeholders.

Dual Rail OpAmp to remove the need for DC Bias

Biasing a photodiode also reduces its capacitance.

> Why do we need such low cutoff frequency? Might not really be a low-pass filter, could be mostly a capacitor to suppress ADC input current spikes. Also the 1k/100nF values could be just placeholders. > Dual Rail OpAmp to remove the need for DC Bias Biasing a photodiode also reduces its capacitance.
Collaborator

I looked through different types of laser driver(LD) and concluded that the integrated photodiode(PD) capacitance can have a maximum 20pF. But, not all manufactures or types of LDs have their integrated PD fully specified. If there is tracking error specs for the integrated PD, it is in range of +-0.5dB to +-1.5dB.

Thus, the following design specification for the PD monitor(TIA+ADC+Voltage Reference) is revised:

PD Monitor Specs: (Ref: TI SBOA220A)
I_in Range = 0-2.5mA
V_out Rnage = 0-2.5V
Maximum Photodiode Capacitance = C_pd_max = 20pF
Precision = 0.25dB -> Error of +- 3%
Bandwidth(-3dB) = Depends on ADC Sampling Rate(Max sampling rate: 2.4M Sample/s)
Note: Initial Accuracy is not taken into account

OPA381: Transimpedance Amplifier

  • GBW at 5V supply: 18MHz
  • Typical Input Bias Current: 3pA
  • Typical Input Offset Voltage: 7uV
  • Cost: HKD 11.43
    image
    Note1: 2nd Pole for the LPF can be added using existing R and C pads for better cutoff and noise.
    Note2: R102 improves the capacitive load capability of OPA381 without adding any DC error.

Analog Front End Simulated Result:

  • Resulting Precision by AFE Circuit: +-0.275%
  • TIA Vrms Noise(at cutoff frequency 600kHz): 16.28uV <0.25LSB

Note: The following types of error is taken into account. Initial Accuracy of Rf, Temperature Drift of Rf, Max input bias current, Max input offset voltage, AFE total noise at 600kHz.

Frequency Response:
Frequency_Response

Noise Measurement:
Noise Figure

REF3033 Voltage Reference:

  • Cost: HKD 4.83
  • Output Voltage: 3.3V
  • Initial Accuracy: 0.2%
  • Temperature Coefficient(0-70/Degree): 50ppm/Degree
  • Thermal Hystersis: 100ppm
  • Long Term Stability: 25ppm
  • Output Noise Error: 69ppm
  • Resulting Error at full temperature 0-70 range: +-0.5694%

STM32F407 ADC:

  • Unadjusted Total Error: +-5LSB
  • Voltage per LSB at 12bit = 0.805 mV
  • Resulting Error: +-1.219696%
    Note: STM32 ADC is missing a lot of specification like noise, temperature coefficient etc.

Total Amount of Error combined = +-2.06% < +-3%

I will proceed with this design in the next, but should I add a trimming network with potentiometer to trim the feedback resistor in TIA to reduce the error even further?

I looked through different types of laser driver(LD) and concluded that the integrated photodiode(PD) capacitance can have a maximum 20pF. But, not all manufactures or types of LDs have their integrated PD fully specified. If there is tracking error specs for the integrated PD, it is in range of +-0.5dB to +-1.5dB. Thus, the following design specification for the PD monitor(TIA+ADC+Voltage Reference) is revised: PD Monitor Specs: (Ref: TI SBOA220A) I_in Range = 0-2.5mA V_out Rnage = 0-2.5V Maximum Photodiode Capacitance = C_pd_max = 20pF Precision = 0.25dB -> Error of +- 3% Bandwidth(-3dB) = Depends on ADC Sampling Rate(Max sampling rate: 2.4M Sample/s) Note: Initial Accuracy is not taken into account OPA381: Transimpedance Amplifier - GBW at 5V supply: 18MHz - Typical Input Bias Current: 3pA - Typical Input Offset Voltage: 7uV - Cost: HKD 11.43 ![image](/attachments/08fa7c5f-d5e5-4e64-92f6-af13d10b9514) Note1: 2nd Pole for the LPF can be added using existing R and C pads for better cutoff and noise. Note2: R102 improves the capacitive load capability of OPA381 without adding any DC error. Analog Front End Simulated Result: - Resulting Precision by AFE Circuit: +-0.275% - TIA Vrms Noise(at cutoff frequency 600kHz): 16.28uV <0.25LSB Note: The following types of error is taken into account. Initial Accuracy of Rf, Temperature Drift of Rf, Max input bias current, Max input offset voltage, AFE total noise at 600kHz. Frequency Response: ![Frequency_Response](/attachments/6e1b9ac9-f886-451e-90b4-08525e396d99) Noise Measurement: ![Noise Figure](/attachments/19b989d0-e2ce-450f-9ff8-6712d052aad4) REF3033 Voltage Reference: - Cost: HKD 4.83 - Output Voltage: 3.3V - Initial Accuracy: 0.2% - Temperature Coefficient(0-70/Degree): 50ppm/Degree - Thermal Hystersis: 100ppm - Long Term Stability: 25ppm - Output Noise Error: 69ppm - Resulting Error at full temperature 0-70 range: +-0.5694% STM32F407 ADC: - Unadjusted Total Error: +-5LSB - Voltage per LSB at 12bit = 0.805 mV - Resulting Error: +-1.219696% Note: STM32 ADC is missing a lot of specification like noise, temperature coefficient etc. Total Amount of Error combined = +-2.06% < +-3% I will proceed with this design in the next, but should I add a trimming network with potentiometer to trim the feedback resistor in TIA to reduce the error even further?

OPA381: Transimpedance Amplifier

Looks like a pretty old and niche part without exceptional performance. Any particular reason why you picked that one?

Generally I find the Burr-Brown photodiode-related products not to be all that great compared to their other ICs. We can probably get better results with a regular op-amp wired up as a TIA.

should I add a trimming network with potentiometer to trim the feedback resistor in TIA to reduce the error even further?

This could be trimmed in firmware in any case, no?

> OPA381: Transimpedance Amplifier Looks like a pretty old and niche part without exceptional performance. Any particular reason why you picked that one? Generally I find the Burr-Brown photodiode-related products not to be all that great compared to their other ICs. We can probably get better results with a regular op-amp wired up as a TIA. > should I add a trimming network with potentiometer to trim the feedback resistor in TIA to reduce the error even further? This could be trimmed in firmware in any case, no?
Collaborator

Looks like a pretty old and niche part without exceptional performance. Any particular reason why you picked that one?

OPA381 has lower input offset current and input offset voltage than the other opamp at similar price range and in the input voltage range that accept(+15V to -6V). It also achieve this performance in reasonably low power(0.8mA).
(I only looked through TI's catalog)

I think improving Analog Front End further may not yield better result unless a discrete ADC is used. Now, the bottleneck comes from STM32 ADC. I think OPA381 already meets the specification requirement and so it should be good enough?

This could be trimmed in firmware in any case, no?

Ar yes, it should not have any differences if it does not hit the upper bound of the input voltage range.

> Looks like a pretty old and niche part without exceptional performance. Any particular reason why you picked that one? OPA381 has lower input offset current and input offset voltage than the other opamp at similar price range and in the input voltage range that accept(+15V to -6V). It also achieve this performance in reasonably low power(0.8mA). (I only looked through TI's catalog) I think improving Analog Front End further may not yield better result unless a discrete ADC is used. Now, the bottleneck comes from STM32 ADC. I think OPA381 already meets the specification requirement and so it should be good enough? > This could be trimmed in firmware in any case, no? Ar yes, it should not have any differences if it does not hit the upper bound of the input voltage range.

I think OPA381 already meets the specification requirement and so it should be good enough?

Maybe but the requirement isn't high and we can probably find a IC that is cheaper and/or already used on other Sinara boards.

> I think OPA381 already meets the specification requirement and so it should be good enough? Maybe but the requirement isn't high and we can probably find a IC that is cheaper and/or already used on other Sinara boards.
Collaborator

Maybe but the requirement isn't high and we can probably find a IC that is cheaper and/or already used on other Sinara boards.

Okay. Will look into other options later.

> Maybe but the requirement isn't high and we can probably find a IC that is cheaper and/or already used on other Sinara boards. Okay. Will look into other options later.
Collaborator

Maybe but the requirement isn't high and we can probably find a IC that is cheaper and/or already used on other Sinara boards.

TL082 is used in Driver Sinara boards to monitor the output current of its laser driver. It is a industry standard OpAmp with other manufacturers it in the same pinout and P/N.

TI TL082: Dual JFET OpAmp

  • GBW: 5.25MHz
  • Input Bias Current: Typical: +-1pA | Max: +-120pA)
  • Input Offset Voltage: Typical: +-1mV | Max: +-4mV
  • Cost: HKD 2 per pcs at 100pcs
    image

Frequency Response(@PD_MON Output):
TL082_Frequency_Response

Total Noise Output(@PD_MON Output):
TL082_Total_Noise_Output

Max Error (AFE + ADC + ADC) = 2.91% < 3%
Root Sum Square Error = 1.75108% < 3%

This should be cheap and good enough for our design goal.

> Maybe but the requirement isn't high and we can probably find a IC that is cheaper and/or already used on other Sinara boards. TL082 is used in [Driver](https://github.com/sinara-hw/Driver) Sinara boards to monitor the output current of its laser driver. It is a industry standard OpAmp with other manufacturers it in the same pinout and P/N. TI [TL082](https://www.ti.com/lit/ds/symlink/tl081h.pdf?HQS=dis-mous-null-mousermode-dsf-pf-null-wwe&ts=1697675907754&ref_url=https%253A%252F%252Fwww.mouser.tw%252F): Dual JFET OpAmp - GBW: 5.25MHz - Input Bias Current: Typical: +-1pA | Max: +-120pA) - Input Offset Voltage: Typical: +-1mV | Max: +-4mV - Cost: HKD 2 per pcs at 100pcs ![image](/attachments/c68c4250-22f8-4818-a20a-15401e876089) Frequency Response(@PD_MON Output): ![TL082_Frequency_Response](/attachments/df7ffc59-227d-4a0e-8a6e-4b5a606d2955) Total Noise Output(@PD_MON Output): ![TL082_Total_Noise_Output](/attachments/c0ca9355-cef8-4b98-83d0-21e227d2b931) Max Error (AFE + ADC + ADC) = 2.91% < 3% Root Sum Square Error = 1.75108% < 3% This should be cheap and good enough for our design goal.
sb10q closed this issue 2024-01-23 18:00:33 +08:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sinara-hw/kirdy#19
There is no content yet.