S1 · Lesson 19 · Image sensors
Millions of photodiodes that count electrons: conversion gain, full well, read noise and dark current
A phone camera is an array of tens of millions of the photodiodes from lesson 18, each a few micrometers across, each collecting the electrons its light frees during an exposure. What makes one camera better than another is mostly device physics: how many electrons a pixel can hold before it overflows, how small a voltage each electron makes on the sense node, how many electrons of noise the readout adds, and how many the dark current leaks in. Those four numbers set the camera's dynamic range and its performance in dim light, and they're all things this course can calculate.
- The signal-to-noise ratio of a pixel against the number of signal electrons, with photon shot noise and a fixed read noise. The dashed line is shot noise alone, which rises as : 10 dB per decade.
- At low light the read noise dominates and the SNR rises 20 dB per decade; at high light shot noise dominates. The curve ends at the full-well capacity.
Predict
A pixel's sense node has 1.6 fF of capacitance. How much voltage does each collected electron produce?
= 100 µV per electron: the conversion gain. A small sense node makes each electron a large, easily measured voltage, which is why modern pixels transfer their charge from the photodiode onto a separate tiny floating diffusion before reading it.
Name it
A pixel
A photodiode integrates photocurrent during the exposure; incoming photons free electrons with quantum efficiency η, typically 50 to 80% in visible light for silicon. In a modern CMOS pixel, the charge is then transferred to a small floating diffusion of capacitance , buffered by a source follower and read out row by row.
- Conversion gain: , in microvolts per electron.
- Full-well capacity: the most electrons a pixel holds, set by the photodiode's capacity or the sense node's voltage swing, .
Noise
- Photon shot noise: light arrives randomly, so signal electrons carry of noise. It's in the light itself; no sensor can avoid it.
- Read noise: the readout chain adds a fixed noise, quoted in electrons: a few for a good CMOS sensor, below one electron in the best.
- Dark current: thermally generated electrons (lesson 3's generation), which roughly double every 6 to 8 °C, and whose number has its own shot noise.
The dynamic range is the full well over the read noise: .
Counting photons
The photons reaching a pixel of area in time under irradiance at wavelength λ number , of which become electrons.
CCD and CMOS
A CCD shifts every pixel's charge across the chip to one output amplifier, with excellent uniformity. A CMOS sensor puts an amplifier in every pixel and reads rows in parallel, with lower power and higher speed. Reading rows one after another gives CMOS sensors a rolling shutter: each row is exposed at a slightly different time, which skews fast-moving objects.
Worked example
A pixel has = 1.6 fF and a 1 V usable swing at the sense node, with 2 electrons of read noise. Find its conversion gain, full well, dynamic range, and SNR at 1000 electrons.
Show the solution
- Conversion gain.
- Full well.
- Dynamic range.
- SNR at 1000 electrons. or 30.0 dB: almost exactly the shot-noise limit, .
- Read noise. The read noise matters only in the last few tens of electrons.
Answer a conversion gain of 100 µV/e⁻, a full well of about 10,000 electrons, 74 dB of dynamic range, and an SNR of 31.6 (30.0 dB) at 1000 electrons.
Worked example
A 3 µm pixel with 60% quantum efficiency is exposed for 10 ms to 1 µW/cm² of 550 nm light. How many electrons does it collect, and what is its shot-noise-limited SNR?
Show the solution
- Energy on the pixel. The irradiance is 0.01 W/m² and the area m², so in 10 ms the energy is
- Photons. Each 550 nm photon carries so 2490 photons arrive.
- Electrons collected.
- Shot-noise SNR. or 31.7 dB.
- Smaller pixels. Halving the pixel's side quarters the electrons and halves the SNR: small pixels are noisier in dim light, whatever the electronics.
Answer about 1494 electrons, for a shot-noise-limited SNR of 38.7 (31.7 dB).
Worked example
A sensor has 5 electrons per second of dark current per pixel at 25 °C, doubling every 6 °C. In a 1 s exposure at 55 °C, how much dark noise does it add?
Show the solution
- Dark electrons at 55 °C. Thirty degrees is five doublings, so in a second
- Dark noise. The shot noise is six times the 2-electron read noise.
- Why cameras are cooled. Long exposures in a warm camera are limited by dark current, which is why astronomical cameras are cooled, often below −20 °C.
Answer 12.6 electrons rms of dark noise, from 160 dark electrons.
Check
A pixel's floating diffusion has 1.6 fF. What is its conversion gain, in µV per electron?
Write units the way you normally would: 1.5 µV, 1500 nV and 0.0015 mV are the same answer.
Check
A pixel has a full well of 10000 electrons and 1 electrons of read noise.
(a)
What is its dynamic range in dB?
(b)
What is its SNR in dB at 1000 signal electrons, with no dark current?
Check
A 1.5 µm pixel with quantum efficiency 0.7 is exposed for 33 ms to 1 µW/cm² of 550 nm light. How many electrons does it collect?
Check
A sensor's dark current is 5 e⁻/s at 25 °C and doubles every 8 °C. What is it 18 °C warmer, in e⁻/s?
Check
A rolling-shutter sensor reads 3000 rows, one every 5 µs. A vertical edge moves sideways at 20 pixels per millisecond.
(a)
How long after the top row is the bottom row exposed?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
(b)
By how many pixels is the edge skewed between top and bottom?
Check
In bright light, a camera's image noise is dominated by which source?
Check
Measure a sensor's conversion gain by the photon transfer method. Simulate 20 illumination levels with mean signals mu = numpy.linspace(100, 20000, 20) electrons. For each level, draw 5000 pixels as rng.poisson(mu) electrons plus rng.normal(0, r, 5000) electrons of read noise (with rng = numpy.random.default_rng(seed), poisson first then normal at each level), and convert to digital numbers by dividing by the gain g = 4 e⁻/DN. Fit a straight line to the variance (DN²) against the mean (DN) over all levels with numpy.polyfit; its slope is 1/gain. Set g_est and r_est (read noise in electrons, from the intercept as g_est; use 0 if the intercept is negative).
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Explain why
Phone makers shrank pixels from about 2 µm to under 1 µm while keeping the megapixel count rising. Explain why small pixels suffer in dim light, and why combining four small pixels into one ("binning") helps.
A pixel's signal in dim light is the number of photons landing on it times the quantum efficiency, and that scales with its area: halving the pixel's side quarters the electrons. Photon shot noise is , so the signal-to-noise ratio falls in proportion to the side, and read noise, fixed per pixel, eats into an already small signal, so dim scenes look grainy. Binning four pixels into one adds their electrons, four times the signal, and the shot noise adds as = 2, doubling the SNR to what a pixel of twice the side would give. If the binning is done in the charge domain before readout, the read noise is paid once instead of four times, which helps further. The camera trades resolution for SNR when the light is poor.
Practice
Keep practicing
8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.