NAME

Physics::Ellipsometry::VASE::Temperature - Temperature-dependent optical models for spectroscopic ellipsometry

SYNOPSIS

use PDL;
use Physics::Ellipsometry::VASE::Temperature qw(
    temperature_bandgap temperature_drude temperature_thermo_optic
);

# Track bandgap shift with temperature
my $Eg_300K = temperature_bandgap(1.17, 300,
    model => 'varshni', alpha => 4.73e-4, beta => 636);
my $Eg_600K = temperature_bandgap(1.17, 600,
    model => 'varshni', alpha => 4.73e-4, beta => 636);

# Metal optical constants at elevated temperature
my $lambda = sequence(100) * 10 + 400;
my ($n, $k) = temperature_drude($lambda, 500,
    omega_p0 => 9.0, gamma_0 => 0.02, gamma_ep => 1e-4);

DESCRIPTION

Temperature affects optical properties through several mechanisms:

Bandgap narrowing - Thermal expansion and electron-phonon interactions reduce the semiconductor bandgap as temperature increases. This red-shifts absorption edges.
Increased scattering - In metals and TCOs, electron-phonon scattering increases with temperature, broadening the Drude response and increasing resistivity.
Thermo-optic effect - In transparent materials, the refractive index changes linearly with temperature (dn/dT), typically 10^-6 to 10^-4 per Kelvin.
Carrier density changes - In semiconductors, thermal excitation increases free carrier density exponentially with temperature.

This module provides functions to incorporate these effects into ellipsometric models, enabling in-situ analysis at non-ambient temperatures (e.g., CVD monitoring, annealing studies).

FUNCTIONS

temperature_bandgap

my $Eg_T = temperature_bandgap($Eg0, $T,
                                model => 'varshni',
                                alpha => $alpha, beta => $beta);

Calculates the temperature-dependent optical bandgap using either:

Varshni model (1967):

Eg(T) = Eg(0) - alpha * T^2 / (T + beta)

Bose-Einstein model:

Eg(T) = Eg(0) - 2*aB / (exp(Theta/T) - 1)

Parameters:

$Eg0 - bandgap at T=0 K [eV]
$T - temperature [K]
model - 'varshni' (default) or 'bose_einstein'
alpha - Varshni coefficient [eV/K] (Si: 4.73e-4)
beta - Varshni parameter [K] (Si: 636)
aB - Bose-Einstein coupling [eV]
Theta - characteristic phonon temperature [K]
# Silicon bandgap at various temperatures
for my $T (100, 200, 300, 400, 500) {
    my $Eg = temperature_bandgap(1.166, $T,
        model => 'varshni', alpha => 4.73e-4, beta => 636);
    printf "Si Eg(%dK) = %.4f eV\n", $T, $Eg;
}

temperature_drude

my ($n, $k) = temperature_drude($lambda_nm, $T, %params);

Computes the Drude dielectric function with temperature-dependent scattering rate and optional T-dependent carrier density:

Gamma(T) = Gamma_0 + Gamma_ep * T + Gamma_ee * T^2

where Gamma_0 is residual (impurity) scattering, Gamma_ep is electron-phonon, and Gamma_ee is electron-electron.

Parameters:

$T - temperature [K]
eps_inf - high-frequency dielectric constant
omega_p0 - plasma frequency at reference T [eV]
gamma_0 - residual scattering rate [eV]
gamma_ep - electron-phonon coefficient [eV/K]
gamma_ee - electron-electron coefficient [eV/K^2]
T_ref - reference temperature [K] (default 300)
n_exp - carrier density temperature exponent (0 for metals)
activation_energy - optional carrier activation energy [eV]. When non-zero, the carrier density is normalized to T_ref and follows
n(T) / n(T_ref) = (T/T_ref)^n_exp
    * exp[-Ea/(2*kB) * (1/T - 1/T_ref)]

This is useful for doped semiconductors. The default is zero, preserving the metal-like power-law model.

# Gold optical constants at 300K vs 600K
my $lambda = sequence(200) * 5 + 400;
my ($n_300, $k_300) = temperature_drude($lambda, 300,
    eps_inf => 6.9, omega_p0 => 9.03,
    gamma_0 => 0.02, gamma_ep => 7e-5);
my ($n_600, $k_600) = temperature_drude($lambda, 600,
    eps_inf => 6.9, omega_p0 => 9.03,
    gamma_0 => 0.02, gamma_ep => 7e-5);

temperature_thermo_optic

my $n_T = temperature_thermo_optic($n_ref, $T,
                                    T_ref => 300,
                                    dndt => 1e-5);

Simple polynomial model for the temperature-dependent refractive index in transparent materials:

n(T) = n(T0) + (dn/dT)*(T - T0) + (d²n/dT²)/2 * (T - T0)²

Typical dn/dT values:

Fused silica:  +1.0e-5 /K
BK7 glass:     +3.0e-6 /K
Silicon:       +1.8e-4 /K
Water:         -1.0e-4 /K (negative!)

# SiO2 thermal lens calculation
my ($n_ref, $k_ref) = cauchy_nk(pdl(633), 1.4580, 0.003, 0);
my $n_hot = temperature_thermo_optic($n_ref, 400, T_ref=>300,
                                      dndt => 1.0e-5);

SEE ALSO

Physics::Ellipsometry::VASE::Dispersion, Physics::Ellipsometry::VASE

Y.P. Varshni, "Temperature dependence of the energy gap in semiconductors", Physica 34, 149 (1967).