A Theory about Pentax K-R Front Focus Errors

Boson

New member
Messages
5
Reaction score
0
Location
US
Comments on the Pentax SLR forum and various other forums indicate “front focus” problems with Pentax K-R cameras, especially with long wavelength (tungsten) illumination. The purposes of this message are to suggest a theoretical cause of the problem and a proper solution.

The focal length of a refractive optical system depends on the wavelength of illumination. Within the “visible” wavelength region (say from 400 to 700 nm), the focal length of a DSLR lens is essentially constant. Outside this range, for example in the “near infrared” from 700 to 1200 nm, the focal length will be different. Many remember the red line inscribed on lenses to help estimate the focal position shift for use with infrared film. If the wavelength sensitivity range of the phase detection autofocus (PDAF) sensors differs significantly from that of the CMOS image sensor, there will be a focus shift error dependent on illumination wavelength.

It is quite likely that the PDAF sensors on the Pentax K-R have photo-sensitivity extended into the near-infrared (beyond 700 nm) to enhance their low light-level sensitivity. Bare silicon is sensitive to light well into the near-infrared.

Therefore, the proposed theory is that the wavelength response of the Pentax K-R PDAF sensors are not properly matched to the response of the image sensor and this mismatch causes the front focus errors, especially in long wavelength (and near-infrared) illumination from tungsten light sources.

Enabling proper image focus is one of the most fundamentally important functions of a camera. A properly performing (and commercially viable) camera should enable focus accuracy within 1/3rd of the depth-of-field for a given lens and aperture stop. With proper wavelength matching of the PDAF and image sensors, this performance should be readily achieved.

Coping with Pentax K-R autofocus errors by cobbling together compromising firmware patches or requiring the use of Live View mode is not satisfactory. That would be like offering a superb F/1.4 lens but telling the customer to use it only at F/8 and higher.

If the theory is correct, the proper solution to the Pentax K-R front focus problem is to modify the wavelength dependent photo-sensitivity of the autofocus sensors so that they match the CMOS image sensor. This can be accomplished by placing the appropriate spectral filter on the reflex mirror, or the secondary mirror leading to the PDAF sensors, or on the PDAF sensors themselves. It also should be possible to implement this change by means of a field retro-fit. Hoya and Pentax are well known for their expertise in optical filters and coatings so are well-versed in this technology.

Achieving perfect focus should be easy using current technology. It is not complicated. The only tradeoff involves low light sensitivity, which is addressed with the focus-assist illumination. The cost for properly matching the wavelength sensitivities should be minimal if properly designed and manufactured.

Pentax K-R owners would be doing Pentax and Hoya a favor by insisting that this product design defect be corrected. I personally would be willing to pay a reasonable service charge (even though I have a 3 year warranty) to get the problem corrected. If Pentax does not correct the K-R front focus problem properly, I will have to get a different camera, brand uncertain.

Discussion of the front focus problem is notably absent from the recent detailed report on the Pentax K-R by dpreview. I recommend that dpreview add to their standard protocol a test for front focus errors under tungsten illumination.
 
This is one of the most informative and objective posts on the subject, at least from those I read. Thanks for the effort of analyzing the issue and writing such a brief summary. While many here and on other forums claim that it's a minor issue, I think the opposite. Actually it's the only thing that kept me back from getting a k-r myself. The other thing is that people are just tired of trollish threads about the problem. But I digress.
Therefore, the proposed theory is that the wavelength response of the Pentax K-R > PDAF sensors are not properly matched to the response of the image sensor and > this mismatch causes the front focus errors, especially in long wavelength (and > near-infrared) illumination from tungsten light sources.
What about "normal" light situations? Can the problem manifest itself in a lesser degree, i.e. achieve a "less perfect" focus than it would with better PDAF / sensor tuning. I'm asking this because from all the talk, I got the impression that could be summarised as:
You want accurate focusing - get k-x,
You want fast focusing - get k-r.
It might be a wrong impression of course ;)
Coping with Pentax K-R autofocus errors by cobbling together compromising > firmware patches or requiring the use of Live View mode is not satisfactory. That > would be like offering a superb F/1.4 lens but telling the customer to use it only > at F/8 and higher.
So You suggest that the problem is not completely fixable through firmware. That is no good news, but that's also something I inferred from the recent Pentax support reply concerning ff issue:
Use tungsten white balance.
IMHO, it's like admitting they won't do anything to repair it.
Discussion of the front focus problem is notably absent from the recent detailed > report on the Pentax K-R by dpreview. I recommend that dpreview add to their > standard protocol a test for front focus errors under tungsten illumination.
I, for one, cannot understand why no review site, especially dpr, had not written a single word about this problem. The site optyczne.pl mentioned that the precentage of AF missed shots is rather on the high side but nothing more specific.
 
This is one of the most informative and objective posts on the subject, at least from those I read.
I agree.
Boson wrote:

I, for one, cannot understand why no review site, especially dpr, had not written a single word about this problem. The site optyczne.pl mentioned that the precentage of AF missed shots is rather on the high side but nothing more specific.
I agree.

Yes, I'd pay some money to get a hardware fix. Anyway, marketing rules say something like "free recalll or no recall". So I don't believe we'll see that solution applied.
 
First of all, I'm no light specialist so I might be missing it completely.

Can't the concept be proven with a B+W 486 filter? I understand it will / might also influence the final image but as a proof of concept that it can fix the problem it might work.

I downloaded the B+W filter handbook from http://www.schneideroptics.com/info/handbook/ and page 60/61 shows the transmission curve; this filter basically only passes light with a wavelength between 400 and 650 nm.

PS: I don't have a K-r so can't test it. Any volunteers ;)

--
WimS
 
I am not sure if that theory can be correct. I agree with the statement that the focal length of a lens depends on the wavelength. But that means that best focus also depends on the wavelength. So if the focus sensor uses a long wavelength, it focuses the lens to best focus at the sensor plane for that wavelength, but that best focus is (or at least can) be different than best focus at the visible wavelengths. Therefore the focusing problem. That is why lenses had the red line inscribed to help estimate the focal position shift for use with infrared film, to correct for that shift. Unfortunately, the needed correction is different for every lens, so it is impossible to correct with hardware in the camera and very hard with software. For a good software fix, the camera would have to know the shift in best focus when the focus sensor is using a long wavelength.
But I will be glad if someone can disprove my theory.
 
How real of a problem is this front focusing error on the new K-R?
If true, why does the older K-X not suffer from this problem?

I'm under the impression that K-X share the same AF mechanic with K-R but the new K-R can display AF confirmation right on the viewfinder.
 
I'm under the impression that K-X share the same AF mechanic with K-R but the new K-R can display AF confirmation right on the viewfinder.
Both cameras display focus confirmation in the viewfinder; K-r however displays the focus point where the camera focused as well.

I don't know the answer to the rest of the questions.
--
WimS
 
Comments on the Pentax SLR forum and various other forums indicate “front focus” problems with Pentax K-R cameras, especially with long wavelength (tungsten) illumination. The purposes of this message are to suggest a theoretical cause of the problem and a proper solution.

The focal length of a refractive optical system depends on the wavelength of illumination. Within the “visible” wavelength region (say from 400 to 700 nm), the focal length of a DSLR lens is essentially constant. Outside this range, for example in the “near infrared” from 700 to 1200 nm, the focal length will be different. Many remember the red line inscribed on lenses to help estimate the focal position shift for use with infrared film. If the wavelength sensitivity range of the phase detection autofocus (PDAF) sensors differs significantly from that of the CMOS image sensor, there will be a focus shift error dependent on illumination wavelength.

It is quite likely that the PDAF sensors on the Pentax K-R have photo-sensitivity extended into the near-infrared (beyond 700 nm) to enhance their low light-level sensitivity. Bare silicon is sensitive to light well into the near-infrared.

Therefore, the proposed theory is that the wavelength response of the Pentax K-R PDAF sensors are not properly matched to the response of the image sensor and this mismatch causes the front focus errors, especially in long wavelength (and near-infrared) illumination from tungsten light sources.
I agree with your theory that the optical paths used for Phase Detect Auto Focus (PDAF) in at least some samples of the K-r are not optically matched, but I think the reason is more complex than just adding a filter that rejects infra red light; I believe that has been tried by some with the problem and it didn't help, but I can't find a link to support that. I do have some ideas of my own on why at least some samples of the K-r as I posted at: http://forums.dpreview.com/forums/readflat.asp?forum=1036&message=37593007 regarding my thinking of unbalanced optical paths for the phase detection that could lead to the observed behaviour. Note that this behaviour doesn't require that that there be infra red light but just that the AF will change when the power of the reddish versus the bluish illumination changes, and as I note at the bottom of that thread, even a mirror not quite seating in its design possition could cause such errors.
Enabling proper image focus is one of the most fundamentally important functions of a camera. A properly performing (and commercially viable) camera should enable focus accuracy within 1/3rd of the depth-of-field for a given lens and aperture stop. With proper wavelength matching of the PDAF and image sensors, this performance should be readily achieved.

Coping with Pentax K-R autofocus errors by cobbling together compromising firmware patches or requiring the use of Live View mode is not satisfactory. That would be like offering a superb F/1.4 lens but telling the customer to use it only at F/8 and higher.

If the theory is correct, the proper solution to the Pentax K-R front focus problem is to modify the wavelength dependent photo-sensitivity of the autofocus sensors so that they match the CMOS image sensor. This can be accomplished by placing the appropriate spectral filter on the reflex mirror, or the secondary mirror leading to the PDAF sensors, or on the PDAF sensors themselves. It also should be possible to implement this change by means of a field retro-fit. Hoya and Pentax are well known for their expertise in optical filters and coatings so are well-versed in this technology.
I think that if Pentax engineering have put anything into the investigation of this problem, they known how to do the optical/mechanical adjustments to bring the front/back PDAF into specification; the question is if they are willing to do the general recalls of the cameras that have this problem and/or instruct the service departments on how do the the mechanical adjustments/modifications. Based on the K-5 "stained sensor" recall, they will also get a rash of returns of cameras that may not have the problem for cameras that may be within specification.

I believe that this problem is not exactly related to the problem of the K-5 for PDAF in low light (no matter what the wavelength of illumination, and rather that this problem came about with the K-r where it isn't in the K-x both due to changes in the mechanical configuration of the PDAF components in the new body and the fact that the new Safox system is several times more sensitive than that of the previous model sensors, thus allowing for focus lock at even lower levels.
Achieving perfect focus should be easy using current technology. It is not complicated. The only tradeoff involves low light sensitivity, which is addressed with the focus-assist illumination. The cost for properly matching the wavelength sensitivities should be minimal if properly designed and manufactured.

Pentax K-R owners would be doing Pentax and Hoya a favor by insisting that this product design defect be corrected. I personally would be willing to pay a reasonable service charge (even though I have a 3 year warranty) to get the problem corrected. If Pentax does not correct the K-R front focus problem properly, I will have to get a different camera, brand uncertain.

Discussion of the front focus problem is notably absent from the recent detailed report on the Pentax K-R by dpreview. I recommend that dpreview add to their standard protocol a test for front focus errors under tungsten illumination.
Agreed.

Regards, GordonBGood
 
What about "normal" light situations? Can the problem manifest itself in a lesser degree, i.e. achieve a "less perfect" focus than it would with better PDAF / sensor tuning. I'm asking this because from all the talk, I got the impression that could be summarised as:
You want accurate focusing - get k-x,
You want fast focusing - get k-r.
It might be a wrong impression of course ;)
I would think that the "normal" calibration process for "normal" light (for example, daylight) could yield "perfect" focus.
So You suggest that the problem is not completely fixable through firmware. That is no good news, but that's also something I inferred from the recent Pentax support reply concerning ff issue:
Use tungsten white balance.
IMHO, it's like admitting they won't do anything to repair it.
It would not be completely fixable by firmware because it would depend on the actual wavelength variation of the illumination which is not measured by the K-R, essentially in the infrared. Having the firmware key off "tungsten white balance mode" could help but would not be perfect.
 
Can't the concept be proven with a B+W 486 filter? I understand it will / might also influence the final image but as a proof of concept that it can fix the problem it might work.

I downloaded the B+W filter handbook from http://www.schneideroptics.com/info/handbook/ and page 60/61 shows the transmission curve; this filter basically only passes light with a wavelength between 400 and 650 nm.
I completely agree. Thanks for the Schneider optics reference. They offer a 49mm IR block filter which would be ideal for testing the theory and for solving the problem if the theory is correct. But it is priced at $151.
 
How real of a problem is this front focusing error on the new K-R?
If true, why does the older K-X not suffer from this problem?

I'm under the impression that K-X share the same AF mechanic with K-R but the new K-R can display AF confirmation right on the viewfinder.
The FF problem is real on my K-R. It definitely effects picture taking in tungsten light. Pentax specifies a new generation of autofocus for K-r vs K-x. Maybe the "mechanics" are the same but different PDAF sensors are used. They say K-5 has same generation autofocus as K-R but with the addition of illumination wavelength sensing which could be used to correct for the problem.
 
I am not sure if that theory can be correct. I agree with the statement that the focal length of a lens depends on the wavelength. But that means that best focus also depends on the wavelength. So if the focus sensor uses a long wavelength, it focuses the lens to best focus at the sensor plane for that wavelength, but that best focus is (or at least can) be different than best focus at the visible wavelengths. Therefore the focusing problem. That is why lenses had the red line inscribed to help estimate the focal position shift for use with infrared film, to correct for that shift. Unfortunately, the needed correction is different for every lens, so it is impossible to correct with hardware in the camera and very hard with software. For a good software fix, the camera would have to know the shift in best focus when the focus sensor is using a long wavelength.
But I will be glad if someone can disprove my theory.
The basic point of my theory is that focal position will vary with focal length which can vary with illumination wavelength, especially in the infrared. Of course, DSLR lenses have constant focal length throughout the visible spectrum, otherwise they would have excessive chromatic aberration. The CD focus sensors must respond only to the visible portion of the spectrum to have a simple and reliable hardware solution. Any software solution would be compromised by the wavelength variabilities among different lenses.
 

Keyboard shortcuts

Back
Top