SLVAEX3 October   2020 TPS8802 , TPS8804

 

  1.   Trademarks
  2. 1Introduction
  3. 2SNR Optimization
    1. 2.1 SNR Overview
    2. 2.2 Smoke Concentration Measurement
    3. 2.3 Amplifier and LED Settings
      1. 2.3.1 Photo Amplifier Gain
      2. 2.3.2 Photo Amplifier and AMUX Speed
      3. 2.3.3 LED Current and Pulse Width
    4. 2.4 ADC Sampling and Digital Filtering
      1. 2.4.1 ADC Sampling
      2. 2.4.2 Digital Filtering
  4. 3System Modeling
    1. 3.1 Impulse Response
      1. 3.1.1 Photodiode Input Amplifier Model
      2. 3.1.2 Photodiode Gain Amplifier and AMUX Buffer Model
      3. 3.1.3 Combined Signal Chain
    2. 3.2 Noise Modeling
      1. 3.2.1 Noise Sources
      2. 3.2.2 Output Voltage Noise Model
      3. 3.2.3 ADC Quantization Noise
    3. 3.3 SNR Calculation
      1. 3.3.1 Single ADC Sample
      2. 3.3.2 Two ADC Samples
      3. 3.3.3 Multiple Base ADC Samples
      4. 3.3.4 Multiple Top ADC Samples
      5. 3.3.5 Multiple ADC Sample Simulation
  5. 4SNR Measurements
    1. 4.1 Measurement Procedure
    2. 4.2 Measurement Processing
    3. 4.3 Measurement Results
      1. 4.3.1 Varying Amplifier Speeds
      2. 4.3.2 Varying Digital Filter and ADC Timing
      3. 4.3.3 Varying LED Pulse Length
      4. 4.3.4 Varying ADC Sample Rate
      5. 4.3.5 Real and Ideal System Conditions
      6. 4.3.6 Number of Base Samples
      7. 4.3.7 ADC Resolution
  6. 5Summary
  7. 6References

Measurement Processing

In MATLAB, each waveform is convolved with a symmetric 21-point (210 ns) Hann window to reduce quantization noise caused by the 8-bit oscilloscope ADC. Samples are selected from the waveform using four parameters: first top sample time tTOP, sampling time interval tSAMP, number of top samples NTOP, and number of base samples NBASE. The base samples are selected starting at time zero, when the LED is enabled, and moving backward in time by tSAMP increments. The number of base samples used in each SNR calculation is shown in Equation 21. This number sufficiently causes the DC voltage measurement noise to not dominate the total measurement noise.

Equation 21. N B A S E = 2 × t L E D t S A M P
GUID-20200930-CA0I-WJD5-S4R4-LG6BJPVNKT8W-low.gif Figure 4-6 Photo Amplifier Signal With Base ADC Samples Highlighted

Each top sample is subtracted by the average of the base samples. This removes the DC level on the signal. The DC removed signal and ADC samples is shown in Figure 4-7. Two sets of ADC samples are shown: a set centered on the time when the LED is disabled, and an optimal set for maximizing SNR.

GUID-20200930-CA0I-2CC8-9VTQ-PSPTKWDPMSV7-low.gif Figure 4-7 DC Removed Photo Amplifier Signal With Top ADC Samples Highlighted

Each sample is then scaled by a weight corresponding to the filter used. The averaging filter has equal weights, the matched filter has weights proportional to the noiseless DC-removed pulse shape, and the unconstrained filter can have any weight.

GUID-20200930-CA0I-KHVR-JWH7-QVSWZ0KH6HPJ-low.gif Figure 4-8 Centered and Optimized Digital Filter Weights and ADC Timing

The weighted samples are added together to obtain the signal amplitude. The signal amplitude is obtained for each of the 100 waveforms measured by the oscilloscope.

GUID-20200930-CA0I-JXJD-PD4Z-B7SFCCBNWB3C-low.gif Figure 4-9 Signal Amplitude After Applying Centered and Optimized Digital Filters

The mean value of the signal amplitude across each waveform is the signal level, and the standard deviation of the signal amplitude across each waveform is the noise level. Dividing the signal level by the noise level calculates the signal-to-noise ratio. The SNR is then divided by the 2.7 nA photodiode current to obtain the SNR at 1 nA photodiode current. The SNR at 1 nA allows anyone to calculate the SNR of the photodiode signal in a system if the system’s photodiode current is known. The SNR at 1 nA is reported here as a unitless ratio and can be converted to decibels by taking the base-10 logarithm and multiplying by 20.

GUID-20200930-CA0I-9KNZ-WR9J-K5L38ZW25R2B-low.gif Figure 4-10 SNR at 1 nA Calculated From the Mean and Standard Deviation of Signal Amplitudes

The process is repeated varying different parameters in the system. For example, the data in Figure 4-10 is a portion of the data in Figure 4-13. The rest of the data in Figure 4-13 is collected by varying the number of ADC samples used.

This method of calculating signal-to-noise ratio is formulated into a function and passed to a nonlinear programming solver fminsearch to optimize tTOP and the unconstrained filter weights. The solver requires an initial guess for the optimized parameters. The first sample time is initialized such that the signal samples are centered on the time when the LED is disabled. The unconstrained filter weights are initialized to the matched filter weights. A first pass optimization is performed by varying the first sample time by tLED/2 in 1 μs steps and recording the first sample time that achieves the best SNR. This first sample time is then used as the initial guess in the solver. The solver always finds a solution equal to or better than the initial guess, but may not find the optimal configuration.