How Does Traditional Digital SLR AF Work?
Canon's EOS DSLR traditional AF system illustration
By Rudy Winston
By: Rudy Winston
May 24, 2017
Today’s digital SLR cameras usually have two distinct Autofocus systems — what we now think of as traditional AF you get through the optical viewfinder; and (usually) a separate AF system for focus using the LCD monitor to view your scene, when shooting with Live View or recording video. They’re very different:
- Viewfinder AF:
Usually relies on a totally separate AF sensor for focus detection, and always uses what’s called Phase Detection technology.
- Live View and video AF:
Uses pixels on the actual camera imaging sensor to read focus information. Early systems simply read blurriness or sharpness off the image sensor; this is called Contrast Detection AF. (This is still used in some competitive brand interchangeable-lens cameras.) More sophisticated systems utilize individual pixels, or groups of pixels, on the image sensor and make comparisons of data to detect when a subject is focused or not…this approach is also called Phase Detection.
- Viewfinder AF:
We’ll discuss the many advantages that traditional through-the-viewfinder AF systems offer in this series of AF articles. But before we dive in, it may be helpful to have a quick understanding of how AF has typically worked in our SLR cameras since these systems were introduced back in the mid-1980s.
The phase detection concept
With the vast majority of SLR cameras offering autofocus, whether film or digital, a separate and completely independent sensor is placed in the camera body — usually beneath the mirror box, in front of the film plane. With the camera’s reflex mirror in its normal down position, some light goes through a semi-transparent area in the middle of this main mirror, and is reflected by a smaller, secondary mirror downward, toward a very sophisticated and precise set of optics which split the incoming light into two distinct and sharply focused rays. These are then focused upon a sensor with rows of light-sensitive pixels. (This definitely is not the imaging sensor; it’s the AF sensor).
How can an AF sensor tell when an image is in-focus? Every line of pixels is actually a pair of lines, arranged in the same direction. We just mentioned that incoming light is split into two separate and sharply-focused beams, which shine upon these tiny rows of individual pixels.
Engineers discovered early-on a very interesting natural phenomenon of these light beams: when the camera lens is focused sharply at a given AF point, these beams would split evenly, and strike the pixel(s) in the middle of both rows on the AF sensor. By reading-out each light-gathering pixel independently, when those known to be in the exact center register brightness, the AF system knows that the lens is now in-focus.
And, here’s the important thing about phase detect AF: when the camera’s lens is focused too close and AF is aimed at a subject, the beams of light move, in tandem, closer together. The pixels on the pair of line sensors toward the inside register light hitting them, and the camera instantly knows two things: not only that the lens isn’t in focus, but that to achieve focus, the lens has to be driven further away, in the direction of “infinity.”
Likewise, if the two beams of light spread further apart, and strike a pixel on each row that’s away from center, the AF sensor knows instantly that the lens is focused too far, and that focus must be driven closer. As the lens is being focused, the position of these two beams of incoming light hitting the AF sensor continue to be registered, and when they strike the dead-center of each row of pixels, AF stops. The lens is focused on the subject it’s being aimed at.
What’s the benefit of this traditional, phase-detect AF?
Even with the advance of different AF systems that can read focus during Live View off the imaging sensor, traditional “through the viewfinder” phase-detect AF systems have some powerful advantages for today’s digital photographers working with SLR cameras. While exact performance specs and features can and do vary from one camera model to the next, here are some important benefits that the modern DSLR often provides with its viewfinder AF:
- Instant focus response, to drive the lens in the proper direction
- Very little tendency to “hunt” back and forth to find sharpest focus…unlike many contrast-detection focus systems (often used by competitive cameras for video and Live View focus), phase detect systems through the viewfinder know the instant sharp focus is achieved, and can be programmed to stop on a proverbial “dime” to that focus setting
- Ability to read and drive a lens toward proper focus, even when AF begins with lens very out-of-focus (example: if a macro lens has previously been left at its nearest focus distance, and subsequently is picked up and focused upon a distant subject). Just as a point of reference, if a lens is in a totally out-of-focus state, this is often called “defocus” by camera experts.
- Ability to continually update AF, on a shot-by-shot basis, to follow moving subjects
- For more than 20 years, “predictive” AF technology with moving subjects…not only does the AF system know the direction to focus the lens, and have ability to follow moving subjects, but it adds ability to predict the degree of subject movement in the instant that occurs before focus detection ends (as the main mirror rises) and the shutter fires a split-second later. Modern AF systems continue to drive the lens until the last possible instant, to insure that athletes, birds in flight, or other moving subjects can be captured in sharp sequences. (Canon calls this predictive focus element “AI Servo AF,” with AI meaning Artificial Intelligence.)
And, ability for different AF points on the AF sensor to provide “cross-type” AF coverage, for even better recognition and focus on many hard-to-focus subjects. This will be the subject of our next article.