Phase-detection autofocus (PDAF) estimates the direction and amount of focus error by comparing light received through different portions of the lens aperture. The camera uses that estimate to drive the lens toward focus. On-sensor PDAF integrates phase-detection information into the imaging sensor, while many DSLR systems historically used a separate autofocus module. The methods share the phase-detection principle but differ in optical path, calibration and operating conditions.
For a broader overview of the sensor and processing chain, see our guide to computational imaging.
How phase detection works
Light from opposite sides of the lens produces paired signals. When the lens is out of focus, the signals are displaced relative to one another. The displacement provides an estimate of the direction and magnitude of focus error. The camera then commands the lens motor and checks the result. Lens response, subject contrast, illumination and sensor readout affect the final focus accuracy.
Autofocus behaviour is also shaped by the sensor design, discussed in our article on digital sensor architecture.
Process map
Scene light → lens → phase-detection pixels or AF module → phase comparison → focus-error estimate → lens-drive command → verification.
Contrast-detection AF instead searches for a position that maximises image contrast. Hybrid systems can combine phase and contrast information, subject recognition and predictive tracking.
Documented evolution examples
- DSLR phase-detection: dedicated AF modules provided fast phase measurements through the reflex-mirror optical path.
- 2013 – Canon EOS 70D: Dual Pixel CMOS AF introduced on-sensor phase detection for Live View and video. See Canon’s announcement.
- Modern mirrorless systems: on-sensor phase detection is combined with subject detection and tracking; implementation and coverage vary by camera and firmware.
What can cause focus errors?
Low light, low contrast, repetitive patterns, backlighting, subject occlusion, lens backlash, focus breathing and lens-drive speed can affect the result. A system may detect the correct subject but still miss focus because the lens cannot move quickly enough or the camera’s prediction is wrong.
Controlled comparison protocol
- Record exact camera, lens, firmware and AF settings.
- Use a target that approaches, retreats and moves laterally at repeatable speeds.
- Test static acquisition, continuous tracking and reacquisition after occlusion.
- Measure acquisition time, focus error, hit rate and failure rate.
- Repeat in low light, backlight and with different lens motors.
- Publish sample size, sharpness criterion and test footage.
Conclusion
PDAF provides directional focus information, but real-world performance depends on the entire camera-lens loop. A process diagram and dated milestones explain the technology; a named-model comparison requires repeatable tests and published results.
For a related explanation of how shutter readout affects camera operation, see global shutter cameras.