How PD AF Works (was T2i - Can't get good focus, need help)

There is also a dead spot where fine focus adjustments within a given range, all cause the AF confirm to beep.
I call this "the beep band". The Manfrotto macro rail has an Allen head bolt in the end of the shaft, so you can put a hex key in it and wind the shaft very accurately (as long as you load up the backlash). With something like that you can play with the beep band all day.
 
What most posters want to know is why calibration is needed.
Go ahead and try to answer that question for them. I'm interested to know what you find, but it is not the question I am trying to answer.
 
the lens is in the right position and the target didn't move - that's how it's the final focus ring movement (another movement isn't required to achieve focus). Why does it require a flash of light after that to confirm focus?
To establish that no more movement is required (or performed.)
Excellent. The flash illuminates the AF sensor, the AF sensor says the phase difference is cancelled, the AF controller determines that no focus ring motion is required and confirms focus. That's it, we're done! Congratulations. :-)

FF and BF errors are caused by the interaction of the lens optics and the AF sensor, which is outside the scope of this model.
 
No-one spotted the huge errors in the pseudocode? :-)

The first version didn't work right for AI Servo, especially with a static target. This does -

function phase detect ()
.. if AF
..... if One-Shot
........ disable shutter firing
..... else
........ enable shutter firing
........ previous phase difference = current phase difference
..... while true
........ while current phase difference =/= 0
........... while current phase difference is indeterminate or out of range
.............. rack lens
.............. focus confirmation light = blink
.............. wait a while then try again
........... focus confirmation light = off
........... if One-Shot
.............. calculate lens command from current phase difference
........... else
.............. calculate lens command from current and previous phase diffs
.............. previous phase difference = current phase difference
........... update lens command
........ if One-Shot
........... beep
........... flash AF point
........... focus confirmation light = on
........... enable shutter firing
........... return
.. else
..... enable shutter firing
..... while true
........ if current phase difference =/= 0
........... focus confirmation light = off
........ else
........... beep
........... flash AF point
........... focus confirmation light = on
 
Go ahead and try to answer that question for them. I'm interested to know what you find, but it is not the question I am trying to answer.
When I did try, you complained that my answer does not fit your theory. That was a good number of the 150 posts.

--
Erik
 
Go ahead and try to answer that question for them. I'm interested to know what you find, but it is not the question I am trying to answer.
When I did try, you complained that my answer does not fit your theory. That was a good number of the 150 posts.

--
Erik
It's not that your answer didn't fit with the theory, it didn't fit with the findings. Your explanation said that the camera's PD AF only makes 1 initial Phase measurement and then it sets and confirms focus based on that single initial phase measurement.

When we test this explanation in total darkness using the built-in flash or a torch we find that it only works when the camera is already in focus. When the camera is initially in an out of focus position in total darkness it always requires at least 2 exposures of the Phase measurement (eg. by Flash or torch) before focus is confirmed and locked- 1 before adjusting focus and 1 after ajdusting focus.

Sometimes it takes more than 2 exposures of phase measurement if phase alignment is not achieved by the 2nd exposure. The camera keeps on exposing and ajdusting focus until phase alignment is achieved, and then it confirms and locks focus. If you give the camera only 1 exposure of an out of phase measurement it will attempt to ajdust to the correct focus position but won't be able to confirm focus.

Therefore, it would seem that the camera body must measure and be satisfied with the final phase alignment before it confirms and locks focus.

I do find that the PD AF does have scope to predict where the focus position should be on just the initial measurement(s), but that is not enough to confirm and lock focus.
 
It's not that your answer didn't fit with the theory, it didn't fit with the findings. Your explanation said that the camera's PD AF only makes 1 initial Phase measurement and then it sets and confirms focus based on that single initial phase measurement.
I always said that description was oversimplified. yes, the system does take multiple looks, but something must go unchecked (or the check is not what WilbaW's theory postulates) or we could not have the types of FF and BF failures that bring up the question.
Therefore, it would seem that the camera body must measure and be satisfied with the final phase alignment before it confirms and locks focus.
If that were true, then we could never have lens dependent FF or BF - LensAlign, lens focus calibration, and lens specific microadjust would not need to exist. It's the puzzle of how the system can fail in the ways it's been observed to fail that suggest the system has some shortcut that makes it not a perfectly closed loop feedback system.

--
Erik
 
It's not that your answer didn't fit with the theory, it didn't fit with the findings. Your explanation said that the camera's PD AF only makes 1 initial Phase measurement and then it sets and confirms focus based on that single initial phase measurement.
I always said that description was oversimplified. yes, the system does take multiple looks, but something must go unchecked (or the check is not what WilbaW's theory postulates) or we could not have the types of FF and BF failures that bring up the question.
Therefore, it would seem that the camera body must measure and be satisfied with the final phase alignment before it confirms and locks focus.
If that were true, then we could never have lens dependent FF or BF - LensAlign, lens focus calibration, and lens specific microadjust would not need to exist. It's the puzzle of how the system can fail in the ways it's been observed to fail that suggest the system has some shortcut that makes it not a perfectly closed loop feedback system.

--
Erik
Why not true? Couldn't there be a slight variation in the lens' image projection that throws off the calibration between the AF sensor and main sensor? So that even though the AF sensor is satisfied with the phase alignment there is still BF/FF at the main sensor?
 
Go ahead and try to answer that question for them. I'm interested to know what you find, but it is not the question I am trying to answer.
When I did try, you complained that my answer does not fit your theory.
Your model did not fit the evidence .

When you have a model of the AF control process that conforms with and explains the evidence (like mine does), you can add a model of the interaction between the AF sensor and the lens optics, and you will have a complete model of PD AF which explains lens-specific FF and BF errors as well.
 
Couldn't there be a slight variation in the lens' image projection that throws off the calibration between the AF sensor and main sensor? So that even though the AF sensor is satisfied with the phase alignment there is still BF/FF at the main sensor?
Of course. Erik's argument has been debunked, in great detail, many times, but he refuses to accept the evidence and let it go.

It's really as simple as this - the fact that individual lenses need calibration specifically for PD AF means that the process is prone to lens-specific errors that don't appear in CD AF, and therefore the presence of lens-specific errors in PD AF does not preclude optical focus confirmation. Erik admitted that and all the evidence supports it. Case closed.
 
Why not true? Couldn't there be a slight variation in the lens' image projection that throws off the calibration between the AF sensor and main sensor?
Sure. But how would this be lens copy dependent? 50mm f/1.8 copy A may need +5 and copy b may need -8 even though both will be equally sharp with contrast detect or manual focus is the same (i.e. not a lens optics alignment problem.)
So that even though the AF sensor is satisfied with the phase alignment there is still BF/FF at the main sensor?
When this happens, it's typically the camera that gets adjusted because all lenses behave similarly (e.g. they all FF or BF).

--
Erik
 
Your model did not fit the evidence .
It fit a subset of the evidence that included the problem the OP was having. Just as your model fits a (much larger) subset of the evidence but explicitly excludes the problem the OP was having.
you can add a model of the interaction between the AF sensor and the lens optics, and you will have a complete model of PD AF which explains lens-specific FF and BF errors as well.
We're still waiting for such a model. You prefer to just handwave this issue.

--
Erik
 
Of course. Erik's argument has been debunked, in great detail, many times, but he refuses to accept the evidence and let it go.
I've let quite a bit go. BTW, how's that f/16 aperture simulation coming? Learn about vignetting yet? See, I do admit when I'm wrong but if you are wrong, the subject somehow just gets dropped.

There is evidence you refuse to consider because it doesn't fit your theory.
It's really as simple as this - the fact that individual lenses need calibration specifically for PD AF means that the process is prone to lens-specific errors that don't appear in CD AF, and therefore the presence of lens-specific errors in PD AF does not preclude optical focus confirmation.
Alas, "does not preclude" is very different from "equals." Until you can model how the lens copy specific differences actually can result in optical focus confirmation but varying amount of FF and BF, there is a large gap in your theory.

As I said, the main reason this level of detail is discussed in this forum is to account for the FF and BF issues you like to exclude. Very few people care about the squirrel test behavior.

--
Erik
 
Why not true? Couldn't there be a slight variation in the lens' image projection that throws off the calibration between the AF sensor and main sensor?
Sure. But how would this be lens copy dependent? 50mm f/1.8 copy A may need +5 and copy b may need -8 even though both will be equally sharp with contrast detect or manual focus is the same (i.e. not a lens optics alignment problem.)
What if the lens is adequately aligned to the main sensor but not so well aligned to the AF sensor? Is that possible in throwing the AF? In these cases AF microadjust would relate to offsetting the point at which the AF sensor is satisfied with focus.
So that even though the AF sensor is satisfied with the phase alignment there is still BF/FF at the main sensor?
When this happens, it's typically the camera that gets adjusted because all lenses behave similarly (e.g. they all FF or BF).

--
Erik
 
What if the lens is adequately aligned to the main sensor but not so well aligned to the AF sensor?
The AF sensor is in a fixed position in the optical path so the difference between the sensor path and the AF path should also be constant. What kind of lens misalignment would have this effect but no other significant optical problem?

--
Erik
 
What if the lens is adequately aligned to the main sensor but not so well aligned to the AF sensor?
The AF sensor is in a fixed position in the optical path so the difference between the sensor path and the AF path should also be constant. What kind of lens misalignment would have this effect but no other significant optical problem?

--
Erik
Not a lens misalignment, but the seating or incorrect position of the submirror could cause this.

If the sub mirror (or the main mirror which its attached to) does not seat correctly (or is out of adjustment), this could alter the optical path length to the AF sensors, thus causing PD focus errors - but CD focus pictures would look good.

Regards

Andy.
 
Not a lens misalignment, but the seating or incorrect position of the submirror could cause this.
Yes, but it would still be constant for any given lens type, i.e. all 50mm f/1.8's would behave the same on that body w.r.t FF or BF. In fact any lens at 50mm would behave the same and all lenses would be impacted in somewhat the same way w.r.t FF or BF. This is an AF failure mode, but one that is typically resolved by fixing the body and not individually calibrating the lenses. You don't even have to send the body with the lens for many calibrations.

--
Erik
 
Your model did not fit the evidence .
It fit a subset of the evidence that included the problem the OP was having.
Only by being obviously wrong, which is not a good basis for a model.
Just as your model fits a (much larger) subset of the evidence but explicitly excludes the problem the OP was having.
Yes, answering that question was never the purpose of this thread.
you can add a model of the interaction between the AF sensor and the lens optics, and you will have a complete model of PD AF which explains lens-specific FF and BF errors as well.
We're still waiting for such a model.
Go for it. Best to start a new thread since that is OT for this one.
You prefer to just handwave this issue.
Ah, I get it! You think this thread is about answering writersbloc's issue from the other thread? No wonder you're so confused and frustrated!

This thread is only about modelling the PD AF control process, especially focus confirmation, based on behaviour of the system that the average Rebel owner can easily test. Read through it again with that in mind and it should all make sense.
 
Erik's argument has been debunked, in great detail, many times, but he refuses to accept the evidence and let it go.
I've let quite a bit go. BTW, how's that f/16 aperture simulation coming?
You want me to make an external aperture that gives the same shutter speed as f/16? Doesn't sound too difficult. What do I do with it then?
See, I do admit when I'm wrong but if you are wrong, the subject somehow just gets dropped.
How is my question about the effect of an f/2.8-equivalent external aperture wrong? (I'll make it easier for you. There is a measurable effect on the front-focus error - do you think it would make it larger or smaller? Why?)
There is evidence you refuse to consider because it doesn't fit your theory.
You mean the stuff that I'm not modelling? Well, yeah, that's what out of scope means. Do you have any evidence within the scope of the model that I haven't considered?
It's really as simple as this - the fact that individual lenses need calibration specifically for PD AF means that the process is prone to lens-specific errors that don't appear in CD AF, and therefore the presence of lens-specific errors in PD AF does not preclude optical focus confirmation.
Alas, "does not preclude" is very different from "equals."
Correct. "Equals" comes from the evidence you get from doing the tests. "Does not preclude" simply invalidates your excuse for not accepting the evidence.
Until you can model how the lens copy specific differences actually can result in optical focus confirmation but varying amount of FF and BF, there is a large gap in your theory.
Only in a theory that attempts to explain that, i.e. not mine.
As I said, the main reason this level of detail is discussed in this forum is to account for the FF and BF issues you like to exclude.
That's not the purpose of this thread. Don't forget, this is an empirical black-box model of the control process and focus confirmation - nothing to do with how lens optics interact with AF sensors, or about answering writersbloc's question.
Very few people care about the squirrel test behavior.
You'd be surprised. :-)
 

Keyboard shortcuts

Back
Top