Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Cameras, Lenses & Accessories Canon Lenses 
Thread started 01 Jun 2007 (Friday) 07:39
Search threadPrev/next
sponsored links (only for non-logged)

Technical question: why do lenses backfocus/frontfocus?

 
kcbrown
Cream of the Crop
Avatar
5,384 posts
Likes: 2
Joined Mar 2007
Location: Silicon Valley
     
Jun 01, 2007 07:39 |  #1

So we all know that sometimes a lens sample will consistenly backfocus or frontfocus while our other lenses do just fine. The solution is usually to send the lens in for calibration or to replace it.

The question I have, however, is why is it even possible for a lens to backfocus/frontfocus when there's nothing wrong with the camera?

If the position of the mirror and the autofocus sensor(s) is such that the focal distance between the back end of the lens and the autofocus sensor is the same as the distance between the back end of the lens and the main imaging sensor, and the algorithms for handling autofocus (which involve telling the lens to focus in one direction or the other and for how long...basically, directly controlling the focus servo in the lens) are within the camera itself, then how can the lens itself possibly have any effect on whether or not the image is properly focused?

It seems to me, based on those very basic (but sensible from an engineering standpoint) assumptions, that any backfocus/frontfocus issue should be an issue strictly with the camera. And yet, we know that's not the case. So what gives?


"There are some things that money can't buy, but they aren't Ls and aren't worth having" -- Shooter-boy
Canon: 2 x 7D, Sigma 17-50 f/2.8 OS, 55-250 IS, Sigma 8-16, 24-105L, Sigma 50/1.4, other assorted primes, and a 430EX.
Nikon: D750, D600, 24-85 VR, 50 f/1.8G, 85 f/1.8G, Tamron 24-70 VC, Tamron 70-300 VC.

  
  LOG IN TO REPLY
erpetao
Member
Avatar
118 posts
Joined Feb 2007
Location: UK
     
Jun 01, 2007 09:17 |  #2

I have exactly the same opinion, and I was about to start a thread about this.

Maybe someone can enlighten us: how is phisically possible that a lens can be focused properly on the viewfinder/af sensor but out of focus on the sensor? (And be a lens problem).

My only explanation is that is only a camera problem. Lenses with big aperture magnify the problem. It can go unnoticed with kit lenses, and only exposed when buying a new lense, thus blaming the lense.


- Canon EOS 30D & EOS 350D & EOS 30 (Film)
- Tamron 17-50mm f/2.8
- Canon 50mm f/1.8
- Sigma 70-300mm f/4-5.6 APO DG
- Flash Sigma EF-500 Super

  
  LOG IN TO REPLY
PetKal
Cream of the Crop
Avatar
11,141 posts
Likes: 5
Joined Sep 2005
Location: Nizza, Italia
     
Jun 01, 2007 09:45 as a reply to  @ erpetao's post |  #3

This is the way I see it in my simple ways:

The camera issues a focal position setpoint signal to the lens.

The lens control circuit drives the AF motor to the setpoint position....where it stops....no feedback, no trimming action.

There is always some "slop" and fabrication tolerance spread in the lens AF drive/control circuit. Therefore, even for a perfectly accurate AF setpoint by the camera, different lenses are driven to slightly different AF positions. Large errors or AF drifts are manifested as lens back/front focusing.

Lens AF circuit calibration adjustments allow that error to be reduced.


Potenza-Walore-Prestigio

  
  LOG IN TO REPLY
bacchanal
Cream of the Crop
Avatar
5,284 posts
Likes: 22
Joined Jan 2007
Location: Fort Wayne, IN
     
Jun 01, 2007 09:55 as a reply to  @ PetKal's post |  #4

I thought the camera basically tries to find the greatest amount of contrast at a given focus point (AF sensor) to focus, so there shouldn't be a 'set point', unless I'm misunderstanding what you mean by set point. It's possible that there is some discrepancy between the camera's computer and the lens's chip.


Drew A. | gear | photosexternal link

  
  LOG IN TO REPLY
wimg
Cream of the Crop
Avatar
6,981 posts
Likes: 209
Joined Jan 2007
Location: Netherlands, EU
     
Jun 01, 2007 09:57 |  #5

This is caused by the fact that focusing is not done in a constant loopback, and is controlled by the camera, not by the lens. Lens and camera are independently calibrated at the factory, within certain tolerance limits, namely within 1/3 of a stop of the DoF for lenses with an aperture larger than F/2.8, and to within 1 stop of DoF for lenses with a smaller aperture.

So, the AF unit measures some contrast differences, and calculates how much the lens needs to be moved, and then sends a signal to the AF motor in the lens, to do so. If they are both out the same way, you may well end up with focusing to the back or front of the object you want to focus on.

You can overcome this, partly at least, by trying to focus 1 time, but once only. It may acquire correct focus in that case. With some lenses, and under some conditions, the camera does this for you: macro lenses come to mind, used for non-macro purposes, and focusing under low contrast conditions.

The reason why you should only refocus once, is because it will very likely overshoot the second time you try to refocus, so ending up with back- or frontfocus again.

Adjustment of front- or backfocus on a lens is a fairly simple thing to do, for Canon anyway, as the printed circuit board in the lens has several discrete, soldered steps for this purpose. So, when calibrating, a new connection is soldered instead of the old one.

Note that because zoom lenses not necessarily stay in focus over the zoom range, it may be very difficult to calibrate to precise focus over the zoom range, as my own experiments with e.g. the 70-200 and 100-400 proved. Although always focusing at the same point at specific focal lengths, with the same object from the same distance and the same lighting conditions, this point was slightly different between focal lengths.

The camera can also be calibrated, by means of adjusting a screw inside the mirror housing with a small Allen key. This is more precise, because it is continuously variable, unlike lens calibration.

However, this doesn't solve the problem of focus change with zooming. It still means refocusing after zooming, and even then it may not be 100% the same as before, due to the in-lens calibration difficulties accompanying this.

HTH, kind regards, Wim


EOS R & EOS 5 (analog) with a gaggle of primes & 3 zooms, OM-D E-M1 Mk II & Pen-F with 10 primes, 6 zooms, 3 Metabones adapters/speedboosters​, and an accessory plague

  
  LOG IN TO REPLY
Lester ­ Wareham
Moderator
Avatar
32,924 posts
Gallery: 3035 photos
Best ofs: 5
Likes: 46462
Joined Jul 2005
Location: Hampshire, UK
     
Jun 01, 2007 10:00 |  #6

A lot of logic in PetKal's words, probably does not apply with AF Servo which seems to zero in on the ideal focus as long as the button is depressed (an experiment with double stacked TCs showed this behaviour).

I do know there is a AF zero control in the camera mirror box and have seen instructions on how to DIY trim this; not something I would recommend myself and I am used to microelectronics.

Of course this has been put under user control on a lens by lens basis on the 1D III, interesting that Canon have done that - presumably they are happy to trade more helpline loading from users that have screwed up their camera in the hope of reducing returns and warranty budget for AF issue.

Also, and this is really anecdotal, there is some kind of lens adjustment for AF precision. It is not clear if this is some sort of electronic twiddle control or mechanical shimming or both. The descriptions are not clear.


My Photography Home Page (external link)
Gear List
FAQ on UV and Clear Protective Filters
Macrophotography by LordV
flickr (external link) Flickr Home (external link)

  
  LOG IN TO REPLY
René ­ Damkot
Cream of the Crop
Avatar
39,856 posts
Likes: 8
Joined Feb 2005
Location: enschede, netherlands
     
Jun 01, 2007 10:00 |  #7

The problem is the AF is an open loop system (Beyond me why that is): There is no feedback: The camera takes a look, determines focus is of by amount 'X', so gives the lens the command to move 'X'. *It doesn't look again*.
Good explanation inn post #3here (external link)


"I think the idea of art kills creativity" - Douglas Adams
Why Color Management.
Color Problems? Click here.
MySpace (external link)
Get Colormanaged (external link)
Twitter (external link)
PERSONAL MESSAGING REGARDING SELLING OR BUYING ITEMS WITH MEMBERS WHO HAVE NO POSTS IN FORUMS AND/OR WHO YOU DO NOT KNOW FROM FORUMS IS HEREBY DECLARED STRICTLY STUPID AND YOU WILL GET BURNED.

  
  LOG IN TO REPLY
PetKal
Cream of the Crop
Avatar
11,141 posts
Likes: 5
Joined Sep 2005
Location: Nizza, Italia
     
Jun 01, 2007 10:11 |  #8

bacchanal wrote in post #3302350 (external link)
I thought the camera basically tries to find the greatest amount of contrast at a given focus point (AF sensor) to focus, so there shouldn't be a 'set point', unless I'm misunderstanding what you mean by set point. It's possible that there is some discrepancy between the camera's computer and the lens's chip.

(1)Someone please correct me if I am wrong, but I understand Canon SLRs use phase detection as opposed to contrast measurement in their camera's AF subsystem.
(2)In effect that is a "setpoint", or generally a "control/governing signal" issued by one controller (camera AF) to another/subordinate controller (lens AF drive).


Potenza-Walore-Prestigio

  
  LOG IN TO REPLY
René ­ Damkot
Cream of the Crop
Avatar
39,856 posts
Likes: 8
Joined Feb 2005
Location: enschede, netherlands
     
Jun 01, 2007 10:20 |  #9

From the link I posted: "the activated AF sensor "looks" at the image projected by the lens from two different directions (each line of pixels in the array looks from the opposite direction of the other) and identifies the phase difference of the light from each direction."
So 1) yes. 2) Yes. (If I understand what you mean correctly)


"I think the idea of art kills creativity" - Douglas Adams
Why Color Management.
Color Problems? Click here.
MySpace (external link)
Get Colormanaged (external link)
Twitter (external link)
PERSONAL MESSAGING REGARDING SELLING OR BUYING ITEMS WITH MEMBERS WHO HAVE NO POSTS IN FORUMS AND/OR WHO YOU DO NOT KNOW FROM FORUMS IS HEREBY DECLARED STRICTLY STUPID AND YOU WILL GET BURNED.

  
  LOG IN TO REPLY
bacchanal
Cream of the Crop
Avatar
5,284 posts
Likes: 22
Joined Jan 2007
Location: Fort Wayne, IN
     
Jun 01, 2007 10:26 as a reply to  @ René Damkot's post |  #10

Okay, so I'm feeling a bit confused and enlightened at the same time. What exactly does 'phase difference' mean pertaining to an AF system?


Drew A. | gear | photosexternal link

  
  LOG IN TO REPLY
erpetao
Member
Avatar
118 posts
Joined Feb 2007
Location: UK
     
Jun 01, 2007 10:27 as a reply to  @ René Damkot's post |  #11

OK let's see it other way. I had front focus problems even using manual focus. That can't be a lens problems, can it?


- Canon EOS 30D & EOS 350D & EOS 30 (Film)
- Tamron 17-50mm f/2.8
- Canon 50mm f/1.8
- Sigma 70-300mm f/4-5.6 APO DG
- Flash Sigma EF-500 Super

  
  LOG IN TO REPLY
StewartR
"your nose is too big"
Avatar
4,269 posts
Joined Jun 2006
Location: Maidenhead, UK
     
Jun 01, 2007 10:44 |  #12

erpetao wrote in post #3302524 (external link)
OK let's see it other way. I had front focus problems even using manual focus. That can't be a lens problems, can it?

No. But you've moved the goalposts. The original question was:

kcbrown wrote in post #3301858 (external link)
The question I have, however, is why is it even possible for a lens to backfocus/frontfocus when there's nothing wrong with the camera?


www.LensesForHire.co.u​k (external link) - complete with matching POTN discussion thread
Photos: Cats (external link) | London by day (external link) | London by night (external link) I My POTN photo sharing threads (external link) | Official "Where Am I Now?" archive (external link)
Gear: 350D | Sigma 18-200mm | EF-S 10-22mm | EF 50mm f/1.4

  
  LOG IN TO REPLY
bacchanal
Cream of the Crop
Avatar
5,284 posts
Likes: 22
Joined Jan 2007
Location: Fort Wayne, IN
     
Jun 01, 2007 11:16 |  #13

bacchanal wrote in post #3302519 (external link)
Okay, so I'm feeling a bit confused and enlightened at the same time. What exactly does 'phase difference' mean pertaining to an AF system?

To answer myself:

Wikipedia wrote:
Phase detection is achieved by dividing the incoming light into pairs of images and comparing them. SIR TTL passive phase detection (secondary image registration, through the lens (external link)) is often utilized in film and digital SLR cameras (external link). The system utilizes a beam splitter (external link) (implemented as a small semi-transparent area of the main reflex mirror, coupled with a small secondary mirror) to direct light to an AF sensor at the bottom of the camera. Two optical prisms (external link) capture the light rays coming from the opposite sides of the lens and divert it to the AF sensor, creating a simple range finder (external link) with a base identical to the lens' diameter. The two images are then analysed for similar light intensity patterns (peaks and valleys) and the phase difference is calculated in order to find if the object is in front focus (external link) or back focus (external link) position. This instantly gives the exact direction of focusing and amount of focus ring's movement. Although AF sensor is typically a one-dimensional photosensitive strip (only a few pixels high and a few dozen wide), some modern cameras (Canon EOS-1D (external link), Nikon D2X (external link)) feature Area SIR sensors that are rectangular so as to provide two-dimensional intensity patterns in 2D. Cross-type (CT) focus points have a pair of sensors oriented at 90° to one another, although one sensor typically requires a larger aperture to operate than the other.


Drew A. | gear | photosexternal link

  
  LOG IN TO REPLY
Lester ­ Wareham
Moderator
Avatar
32,924 posts
Gallery: 3035 photos
Best ofs: 5
Likes: 46462
Joined Jul 2005
Location: Hampshire, UK
     
Jun 01, 2007 11:37 |  #14

PetKal wrote in post #3302431 (external link)
(1)Someone please correct me if I am wrong, but I understand Canon SLRs use phase detection as opposed to contrast measurement in their camera's AF subsystem.
(2)In effect that is a "setpoint", or generally a "control/governing signal" issued by one controller (camera AF) to another/subordinate controller (lens AF drive).

Yes correct, that is why it works in less than the usual P&S focus time of an ice age. I guess it is faster because phase detection is coherent and so more noise proof requiring less averaging to get a usable result.


My Photography Home Page (external link)
Gear List
FAQ on UV and Clear Protective Filters
Macrophotography by LordV
flickr (external link) Flickr Home (external link)

  
  LOG IN TO REPLY
Lester ­ Wareham
Moderator
Avatar
32,924 posts
Gallery: 3035 photos
Best ofs: 5
Likes: 46462
Joined Jul 2005
Location: Hampshire, UK
     
Jun 01, 2007 11:43 |  #15

erpetao wrote in post #3302524 (external link)
OK let's see it other way. I had front focus problems even using manual focus. That can't be a lens problems, can it?

That is a different issue. Assuming the camera mount, mirror and focus screen are all in good alignment it is difficult to see how that can happen, it seems more likely the viewfinder and sensor optical paths are not well matched.

Can you explain what tests you have done to come to your diagnosis?


My Photography Home Page (external link)
Gear List
FAQ on UV and Clear Protective Filters
Macrophotography by LordV
flickr (external link) Flickr Home (external link)

  
  LOG IN TO REPLY
sponsored links (only for non-logged)

5,261 views & 0 likes for this thread, 9 members have posted to it.
Technical question: why do lenses backfocus/frontfocus?
FORUMS Cameras, Lenses & Accessories Canon Lenses 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is zachary24
1432 guests, 109 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.