Whitepaper: Optical Physics

Digital Sensor Characterization

A rigorous look at quantum efficiency, photon transfer curves, and characterizing sensor performance in a home laboratory setting.

1. The Architecture of Modern Capture

+-------------------------------------------------------------------+
|               BACK-ILLUMINATED (BSI) PIXEL ARRAY                 |
|               - Micro-lenses & Color Filter Array (Bayer)         |
|               - Near-100% Effective Fill Factor (Microlens Array) |
+-------------------------------------------------------------------+
                                  ||  (Cu-Cu Direct Bond Interconnects)
+-------------------------------------------------------------------+
|               HIGH-SPEED DIGITAL LOGIC & ADC LAYER                |
|               - Parallel Column-Parallel ADC Units                |
|               - High-Speed MIPI CSI-2 Serialization Logic          |
+-------------------------------------------------------------------+
Fig 1.1: Schematic cross-section of a 3-layer Stacked CMOS sensor with Cu-Cu interconnects.

A stacked back-illuminated sensor bonds a photodiode die to a separate logic die. The figure above is that stack: microlenses and a Bayer filter over the photodiodes, copper-to-copper bonds, then column-parallel ADCs and MIPI serialization on the logic die.

The split is the point of the stack. The photodiode die can be a process chosen for light collection, so the photodiode sets the fill factor. The readout transistors sit on the logic die, which can be a denser digital process for the ADCs. Cu-Cu (copper-to-copper) interconnects are the bonds between the two dies. Parallel column readout shortens the delay from the first row to the last. That delay is what makes rolling shutter visible. A global shutter is a different pixel circuit: it starts and ends exposure for every pixel at the same time.

2. The Photon Transfer Curve (PTC)

Reading the curve

A photon transfer curve (PTC) plots noise (standard deviation) against mean signal on a log-log scale. Three regimes show up on that plot:

  • Read Noise Regime: The flat floor on the left. This is the electronic noise inherent to the readout chain, independent of light.
  • Shot Noise Regime: The slope of 0.5 (or 1/2). Here, photon statistics dominate. Noise scales with the square root of the signal ($\sigma = \sqrt{S}$).
  • Full Well Saturation: The sharp drop-off on the right. The pixel is full, variance collapses because every pixel reads the maximum value.
Noise (Log σ)
  ^
  |        Shot Noise (Slope 1/2)
  |              /--------\  Full Well
  |             /          \ Saturation
  |  ----------/
  |  Read Noise Floor
  +---------------------------------->
  0                                Signal (Log S)
Fig 2.1: Idealized Photon Transfer Curve (PTC) log-log regimes.

3. Experiment: Generating Your Own PTC

You do not need a million-dollar lab to characterize your camera. You can generate a PTC using a standard digital camera capable of shooting RAW.

Equipment Required

Procedure

STEP 1: Set camera to base ISO. Turn off all noise reduction and lens corrections.

STEP 2: Defocus the lens completely on the flat light source. We want a uniform field, not an image of the pixels.

STEP 3: Shoot a series of pairs.
- Pair 1: 1/8000s (Black frame/Read noise)
- Pair 2: 1/4000s
- ...
- Pair N: 1s (Saturation)

STEP 4: Analyze.
For each pair, calculate the mean signal ($S$) and the variance ($\sigma^2$). Plot $\log(\sigma)$ vs $\log(S)$.

Python Analysis Snippet

Use the following snippet to process a pair of RAW files:

import rawpy import numpy as np import matplotlib.pyplot as plt def analyze_pair(file1, file2): raw1 = rawpy.imread(file1).raw_image_visible.astype(float) raw2 = rawpy.imread(file2).raw_image_visible.astype(float) # Difference image removes Fixed Pattern Noise diff = raw1 - raw2 # Calculate noise (std dev of difference / sqrt(2)) noise = np.std(diff) / 1.414 signal = np.mean(raw1) return signal, noise

4. Interactive Simulations

Two calculators follow. The first draws Poisson shot noise. The second computes dynamic range from full-well capacity and read noise.

Sim 1: Shot noise

Photon arrival is a Poisson process. The standard deviation of the count is the square root of the mean, so the same absolute noise is a larger fraction of the signal when the signal is small.

Target Signal (Photons/Pixel): 1000
Calculated SNR (dB): 30.0
Visual simulation of Poisson noise. Notice how noise dominates at lower signal levels.

Sim 2: Dynamic range

Set full-well capacity and read noise. Dynamic range is 20·log10(full well / read noise), in dB.

30000 e-
2.5 e- RMS
RESULTING DYNAMIC RANGE
81.6
dB
Formula: 20 * log10(FWC / ReadNoise)