Skip to content
Tactiverge

Digital camera

Three dials decide how much light arrives: the hole, the time and the sensor's gain.

A camera is a light-measuring instrument. The lens bends light to a focus, the aperture sets how wide the opening is, the shutter sets for how long, and an image sensor counts photons in millions of tiny wells. A processor then turns those counts into a picture.

  • 7 components
  • 2 worked equations
  • 1 live model
  • 2 safe experiments

1Exploded view

Take the digital camera apart.

plate 03 · digital camera, isometric, exploded

Tab to a numbered part (or tap it) to jump to its description. The same parts as a list:

  1. 1Lens barrel
  2. 2Aperture diaphragm
  3. 3Shutter
  4. 4Image sensor
  5. 5Body
  6. 6Image processor
  7. 7Battery

2Major components

What every part does, and how.

  1. 01

    Lens barrel

    A stack of glass elements that brings light to a sharp focus on the sensor.

    how →Several elements of different glass cancel each other's colour and shape errors; focus moves one group back and forth.

  2. 02

    Aperture diaphragm

    Overlapping blades that open or close the hole the light passes through.

    how →The f-number N = focal length ÷ opening diameter. Each step of √2 in N halves the light.

  3. 03

    Shutter

    Sets how long light reaches the sensor, from seconds down to a few thousandths of a second.

    how →Two curtains travel across the sensor: the first opens it and the second closes it. Many cameras can also do this electronically.

  4. 04

    Image sensor

    Millions of photodiodes, each under a red, green or blue filter, turn light into charge.

    how →A photon frees an electron in the silicon; the charge collected in each pixel is read out and converted to a number.

  5. 05

    Body

    Holds everything at exact distances and carries the controls.

    how →The distance from lens mount to sensor must be held to fractions of a millimetre or nothing focuses.

  6. 06

    Image processor

    Turns raw counts into a colour image: fills in colours, removes noise, compresses.

    how →Demosaicing guesses the two missing colours at each pixel from its neighbours.

  7. 07

    Battery

    Powers the sensor, processor, screen and focus motors.

    how →Short bursts of high current (focusing, writing files) matter as much as the average.

3System relationships

Where the energy and information go.

Each block is a part (or the world outside). Solid lines carry energy, dashed lines carry information, dotted lines carry matter such as water or air.

Light from sceneLensfocusAperturehow wideShutterhow longImage sensorphotons → countsBatteryImage processorPhoto fileon the card
Energy (solid)Information (dashed)Matter (dotted) Source Sense Decide Convert Store Output

Flows, in order

  • Light from scene sends energy to Lensenergy: light
  • Lens sends energy to Apertureenergy: focused light
  • Aperture sends energy to Shutterenergy: limited light
  • Shutter sends energy to Image sensorenergy: exposure
  • Image sensor sends information to Image processorinformation: raw counts
  • Battery sends energy to Image processorenergy: power
  • Image processor sends information to Photo fileinformation: image

Loops that close

  • Image processor feeds back to Lensinformation: autofocus, metering

4Physical principles

The physics doing the work.

5Mathematical foundations

The equations, with real numbers in them.

Exposure value

EV = log₂(N² / t)

EV
exposure value (at ISO 100) [stops]
N
f-number [–]
t
shutter time [s]

Worked example

  1. 1.N² / t = 64 / 0.008 = 8000
  2. 2.log₂(8000) ≈ 12.97, so about EV 13
Exposure value
12.97 EV

AssumesStandard definition of EV at ISO 100. EV 13 is about right for a lightly overcast day.

Diffraction blur

d = 2.44 · λ · N

d
Airy disc diameter [µm]
λ
wavelength of light [µm]
N
f-number [–]

Worked example

  1. 1.d = 2.44 × 0.55 × 8
  2. 2.d ≈ 10.7 µm, wider than a typical 4 µm pixel
Blur spot diameter
10.7 µm

AssumesA perfect lens at green light (550 nm). Real lenses add their own aberrations.

6Computing architecture

The computer inside the system.

A dedicated image processor runs a fixed pipeline on every frame, with a general processor for menus and autofocus decisions.

  1. Layer 1

    Readout

    Column amplifiers and analogue-to-digital converters turn pixel charge into numbers.

  2. Layer 2

    Pipeline

    Black level, demosaic, white balance, noise reduction, sharpening, compression.

  3. Layer 3

    Control

    Metering and autofocus loops adjust exposure and lens position between frames.

7Engineering trade-offs

Every choice costs something.

  • Smaller aperture (bigger f-number)

    Gain:More of the scene in focus.

    Cost:Less light, and beyond a point diffraction blurs everything.

  • Shorter shutter time

    Gain:Freezes motion.

    Cost:Less light; you need a wider aperture or more gain.

  • Higher ISO (gain)

    Gain:Usable photos in dim light.

    Cost:Amplifies noise as well as signal.

8 · Try it · runs in your browser

Balance an exposure

Pick an aperture, shutter time and ISO for a scene. See whether the photo is too dark or too bright in stops, and when diffraction starts to blur pixels.

8.0 f/
125 1/s
100
13.0 EV
4.0 µm
Settings EV (ISO 100 equiv.)
13.0 EV
Exposure error
0.0 stops
Diffraction blur spot
10.7 µm

Well exposed; diffraction is blurring across several pixels.

two pixels wide29.50.0122Aperture (f-number) (f/)µm

ModelEV defined at ISO 100; positive error means more light than the scene needs. Diffraction uses the ideal Airy disc at 550 nm.

9Suggested safe experiments

Things to try, safely.

Every experiment here is virtual or a household-safe observation. Never open real devices, batteries or power supplies, never work on mains electricity, and never look at the Sun.

  1. Observation

    Stops by experiment

    1. Use a phone camera's 'pro' or manual mode if it has one.
    2. Photograph the same scene at one shutter time, then at double and half that time.
    3. Compare brightness: each doubling is one stop.

    Safety: Never point a camera, or your eyes, at the Sun. Do not open camera bodies or lenses.

  2. Observation

    Rolling shutter spotting

    1. Film a spinning desk fan from a safe distance.
    2. Look for bent or broken blades in the video.
    3. Explain it with the sensor being read out row by row.

    Safety: Keep fingers and the phone well away from the fan; observe only.

10Keep learning

Lessons, courses and videos.