PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Optics & Light

Other simulators in this category — or see all 44.

View category →
NewSchool

Laser Speckle

Random phased waves: |Σ e^{i(k·r+φ)}|² grain pattern (qualitative).

Launch Simulator
NewUniversity / research

Bragg’s Law (X-ray)

2d sin θ = nλ vs θ; crystal planes and constructive reflection (schematic).

Launch Simulator
NewKids

Kaleidoscope

N-fold rotation + optional mirror: one bead etches a symmetric mandala trail.

Launch Simulator
NewSchool

Coffee-Cup Caustics

Parallel beam, circular cup segment, reflected-ray density on a table line.

Launch Simulator
NewSchool

Soap Film (Minimal Surface)

Non-planar wire: discrete Laplace relaxation on z; iridescent mesh — Plateau sketch.

Launch Simulator
NewSchool

CD / Grating Rainbow

Lines/mm and incidence: scalar grating orders painted as λ-colored fans.

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Optics & Light/Fiber Bragg Grating

Fiber Bragg Grating

A Fiber Bragg Grating (FBG) is a periodic modulation of the refractive index within the core of an optical fiber. This simulator models the fundamental operating principle: the FBG acts as a wavelength-selective mirror. When broadband light propagates through the fiber, the periodic structure causes constructive interference for a specific wavelength, known as the Bragg wavelength, which is reflected. All other wavelengths are transmitted with minimal loss. The core physics is captured by the Bragg condition: λ_B = 2 n_eff Λ, where λ_B is the Bragg wavelength, n_eff is the effective refractive index of the fiber mode, and Λ is the grating period. The simulator visualizes the characteristic reflectivity spectrum, typically approximated as a Lorentzian curve centered at λ_B. Its width and peak height depend on the grating's strength (modulation depth of the refractive index, Δn) and length (L). By interacting with the controls, you can explore how changing the grating period (Λ), effective index (n_eff), or grating strength alters the reflected wavelength and the shape of the reflectivity spectrum. This demonstrates the FBG's function as an optical filter or sensor, as shifts in λ_B due to strain or temperature changes form the basis for its widespread sensing applications. The model simplifies the full coupled-mode theory to a Lorentzian lineshape, neglecting side lobes and more complex apodization effects, providing a clear, intuitive understanding of the central resonance phenomenon.

Who it's for: Undergraduate and graduate students in photonics, optical engineering, and physics courses covering waveguide theory, optical filters, or fiber optic sensors.

Key terms

  • Bragg Wavelength
  • Effective Refractive Index
  • Grating Period
  • Reflectivity Spectrum
  • Lorentzian Lineshape
  • Coupled-Mode Theory
  • Optical Filter
  • Wavelength-Division Multiplexing

Grating & probe λ

1.45
534 nm
8 nm
1550 nm

Bragg condition λ_B = 2 n_eff Λ (first order). Real FBG spectra use coupled-mode theory; here a Lorentzian-shaped toy peak illustrates wavelength-selective reflection for sensing and WDM filters.

Shortcuts

  • •Tune Λ and n_eff to move the Bragg peak
  • •Sweep probe λ across the peak to read toy reflectivity

Measured values

λ_B (calc)1548.60 nm
R(λ_probe)0.891

How it works

Narrowband reflection from a periodic index modulation in the fiber core — the telecom workhorse for filters and strain sensors.

Frequently asked questions

Why does the FBG only reflect one specific wavelength?
The periodic structure acts like a series of partially reflective mirrors. For most wavelengths, the reflections from each interface interfere destructively. Only for the Bragg wavelength (λ_B) do the reflections from all periods add in phase, resulting in strong constructive interference and high reflectivity. This is a direct consequence of the Bragg condition λ_B = 2 n_eff Λ.
How is an FBG used as a sensor?
Physical parameters like strain and temperature change either the grating period (Λ) or the effective index (n_eff). According to the Bragg condition, this shifts the reflected wavelength (λ_B). By precisely measuring this spectral shift, the FBG becomes a highly sensitive sensor for mechanical deformation, temperature, or pressure.
What does the 'grating strength' control represent?
It primarily models the depth of the refractive index modulation (Δn). A stronger modulation creates a larger impedance mismatch at each period, increasing the peak reflectivity and often broadening the spectral width. In a real FBG, strength is also influenced by the grating length.
Is the reflectivity spectrum always a perfect Lorentzian shape?
No, the Lorentzian is a useful simplification for a weak, uniform grating. Real FBGs, especially strong or long ones, exhibit a more complex spectrum described by coupled-mode theory, often with side lobes. Apodization (tapering the grating strength at the ends) is used to suppress these side lobes for practical applications.