View previous topic :: View next topic |
Author |
Message |
au8ust
Joined: 13 Nov 2013 Posts: 11
|
Posted: Sun Mar 20, 2022 7:19 pm Post subject: A formula to calculate the travel distance from Inf |
|
|
au8ust wrote:
I wonder if there are any formulas for calculating the travel distance (in mm) needed from infinity to a certain distance.
For example, let's say a 35mm lens with a back focal distance of 24mm. If I make a simple, fixed adapter with the back focal distance fixed at 24mm from the sensor, I'd have it fixed-focus at infinity. How do I calculate how millimeters are required to get it focused at, let's say 0.5m? I could build a simple screw adapter or use a helicoid adapter to measure that, but it would be a lot easier to have a proper formula.
I also notice a shorter focal length requires a short travel distance while a longer focal length requires a lot longer travel distance for the same amount of distance (ie. from Inf to 0.5m). |
|
Back to top |
|
|
RokkorDoctor
Joined: 27 Nov 2021 Posts: 1428 Location: Kent, UK
Expire: 2025-05-01
|
Posted: Sun Mar 20, 2022 10:04 pm Post subject: Re: A formula to calculate the travel distance from Inf |
|
|
RokkorDoctor wrote:
au8ust wrote: |
I wonder if there are any formulas for calculating the travel distance (in mm) needed from infinity to a certain distance.
For example, let's say a 35mm lens with a back focal distance of 24mm. If I make a simple, fixed adapter with the back focal distance fixed at 24mm from the sensor, I'd have it fixed-focus at infinity. How do I calculate how millimeters are required to get it focused at, let's say 0.5m? I could build a simple screw adapter or use a helicoid adapter to measure that, but it would be a lot easier to have a proper formula.
I also notice a shorter focal length requires a short travel distance while a longer focal length requires a lot longer travel distance for the same amount of distance (ie. from Inf to 0.5m). |
Let's define the following parameters (assuming an idealised thin lens):
f = focal length of lens (in mm)
s = subject distance (in mm)
i = image distance (in mm, from lens nodal plane to image)
bf = back focal distance (in mm, between lens mount and film/sensor)
The thin lens formula gives us:
1/f = 1/s + 1/i
or:
1/i = i/f - 1/s
thus:
image distance: i = 1 / (1/f - 1/s) : (formula 1)
That gives you the image distance between the lens' nodal plane and the image.
However, you are after something related to the back focal distance bf, ideally the distance travelled from the back focal distance to the image distance for a finite distance subject.
Consider that for a subject at infinity, you would like your formula to return the back focal distance bf, then what you are looking for is a formula that returns:
i - f + bf : (formula 2)
in other words, the difference between the image distances for the target subject and that for an infinitely distant subject, plus the back focal distance. Given that the image distance for an infinitely distant subject is the same as the focal length f, you get the above formula 2.
Substituting formula 1 in formula 2 gives the formula for the:
* distance between the lens mount and the image = ( 1 / (1/f - 1/s) ) - f + bf
Subtract the back focal distance from that and you end up with:
* travel distance = ( 1 / (1/f - 1/s) ) - f
As you can see, for the travel distance you wanted to calculate, you don't actually need to know the back focal distance
In your example with a 35mm lens and 24mm back focal distance:
* distance between the lens mount and the image = ( 1 / (1/35 - 1/s) ) - 35 + 24
for s = infinity this gives 24.00mm
for s = 1m = 1000mm this gives 25.27mm
* travel distance = ( 1 / (1/35 - 1/s) ) - 35
for s = infinity this gives 0.00mm
for s = 1m = 1000mm this gives 1.27mm _________________ Mark
SONY A7S, A7RII + dust-sealed modded Novoflex/Fotodiox/Rayqual MD-NEX adapters
Minolta SR-1, SRT-101/303, XD7/XD11, XGM, X700
Bronica SQAi
Ricoh GX100
Minolta majority of all Rokkor SR/AR/MC/MD models made
Sigma 14mm/3.5 for SR mount
Tamron SP 60B 300mm/2.8 (Adaptall)
Samyang T-S 24mm/3.5 (Nikon mount, DIY converted to SR mount)
Schneider-Kreuznach PC-Super-Angulon 28mm/2.8 (SR mount)
Bronica PS 35/40/50/65/80/110/135/150/180/200/250mm |
|
Back to top |
|
|
55
Joined: 13 May 2013 Posts: 717 Location: U.S.
Expire: 2022-06-15
|
Posted: Thu Mar 24, 2022 1:39 am Post subject: Re: A formula to calculate the travel distance from Inf |
|
|
55 wrote:
RokkorDoctor wrote: |
Let's define the following parameters (assuming an idealised thin lens):
. . . . . . . |
|
|
Back to top |
|
|
kds315*
Joined: 12 Mar 2008 Posts: 16662 Location: Weinheim, Germany
Expire: 2021-03-09
|
Posted: Thu Mar 24, 2022 10:55 pm Post subject: |
|
|
kds315* wrote:
_________________ Klaus - Admin
"S'il vient a point, me souviendra" [Thomas Bohier (1460-1523)]
http://www.macrolenses.de for macro and special lens info
http://www.pbase.com/kds315/uv_photos for UV Images and lens/filter info
https://www.flickr.com/photos/kds315/albums my albums using various lenses
http://photographyoftheinvisibleworld.blogspot.com/ my UV BLOG
http://www.travelmeetsfood.com/blog Food + Travel BLOG
https://galeriafotografia.com Architecture + Drone photography
Currently most FAV lens(es):
X80QF f3.2/80mm
Hypergon f11/26mm
ELCAN UV f5.6/52mm
Zeiss UV-Planar f4/60mm
Zeiss UV-Planar f2/62mm
Lomo Уфар-12 f2.5/41mm
Lomo Зуфар-2 f4.0/350mm
Lomo ZIKAR-1A f1.2/100mm
Nikon UV Nikkor f4.5/105mm
Zeiss UV-Sonnar f4.3/105mm
CERCO UV-VIS-NIR f1.8/45mm
CERCO UV-VIS-NIR f4.1/94mm
CERCO UV-VIS-NIR f2.8/100mm
Steinheil Quarzobjektiv f1.8/50mm
Pentax Quartz Takumar f3.5/85mm
Carl Zeiss Jena UV-Objektiv f4/60mm
NYE OPTICAL Lyman-Alpha II f1.1/90mm
NYE OPTICAL Lyman-Alpha I f2.8/200mm
COASTAL OPTICS f4/60mm UV-VIS-IR Apo
COASTAL OPTICS f4.5/105mm UV-Micro-Apo
Pentax Ultra-Achromatic Takumar f4.5/85mm
Pentax Ultra-Achromatic Takumar f5.6/300mm
Rodenstock UV-Rodagon f5.6/60mm + 105mm + 150mm
|
|
Back to top |
|
|
au8ust
Joined: 13 Nov 2013 Posts: 11
|
Posted: Fri Mar 25, 2022 3:29 pm Post subject: |
|
|
au8ust wrote:
Hi Mark! Thanks a lot for your informative reply!
I've tried your formula on a 50mm with a BFD of 34.6mm (-/+ 0.5mm). The distance should be 6.03mm according to a calculation based on the formula.
I machined a simple part to check this and I got 0.6m instead of 0.5m.
I double-checked the tolerance and the part seems to be just 16 microns different. It shouldn't affect the distance that much.
What could have gone wrong? |
|
Back to top |
|
|
DConvert
Joined: 12 Jun 2010 Posts: 921 Location: Essex UK
|
Posted: Fri Mar 25, 2022 5:05 pm Post subject: |
|
|
DConvert wrote:
Remember listed focal lengths are nominal and may differ somewhat from the claimed figures... |
|
Back to top |
|
|
au8ust
Joined: 13 Nov 2013 Posts: 11
|
Posted: Fri Mar 25, 2022 5:44 pm Post subject: |
|
|
au8ust wrote:
DConvert wrote: |
Remember listed focal lengths are nominal and may differ somewhat from the claimed figures... |
I was thinking the same but then the part with 34.6mm gives me exactly inf focus. So, yeah, still trying to find an answer for this. |
|
Back to top |
|
|
RokkorDoctor
Joined: 27 Nov 2021 Posts: 1428 Location: Kent, UK
Expire: 2025-05-01
|
Posted: Fri Mar 25, 2022 9:09 pm Post subject: |
|
|
RokkorDoctor wrote:
au8ust wrote: |
DConvert wrote: |
Remember listed focal lengths are nominal and may differ somewhat from the claimed figures... |
I was thinking the same but then the part with 34.6mm gives me exactly inf focus. So, yeah, still trying to find an answer for this. |
DConvert makes a valid point, but there is another issue that needs consideration;
TBH, when I wrote that formula I assumed you were talking about focusing on distances much further out!
If you are targeting a focus distance as small as 0.5m for a 50mm lens, the thin lens condition no longer holds and you need to be mindful as to how exactly you measure the subject distance. For the formulas to still work, the subject distance would need to be measured between the subject and the front principal plane of the lens.
The position of that front principal plane is usually an unknown to the user, although the lens designer will be well aware of where this plane is located in the lens.
In order to make life easier for the photographer, most lenses (35mm format, medium format etc.) will therefore have their distances marked as those measured between the subject and the film plane/sensor, something which is easy to measure. That distance indicated on the focus ring however, is not the same as the subject distance used in doing lens calculations. Only for longer subject distances does this difference become negligible (to the casual user).
If you want to use the thin lens formula (paraxial optics, Gaussian optics) more accurately, esp. for very short focus distances, you will need to know where the front principal plane of the lens is located so that you have the correct reference point from which to measure the subject distance. Unless you can work out where the front principal plane is located in the lens, you are probably better off finding your desired travel distance by trial & error...
Plus, as DConvert already mentioned, whilst the manufacturers can control the focal length of the produced lenses very accurately, they may simply label them with the nearest convenient round number. A lens labelled "50mm" may well come out of the factory as a consistently produced 48.3mm, or 52.4mm etc.)
NOTE: the front and rear principal planes are often referred to as resp. P and P'. You may also see reference to the front and rear nodal planes N and N'. When the refractive index of the object and images space is identical (e.g air-air), then N=P and N'=P', so likely you will not need to worry about the difference between the prinicipal and nodal planes. Lenses used under water (e.g. Nikonos lenses etc.) have different nodal and principal planes, but that is not relevant in your case I assume. The subject distance should be measured to the front principal plane P, the image distance is measured from the rear principal plane P'. The focal length is measured from the rear nodal plane N'. _________________ Mark
SONY A7S, A7RII + dust-sealed modded Novoflex/Fotodiox/Rayqual MD-NEX adapters
Minolta SR-1, SRT-101/303, XD7/XD11, XGM, X700
Bronica SQAi
Ricoh GX100
Minolta majority of all Rokkor SR/AR/MC/MD models made
Sigma 14mm/3.5 for SR mount
Tamron SP 60B 300mm/2.8 (Adaptall)
Samyang T-S 24mm/3.5 (Nikon mount, DIY converted to SR mount)
Schneider-Kreuznach PC-Super-Angulon 28mm/2.8 (SR mount)
Bronica PS 35/40/50/65/80/110/135/150/180/200/250mm |
|
Back to top |
|
|
stevemark
Joined: 29 Apr 2011 Posts: 4068 Location: Switzerland
|
Posted: Sat Mar 26, 2022 12:10 am Post subject: |
|
|
stevemark wrote:
RokkorDoctor wrote: |
Let's define the following parameters (assuming an idealised thin lens):
|
au8ust wrote: |
Hi Mark! Thanks a lot for your informative reply!
I've tried your formula on a 50mm with a BFD of 34.6mm (-/+ 0.5mm). The distance should be 6.03mm according to a calculation based on the formula.
...
I machined a simple part to check this and I got 0.6m instead of 0.5m.
What could have gone wrong? |
See above ...
I remember well that, starting my chemistry studies in Basel, I was attending the lectures for scientific photography as well. Usually held by F. Tomamichel from the Swiss Federal Institute of Technology Zurich, sometimes an engineer from Sinar was giving lectures, too. The latter, talking about the subject mentioned above (plus depth-of-field calculations), was quite adamant that all the usual formulas given in textbooks were ... not correct! Back then, I was more interested in the chemical and artistic side of photography, and I didn't pay much attention to the mathematical details given, but I still do remember that the Sinar guys around 1985 had to re-develop some formulae related to the OP's question
S _________________ www.artaphot.ch |
|
Back to top |
|
|
au8ust
Joined: 13 Nov 2013 Posts: 11
|
Posted: Sat Mar 26, 2022 5:35 pm Post subject: |
|
|
au8ust wrote:
This makes a lot of sense! Thank you!
I'll use the formula to get an approximate distance first and make a couple more parts to check the exact (or close to exact) distance. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|