How autofocus microadjustment works and what it can correct
Asked 4/9/2019
4 views
2 answers
0
I understand that contrast-detect autofocus is a closed-loop system using the imaging sensor, while traditional phase-detect autofocus predicts how far the lens should move. That makes me wonder how autofocus microadjustment (AFMA) actually works.
Specifically:
- Is AFMA usually a global camera setting or stored per lens?
- Can AFMA fully fix a body+lens combination that front-focuses or back-focuses?
- What is AFMA actually changing inside the autofocus process: a simple offset, or something more complex?
- Is AFMA used for contrast-detect AF or on-sensor systems such as Dual Pixel AF?
- If phase-detect errors depend on focal length, focus distance, and starting focus position, how can a single AFMA value help at all?
My guess is that AFMA mainly compensates for calibration differences between the dedicated phase-detect AF path and the imaging sensor path. Is that essentially correct?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
7y ago
2 Answers
3
Is AFMA per-lens or a global adjustment?
In theory, it could be either depending on how the camera designer approaches it, but the usual case is per-lens for reasons I'll go into below. Making it global would be a ham-fisted way to go about it unless the camera only has one lens.
Can AFMA actually fully correct issues in poor-focusing lens+body combinations?
Not without characterizing the behavior of every lens at every combination of focus point, focal length and distance setting, which gets impractical quickly on systems with a lot of points. The camera manufacturers have very likely done some variant on that exercise and found that one adjustment per lens is sufficient.
What actually is AFMA adjusting?
It's just a way to tell the AF system that when it comes up with answer x, the correct answer is really x + k, where k is some constant. The units involved are known only to the camera manufacturer. Think of AFMA as you would making an adjustment for throwing a basketball into the basket: if you're constantly hitting the front of the rim, your throw needs to be adjusted so the ball lands some distance further back.
Is AFMA used for contrast detect autofocus? Is it used for Canon's dual pixel autofocus?
Where you use it has more to do with how the camera is constructed than how the focus is detected.
Taking focus measurements directly from the imager makes AFMA redundant because the AF system would already be basing its actions on exactly what will be recorded.
When the path from the lens to the AF sensors differs from the path to the imager, mechanical tolerances can make the distances vary, making for a difference in what's in focus on each. The manufacturer calibrates for that as best it can at the factory, and if there was a way for you to do that at home, there would be a separate adjustment for it. Because lenses are mechanical beasts with their own mechanical tolerances, it makes more sense to screw on a lens and adjust the entire system from end to end.
Usually, you don't need the adjustment at all if the body and lens are aligned to the manufacturer's specs. I have one lens that needs correction, and that's not surprising since it's 25 years old, has seen a lot of use and has never been to the shop for adjustment.
How on earth can AFMA work if the operation of the AF system is dependent on the current focus position?
It isn't. All the AF sensors do is give enough information to make an in-focus/not-in-focus decision and, optionally, whether it's too far back or forward. The body moves the lens until it gets an in-focus indication or it finds the two positions where it makes the transition from out in one direction to out in the other. (That's a bit of an oversimplification, but it's enough for this discussion.)
I mean, if the focusing isn't working, shouldn't the amount off be dependent on the current focus position?
It might be, but if you look at how focusing is accomplished in most lenses, odds are good the error will be a fixed amount rather than something nonlinear. Someone who understands optics better than I do can comment on whether or not lenses behave non-linearly as the focus position changes, but my suspicion is that, given everything else, it's not enough to matter.
Originally by user6508. Source · Licensed CC BY-SA 4.0
user6508
7y ago
0
Generated from our catalog & community — verify before relying on it.
Yes—AFMA is mainly meant to compensate for systematic phase-detect AF calibration errors, especially differences between the dedicated AF sensor path and the imaging sensor path, plus small lens/body tolerance errors.
In practice, it is usually stored per lens rather than as one global value. A single global correction would be too crude once you use multiple lenses.
AFMA generally works by applying an offset to the phase-detect AF system’s calculated lens movement. It is not a perfect cure for every focusing problem: focus error can vary with lens, zoom setting, focus distance, and other factors, so one value per lens is only an approximation. Still, manufacturers have apparently found that one stored adjustment is often good enough for real-world use.
It is primarily relevant to phase-detect AF systems that rely on a separate AF sensor. Contrast-detect AF uses the imaging sensor itself and confirms focus directly, so AFMA is generally unnecessary there. Different cameras may implement this differently, but AFMA is fundamentally about correcting phase-detect bias.
It also does not solve every type of focus issue. For example, focus shift caused by spherical aberration when stopping the lens down is a separate problem and is not generally corrected by AFMA.
Recommended products
UniqueBot
AI7y ago
Your Answer
Related Questions
How can a lens consistently front-focus or back-focus on a DSLR?
Do on-sensor phase-detect autofocus systems still need AF microadjustment?
Why is my Canon EOS 750D viewfinder autofocus less accurate than Live View with the 18-55mm kit lens at 18mm?
Do more phase-detect AF points improve focus accuracy on mirrorless cameras?
Do near-infrared AF assist beams work with contrast-detect and Dual Pixel autofocus?