Differences Zemax - Code V refractive index vs temperature?
Hi all,
Does any one know why calculation of the refractive index vs the temperature is different between the two softwares?
I’m not asking for glasses that have different parameters, (the reason is obvious) but for glasses which have same parameters and ways of calculation. Results are the same across the spectrum but not when the temperature changes.
You can try almost any Schott glasses as parameters are given by the vendor for both softwares.
It’s a bit frustrating.
Page 1 / 1
First, I’m not an expert user of CodeV; However, I checked the reported refractive index for N-BK7 in both Zemax and CodeV at the same wavelength with and without the environmental factors on at the reference temperature for N-BK7 (20 Deg). My assumption is that this value can be checked against the Sellmeier formula used for calculating the index, i.e, that the change in index will be 0 at the reference wavelength. Zemax reports the same index of refraction to arbitrary precision. CodeV deviates. If I change the evaluated temperature by 2 Deg up in CodeV (from 20 Deg to 22 Deg) I can recover the correct answer. I don’t know why CodeV does this or if it is a bug or something subtle in how to implement the reference temperature etc.; however, I do think that Zemax is reliable in this case.
Hi Michael, thanks for having a look at it.
For N-BK7, Zemax is indeed exactly identical for the nominal temperature (20 °C). Code V shows a difference of ≃ 2·10⁻⁶ compared to the computation.
However, when the temperature changes, Zemax deviates much more. @-40 °C it shows a difference of more than 10⁻⁴! Code V is still in the 10⁻⁶ range.
Across the spectrum the computation from Zemax is OK, but when the temperature changes it starts to deviate.
Any clue from anyone ?
Thanks.
Hi John,
I will try and take another look at this.
I assume you’re using the following equation from the Zemax manual,
For additional reference, here is Schott’s discussion of dn/dT.
Thanks!
Indeed, you assume correctly.
Anyone has found somehting?
Thanks.
Hey John,
Are you also asking on CodeV’s forum? I don’t really know how CodeV implements it, but Zemax is actually more than just the 3 equations listed in the Help File.
And the steps are:
Scale the wavelength to air at the reference temperature of the glass and a pressure of 1.0 atmospheres.
Compute the relative index of the glass at the reference temperature from the dispersion formula.
Compute the index of air at the reference temperature of the glass.
Compute the absolute index of the glass (relative to vacuum) at the reference temperature of the glass.
Compute the change in absolute index of refraction of the glass at the surface temperature.
Compute the index of air at the system temperature and pressure
Compute the index of the glass relative to the air at the system temperature and pressure
It’s a pretty complex algorithm to convert from relative index (air = 1.0) to absolute index (air = 1.0003) in order to use Schott’s formula. When you go through all the equations in detail, Zemax is correct.
From my understanding with my colleagues who primarily design in CodeV, they always rely on the thermal analysis of Zemax. It’s a small population sample, but from a handful of people who use both, Zemax is more trusted.
Thanks Michael for your feedback.
You’re right, following the 7 steps gives the right numbers.