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.
Tab to a numbered part (or tap it) to jump to its description. The same parts as a list:
2Major components
What every part does, and how.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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.
Refraction and focus
Glass slows light, so a curved lens bends rays from one point of the scene back to one point on the sensor.
The photoelectric effect
A photon with enough energy frees an electron in silicon. More light, more electrons, until the pixel's well is full.
Images are arrays of numbers
Every photo is a grid of numbers. Brightness, noise and colour are all arithmetic on that grid.
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.N² / t = 64 / 0.008 = 8000
- 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.d = 2.44 × 0.55 × 8
- 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.
Layer 1
Readout
Column amplifiers and analogue-to-digital converters turn pixel charge into numbers.
Layer 2
Pipeline
Black level, demosaic, white balance, noise reduction, sharpening, compression.
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.
- 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.
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.
Observation
Stops by experiment
- Use a phone camera's 'pro' or manual mode if it has one.
- Photograph the same scene at one shutter time, then at double and half that time.
- 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.
Observation
Rolling shutter spotting
- Film a spinning desk fan from a safe distance.
- Look for bent or broken blades in the video.
- 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