Surface Plasmon Resonance (SPR) Sensing Simulator

Explore the resonant excitation of surface plasmon-polaritons (SPPs) using the Kretschmann-Raether attenuated total reflection (ATR) configuration. Adjust optical parameters, metallic layer properties, and dielectric environments to observe the shift and broadening of the SPR reflectance curve. Evaluate the corresponding intensity sensitivity profile to determine the optimum operating angle for bulk refractive index SPR sensing. Analyze the differential phase shift between orthogonal polarization states for phase-interrogation applications. Quantify sensor resolving power via the calculated Full-Width at Half-Maximum (FWHM) and Figure of Merit (FOM). Introduce synthetic Gaussian measurement noise to simulate instrumental fluctuations, and export the generated data arrays for external processing.

System Parameters

Optical System
Refractive index of the external laboratory environment interacting with the prism facets (e.g., standard air, dispersive environments).
Selects the coupling-prism geometry, which dictates external angular mapping and facet reflection losses.
Selects the polarization state. SPP excitation requires a normal electric-field component to induce surface charges and a longitudinal component to drive the collective charge oscillations.
Selects the excitation wavelength. Automatically updates the dispersive optical constants (n, κ) of the metallic layers.
Refractive index of the high-index coupling prism (e.g., SF10 glass). For example: nSF10 = [1.7756, 1.7367, 1.7231] & nBK7 = [1.5302, 1.5195, 1.5151] at λ0 = [405, 532, 632.8] nm.
Angular spread (FWHM) of the incident Gaussian beam. Broadens the resonance dip via discrete convolution. Caveat: The simulation treats the divergence as invariant across the macroscopic prism boundaries; the angular spread does not undergo refractive (de)magnification.
Standard deviation of synthetic Gaussian noise applied to the measured reflectance.
Adhesion Layer (Layer 2)
Physical thickness of the adhesion layer. Drives non-radiative damping.
Real part of the adhesion layer's complex index.
Imaginary part of the adhesion layer's complex index. Governs both wave attenuation and interface reflectivity.
Active Metallic Layer (Layer 3)
Physical thickness of the sensing metallic film (Au, Ag, Custom). Governs optical tunneling and radiative damping (leakage).
Real part of the active metallic layer's complex index.
Imaginary part of the active metallic layer's complex index.
Dielectric Environment (Layer 4)
Refractive index of the baseline medium in the microfluidic channel.
Refractive index of the liquid sample (e.g., Water, Saline). For example: nH2O @ 20 °C = [1.3425, 1.3351, 1.3316] at λ0 = [405, 532, 632.8] nm.
Small change in the sample fluid's refractive index for sensitivity analysis. (Zero values disabled to prevent numerical instability).
Max Sensitivity (|SI|max)
--
Maximum |ΔR / Δn|
Optimum Angle (θopt)
--
Angle of Peak Sensitivity
FWHM (ΔθFWHM)
--
Resonance Width
Figure of Merit (FOM)
--
|SI|max / ΔθFWHM
Absolute Reflectance (R)
Intensity Sensitivity (SI = ΔR / Δn)
Lower bound of the internal angular plot domain.
Upper bound of the internal angular plot domain.
Differential Phase Shift (Δ = δpδs)
Downloads the current simulation arrays as a comma-separated values file.

Theory & Methods: Surface Plasmon Resonance Sensing

1. SPP Dispersion and Momentum Matching

Surface plasmon-polaritons (SPPs) are hybrid electromagnetic waves—coupled transverse-magnetic (TM) photons and collective electron-density oscillations—that propagate along the interface between a metal (with a complex relative permittivity, Re[εm] < 0) and a dielectric (Re[εd] > 0). (The operator Re denotes the real part.) Because the electromagnetic field is coupled to the massive charge carriers, the SPP wave travels slower than light in the bulk dielectric, possessing a larger in-plane momentum (wavevector kx). For a single metal-dielectric interface, the SPP dispersion relation is defined as:

kxSPP = (ω / c) [ (εd εm) / (εd + εm) ](1/2)

where ω is the angular frequency of the wave and c is the speed of light in vacuum. Consequently, freely propagating light from the dielectric medium cannot excite SPPs directly because it lacks sufficient longitudinal momentum (kx < Re[kxSPP]). To bridge this momentum gap, the Kretschmann-Raether configuration employs attenuated total reflection (ATR).

2. The Kretschmann-Raether Configuration

In this optical geometry, laser light enters a high-index coupling prism (n1) and strikes the base at an internal angle θint greater than the critical angle for total internal reflection (TIR). Under TIR conditions, the incident wave does not propagate into the lower-index dielectric medium (n4); instead, it generates an evanescent field that decays exponentially into the thin active metallic film (Gold, n3).

If the metallic layer is sufficiently thin (e.g., 50 nm), this evanescent field tunnels through the metal and reaches the other metal-dielectric interface (e.g., Gold-Air). Resonance occurs when the in-plane wavevector of the light in the prism exactly matches the propagation wavevector of the SPP at the outer interface:

(ω / c) n1 sin(θintres) ≈ Re[ kxSPP ]

At this specific angle, the incident photon energy is resonantly transferred into the SPP mode, which subsequently dissipates via Joule heating in the metal (intrinsic damping, γin) and leakage radiation back into the prism (radiative damping, γrad). This extraction of energy manifests as a sharp dip in the macroscopic reflectance curve.

3. The 4-Layer Recursive Fresnel Model

Predicting the macroscopic reflectance profile R(θint), including its minimum intensity and Full-Width at Half-Maximum (FWHM), requires a solution to Maxwell's equations across the stratified boundary. This SPR sensor utilizes a 4-layer architecture: Prism (1), Adhesion Layer (2), Active Metal (3), and Dielectric Environment (4).

The total amplitude reflection coefficient is computed by recursively expanding the generalized Fresnel equations. For an interface between an incident medium i and a transmitted medium j, the single-interface p-polarization reflection coefficient rijp and s-polarization reflection coefficient rijs are:

rijp = (nj2βini2βj) / (nj2βi + ni2βj) rijs = (βiβj) / (βi + βj)

Here, n is the refractive index and rij is the single-interface reflection coefficient. The variables βi and βj represent the complex z-components of the wavevector in their respective layers. Governed by the conservation of in-plane momentum across all boundaries, the general form for any layer j is:

βj = [ (ω / c)2 nj2kx2 ](1/2)

where kx = (ω / c) n1 sin(θint) is the incident in-plane wavevector. Because s-polarized light lacks a normal electric-field component, it cannot induce the surface charge density necessary to excite SPPs. The net reflection coefficient (r1,4) and total reflectivity (RSPR = |r1,4|2) for the 4-layer stack incorporates the multiple internal reflections and accumulated phase shifts through the intermediate films:

r1,4 = (r12 + r23 exp[2iβ2d2] + r34 exp[2i(β2d2 + β3d3)] + r12r23r34 exp[2iβ3d3]) / (1 + r12r23 exp[2iβ2d2] + r12r34 exp[2i(β2d2 + β3d3)] + r23r34 exp[2iβ3d3]) RSPR = |r1,4|2

where i2 ≡ −1. The variables d2 and d3 represent the physical thicknesses of the adhesion layer and the active metallic layer, respectively. This simulation computes the recursive Fresnel expansion.

4. Discrete Convolution for Beam Divergence

Because real lasers emit beams with a finite angular divergence, the measured macroscopic reflectance is a continuous convolution of the ideal plane-wave reflectance and the laser's Gaussian angular intensity distribution. Since an analytical integration of this convolution is intractable, the simulation approximates it using a finite Riemann sum:

Rmeasured(θ0) ≈ Σ [ wj Rideal(θ0 + Δθj) ] / Σ wj

To balance real-time computational performance with numerical accuracy, this uniformly sampled discrete convolution is evaluated over an angular window of ±3σ (where σ is the standard deviation of the beam profile) using 21 evenly spaced evaluation nodes (index j). The parameter wj represents the statistical weight of the j-th node, determined by the underlying Gaussian intensity distribution.

Note: To maintain computational efficiency, the simulation treats the angular beam divergence as invariant across the refracting boundaries.

5. Macroscopic Prism Geometry and Facet Losses

In a practical laboratory setup, the macroscopic geometry of the coupling prism dictates the transformation between the internal angle of incidence (θint) and the external angle of incidence (α) relative to the entrance facet normal. For an isosceles triangular prism with base angle A, this transformation is governed by Snell's law:

θint = A − sin−1[ (nambient / n1) sin α ]

Within this geometric framework, an increasingly positive external angle (α > 0), measured relative to the facet normal, indicates that the incident beam is on the prism apex side of the normal and rotated toward the prism apex, yielding a smaller internal angle (θint < A). Conversely, a negative external angle (α < 0) designates that the incident beam is rotated toward the prism base and resides on the base side of the facet normal, producing a larger internal angle (θint > A).

The incident beam undergoes reflection losses at both the entrance and exit facets. For an isosceles geometry, the internal angle of refraction at the entrance facet and the internal angle of incidence at the exit facet are symmetric: θt = Aθint. The corresponding amplitude reflection coefficients for p-polarized and s-polarized light are:

rfacetp = (n1 cos αnambient cos θt) / (n1 cos α + nambient cos θt) rfacets = (nambient cos αn1 cos θt) / (nambient cos α + n1 cos θt)

The total macroscopic reflectance integrates these transmittance losses via Tin = Tout = 1 − |rfacet|2, such that the final signal evaluates to:

Rmacro = (1 − |rfacet|2)2 RSPR

For the hemicylindrical coupling geometry, the beam enters and exits strictly normal to the curved facets (α = 0, θt = 0), yielding constant, angle-independent transmission losses. For a mixed-polarization beam containing an s-polarization intensity fraction fs, the total reflectance is the weighted superposition of the orthogonal states:

Rmix = (1 − fs) Rmacrop + fs Rmacros

6. Bulk Sensitivity of the SPR Sensor

The overall sensitivity S of an SPR sensor can be expressed as the product of the sensitivity of the output signal (reflectance R) to the effective index of the SPP mode (neffSPP) and the sensitivity of the effective index to the refractive index of the dielectric medium (nd). Applying the chain rule yields:

S = (∂R / ∂neffSPP) (∂neffSPP / ∂nd)

The first factor depends on the method of SPP excitation (e.g., prism coupling) and modulation, while the second factor represents the intrinsic properties of the SPP mode. To quantify the intensity sensitivity SI directly from the macroscopic reflectance, a finite-difference approach is utilized:

SI = ΔR / Δn = [ R(θint; nd + Δn) − R(θint; nd) ] / Δn

Evaluating SI across the angular domain reveals that the maximum sensitivity occurs at the inflection points of the SPR dip, pinpointing the optimal operating angles θopt for differential sensing. The sign of SI provides direct physical intuition regarding the sensor's operating point relative to the resonance minimum. An increase in the dielectric index (nd) increases the SPP propagation wavevector; therefore, the momentum-matching condition requires a correspondingly larger incident angle, shifting the entire reflectance curve to the right. Thus, if the sensor operates on the descending left flank of the dip (θ < θres), a rightward shift of the curve moves the minimum further from the observation point, causing the measured reflectance to increase (SI > 0). Conversely, operating on the ascending right flank (θ > θres) pulls the resonance minimum closer to the observation point, decreasing the measured reflectance (SI < 0).

7. Phase Interrogation and Ellipsometry

While amplitude interrogation tracks the dip in reflected intensity, phase interrogation evaluates the differential phase shift between the orthogonal polarization states. The complex reflection coefficient is r = |r| exp(iδ). The differential phase shift Δ is defined as:

Δ = δpδs

where the individual phase delays are extracted from the complex Fresnel equations via δj = tan−1[ Im(rj) / Re(rj) ]. At the SPP resonance angle, the phase of the p-polarized component undergoes a steep topological transition. This sharp phase gradient generally offers a lower limit of detection (LOD) than intensity mapping.

If the incident beam is strictly p-polarized, a direct physical measurement of Δ is impossible without the s-polarized internal reference wave; experimental extraction of δp then necessitates an external split-path interferometer. Computationally, however, rp and rs operate as intrinsic transfer functions of the stratified media. Simulating Δ under pure p-polarization visualizes the theoretical polarization-dependent phase retardation inherent to the boundary conditions, irrespective of the incident optical field amplitudes.

8. Sensor Figure of Merit (FOM)

The resolving power of the SPR sensor is quantified by its Figure of Merit (FOM), which normalizes the maximum sensitivity against the spectral width of the resonance:

FOM = |SI|max / ΔθFWHM

where ΔθFWHM is the Full-Width at Half-Maximum of the SPR dip. Narrower resonance curves minimize the overlap of adjacent signals in differential measurements, yielding a superior FOM.

9. Synthetic Measurement Noise

To replicate the stochastic fluctuations of physical photodetectors (shot noise and thermal noise), a pseudo-random Gaussian distribution is applied to the ideal reflectance profile utilizing the Box-Muller transform:

Rmeasured = Rideal + σ [ -2 ln(U1) ](1/2) cos(2π U2)

where σ is the standard deviation (noise amplitude), and U1 and U2 are independent uniformly distributed random variables on the interval (0, 1].