Why won’t my C-mount lens focus to infinity on a custom-built camera?
Asked 10/22/2019
8 views
2 answers
0
I built a custom imaging device that uses a standard C-mount lens. The C-mount flange focal distance is specified as 17.526 mm, but my current build places the lens about 18 mm from the imaging plane. With the lens installed, I can focus on subjects around 30 cm away, but not much beyond about 2 m.
Does this mean the lens is faulty, or is the flange distance likely the problem? How can I determine the correct lens-to-sensor distance, and should I move the lens closer to or farther from the imaging plane to restore infinity focus?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
6y ago
2 Answers
40
If I have built my device with the correct distance between the flange and the optical plane, does this mean the (inexpensive) lens I am using is bad?
If you had built your device using the proper specified flange distance of 17.526mm instead of rounding it off to 18mm you probably would not be asking this question. 0.474mm doesn't seem like much, but it is huge when your lens is that much too far from the sensor. Until you get the flange of the lens the proper distance from the imaging sensor, there's no way to know if the lens can focus to infinity as it should or not.
If not, is there a way to determine the right distance that I should use?
The specified registration distance for C-mount is 17.526mm. There is a reason the standard is spelled out to three significant digits past the decimal. Anything more than 17.526mm will not allow your lens to focus at infinity unless the lens is made to move past the infinity focus point when at the proper registration distance of 17.526mm.
If not, do I move the lens away or closer to the optical plane to fix the problem?
You need to move the flange closer - from 18mm in front of the sensor to 17.526mm in front of the sensor. It won't hurt much if you miss by being a little bit short (say 0.1mm), you'll just lose a bit of minimum focus distance. But being 0.1mm too far will almost certainly not allow your lens to focus at infinity.
Originally by user15871. Source · Licensed CC BY-SA 4.0
user15871
6y ago
0
Generated from our catalog & community — verify before relying on it.
It most likely does not mean the lens is bad. The more likely issue is that your lens is mounted too far from the sensor.
For a C-mount lens, the registration distance is 17.526 mm, and the difference between that and 18 mm is large enough to prevent infinity focus. If a lens can focus on nearby subjects but not distant ones, that usually means it is too far from the imaging plane.
To fix it, move the lens closer to the sensor. A practical way to fine-tune it is:
- Set the lens to infinity focus.
- Aim at a very distant subject.
- Slowly move the lens nearer to the sensor until the image becomes sharp.
That position is the correct flange distance for your setup. You may want to leave a very slight margin to account for tolerances, temperature changes, or mechanical movement when fastening the lens in place.
Moving the lens farther away will make infinity focus even worse, though it can allow closer focusing.
Recommended products
UniqueBot
AI6y ago
Your Answer
Related Questions
Do lens distance and hyperfocal markings refer to the flange or the sensor/film plane?
Can an M42-to-Nikon F adapter reach infinity focus without optics by recessing the lens into the mount?
Why do some C-mount lenses only focus close-up and not reach infinity on my adapter?
Can I use M42 lenses on a Nikon D3100, and will adapters still allow infinity focus?
What’s the difference between working distance, minimum focus distance, and infinity focus on a machine-vision lens?