Photodiode Monitor Current Range should be Selectable #45

Open
opened 2024-06-12 11:01:10 +08:00 by linuswck · 3 comments
Member

Hardware Revision: Rev0_3

Description:
Laser diode's integrated photodiode (PD) monitor (Mon) can have very different responsivity. STM32F407 ADC's resolution is 12bit (805.6640nA/LSB in 0-3.3mA Full range). This current resolution is not enough for laser diode with a small PD Mon full range.

Therefore, PD Mon Circuit's gain should be configurable. This can be achieved with Pin/Digitally Programmable Gain Amplifier (such as TI's PGA308) or simply some selectable gain resistor.

Hardware Revision: Rev0_3 Description: Laser diode's integrated photodiode (PD) monitor (Mon) can have very different responsivity. STM32F407 ADC's resolution is 12bit (805.6640nA/LSB in 0-3.3mA Full range). This current resolution is not enough for laser diode with a small PD Mon full range. Therefore, PD Mon Circuit's gain should be configurable. This can be achieved with Pin/Digitally Programmable Gain Amplifier (such as TI's PGA308) or simply some selectable gain resistor.
Author
Member

Solution

Instead of using a PGA. Using multiple TIA Stage of different feedback resistor can achieve the goal to save cost.

This circuit structure is obtained from the Art of Electronics Book.
image
Note: Required Cutoff frequency = PCLK2 (84MHz) / 8 / 480 Cycles / 2 < 10.9375kHz

A prototype is built with the noise floor and functionalities verified. The TIA noise floor is probably overkill for the system but it may also be useful for other systems later. The bottleneck is on the bit resolution of ADC to be used. The noise floor can support 16 bit ADC @3.3V. During implementation, we can either connect the 3 output range to AD7172-2 with maximum sampling set or STM32 ADC.

Noise Density nV/rt(Hz) @ 1.32kohm Noise Density nV/rt(Hz) @ 4.41kohm Noise Density nV/rt(Hz) @ 13.17kohm
Johnson Noise @ 25 Degree 4.66094428200982 8.51934567910001 14.7224413600462
OpAmp Voltage Noise 9 9 9
Current Noise 0.10032 0.33516 1.00092
RSS Noise 10.1358011870005 12.3972409440811 17.2844473572747

Other Measurement Taken from the Prototype

Given the low noise floor. It will be interesting to also measure the limit of the TIA circuit. Trying to measure the measured shot noise from an incandescent lamp would be interesting. Suppose Shot Noise has the following characteristics.

Shot Noise ∝ SQRT(Signal Power)
So, plotting the signal power(PD Voltage) vs Noise should see a exponential curve.

The circuit is connected to be in following configuration. The measurement configuration is very similar to #17
PD → TIA(1.32kohm 1%)(Bandwidth 234.1055kHz) → 1st order HPF (11.2876kHz -3dB) -> 2000x Gain Block → 1st order LPF(56.4379kHz -3dB) -> HPF (6.7726 Hz -3dB) → Signal Analyzer
Note: The LPF is added to avoid saturating the SA DC Coupling Input.

Signal Analyzer Setup:
Input: DC Coupling 50Ohm Impedance(Required)
Sweep Point: 40001 pts(Maximum)
Frequency Range 11kHz-56kHz
BW: 1.0 Hz (Minimum)
AVG Type: RMS
AVG Pts: 30
Atten: 6dB(Minimum)

Noise Measurement Figure
Fitted Line: Quadratic fitting on the data points
Theoretical Model: y = Shot Noise @ Voltage Value + Measured Noise Floor
Normalized Theoretical Model: Multiply a constant to the theoretical model so that its x^2 coefficient matches the one in the fitted line

Fitted Line: y = 0.006051 x^2 - 0.01389 x - 0.5385
Theoretical Model: y = 0.003265 x^2 - 5.05e-16 x - 0.3907
Normalized Theoretical Model: y = 0.006051 x^2 - 9.36e-16 x - 0.7241

You can see the fitted line curve shape matches the shape of the normalized theoretical model.

When does Shot Noise dominate?

Here is the formula for the theoretical model above: Shot Noise @ x Voltage(A/rt(Hz)) =sqrt(2e * x / Rf)
Theoretical Noise @ x Voltage = sqrt((Shot Noise * Rf)^2 + Noise Floor^2)
Also, noise is added up with root sum squared operation.

Thus, we can know that theoretically, shot noise should dominate at the following optical power in different range.
In 0-2.5mA range, shot noise dominates @0.728V -> 552.07uA
In 0-750uA range, shot noise dominates @0.326V -> 73.9948769647867uA
In 0-250uA range, shot noise dominates @0.212V -> 16.127uA

# Solution Instead of using a PGA. Using multiple TIA Stage of different feedback resistor can achieve the goal to save cost. This circuit structure is obtained from the Art of Electronics Book. ![image](/attachments/9cbc0da1-e6ad-4882-a3cd-8502817b4fea) Note: Required Cutoff frequency = PCLK2 (84MHz) / 8 / 480 Cycles / 2 < 10.9375kHz A prototype is built with the noise floor and functionalities verified. The TIA noise floor is probably overkill for the system but it may also be useful for other systems later. The bottleneck is on the bit resolution of ADC to be used. The noise floor can support 16 bit ADC @3.3V. During implementation, we can either connect the 3 output range to AD7172-2 with maximum sampling set or STM32 ADC. | | Noise Density nV/rt(Hz) @ 1.32kohm | Noise Density nV/rt(Hz) @ 4.41kohm | Noise Density nV/rt(Hz) @ 13.17kohm | |---------------------------|------------------------------------|-----------------------------------|-------------------------------------| | Johnson Noise @ 25 Degree | 4.66094428200982 | 8.51934567910001 | 14.7224413600462 | | OpAmp Voltage Noise | 9 | 9 | 9 | | Current Noise | 0.10032 | 0.33516 | 1.00092 | | RSS Noise | 10.1358011870005 | 12.3972409440811 | 17.2844473572747 | ## Other Measurement Taken from the Prototype Given the low noise floor. It will be interesting to also measure the limit of the TIA circuit. Trying to measure the measured shot noise from an incandescent lamp would be interesting. Suppose Shot Noise has the following characteristics. Shot Noise ∝ SQRT(Signal Power) So, plotting the signal power(PD Voltage) vs Noise should see a exponential curve. The circuit is connected to be in following configuration. The measurement configuration is very similar to #17 PD → TIA(1.32kohm 1%)(Bandwidth 234.1055kHz) → 1st order HPF (11.2876kHz -3dB) -> 2000x Gain Block → 1st order LPF(56.4379kHz -3dB) -> HPF (6.7726 Hz -3dB) → Signal Analyzer Note: The LPF is added to avoid saturating the SA DC Coupling Input. Signal Analyzer Setup: Input: DC Coupling 50Ohm Impedance(Required) Sweep Point: 40001 pts(Maximum) Frequency Range 11kHz-56kHz BW: 1.0 Hz (Minimum) AVG Type: RMS AVG Pts: 30 Atten: 6dB(Minimum) ![Noise Measurement Figure](/attachments/81539fd8-ba2e-4246-a37a-5ad7e8176639) Fitted Line: Quadratic fitting on the data points Theoretical Model: y = Shot Noise @ Voltage Value + Measured Noise Floor Normalized Theoretical Model: Multiply a constant to the theoretical model so that its x^2 coefficient matches the one in the fitted line Fitted Line: y = 0.006051 x^2 - 0.01389 x - 0.5385 Theoretical Model: y = 0.003265 x^2 - 5.05e-16 x - 0.3907 Normalized Theoretical Model: y = 0.006051 x^2 - 9.36e-16 x - 0.7241 You can see the fitted line curve shape matches the shape of the normalized theoretical model. ## When does Shot Noise dominate? Here is the formula for the theoretical model above: Shot Noise @ **x** Voltage(A/rt(Hz)) =sqrt(2e * x / Rf) Theoretical Noise @ **x** Voltage = sqrt((Shot Noise * Rf)^2 + Noise Floor^2) Also, noise is added up with root sum squared operation. Thus, we can know that theoretically, shot noise should dominate at the following optical power in different range. In 0-2.5mA range, shot noise dominates @0.728V -> 552.07uA In 0-750uA range, shot noise dominates @0.326V -> 73.9948769647867uA In 0-250uA range, shot noise dominates @0.212V -> 16.127uA
Owner

I remember this circuit :)
However, its DC response will vary from device to device due to different Vth of JFETs; it will also vary with temperature.

I remember this circuit :) However, its DC response will vary from device to device due to different Vth of JFETs; it will also vary with temperature.
Owner

Maybe use a switched resistor approach. Low-cost reed relay would do the job.

Maybe use a switched resistor approach. Low-cost reed relay would do the job.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 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#45
No description provided.