Optical Fiber Communication Simulator Back
Fiber Optics

Optical Fiber Communication Simulator

Adjust core and cladding refractive indices to see total internal reflection animated in real time. Calculate NA, acceptance angle, attenuation, and bandwidth-distance product instantly.

Parameters

Wavelength Window

Results
Numerical Aperture
Acceptance half-angle
°
Critical angle θc
°
Output power
mW
Link loss
dB
BW × distance
MHz·km
Ray Tracing (Total Internal Reflection)
Optical Power vs Distance
Theory & Key Formulas
$$NA = \sqrt{n_1^2 - n_2^2}$$ $$P(L) = P_0 \cdot 10^{-\alpha L/10}$$

What is Optical Fiber Communication?

🙋
What exactly is the "core" and "cladding" in an optical fiber? They're just two layers of glass, right?
🎓
Basically, yes, but their specific properties are what make fiber optics work. The core is the inner cylinder that carries the light. The cladding is the outer layer that traps the light inside the core. The key is that the core has a slightly higher refractive index ($n_1$) than the cladding ($n_2$). Try moving the "Core Index (n1)" and "Cladding Index (n2)" sliders in the simulator above. You'll see that when $n_1 \gt n_2$, light rays stay confined inside the core through total internal reflection.
🙋
Wait, really? So the light just bounces forever? That seems too perfect. What stops the light from just fading out?
🎓
In practice, the light does fade out, or attenuate, over distance. Even the purest glass absorbs and scatters some light. This loss is measured in decibels per kilometer (dB/km). For instance, in a standard telecom fiber, a signal might lose half its power after traveling 15 km. That's what the "Attenuation (α)" slider and the power decay graph in the simulator model. A lower α means the signal can travel much farther before needing a booster.
🙋
Okay, so we trap light and it attenuates. But how do we know how much light we can actually "couple" into the fiber from a laser or LED? Is there a limit?
🎓
Great question! That limit is described by the Numerical Aperture (NA). It's a measure of the fiber's light-gathering ability. A higher NA means the fiber can accept light from a wider range of angles. You can see it calculated live in the simulator. If you increase the core index ($n_1$) or decrease the cladding index ($n_2$), watch the NA value go up. A common case is in medical endoscopes, which use fibers with a very high NA to collect as much light as possible from inside the body.

Physical Model & Key Equations

The Numerical Aperture (NA) determines the maximum acceptance angle ($\theta_a$) for light entering the fiber. It depends solely on the refractive indices of the core and cladding. A larger NA means easier light coupling but can also lead to more signal distortion.

$$NA = \sqrt{n_1^2 - n_2^2}$$

$n_1$ : Refractive index of the core. $n_2$ : Refractive index of the cladding. For the fiber to guide light, $n_1$ must be greater than $n_2$.

Signal power decreases exponentially with distance traveled through the fiber due to attenuation. This is a critical parameter for designing the spacing between signal repeaters or amplifiers in a long-distance network.

$$P(L) = P_0 \cdot 10^{-\alpha L/10}$$

$P(L)$ : Power at length $L$. $P_0$ : Initial launched power. $\alpha$ : Attenuation coefficient (dB/km). $L$: Length of the fiber (km). This formula shows why lowering attenuation was the breakthrough that enabled global internet backbones.

Frequently Asked Questions

As the difference between the core refractive index n1 and the cladding refractive index n2 increases, the numerical aperture (NA) becomes larger, changing the critical angle for total internal reflection within the fiber. Consequently, the range of acceptable incident angles widens, and you can observe the zigzag angle of the light ray becoming steeper or more rays undergoing total internal reflection in the animation.
When you adjust the sliders for transmission distance L (km) or loss coefficient α (dB/km), the graphs are updated immediately. Attenuation follows P(L)=P0×10^(-αL/10), and pulse broadening reflects the effects of modal dispersion and material dispersion, calculating and displaying in real time how the waveform becomes distorted in proportion to the distance.
Yes. You can visually grasp the changes in light-receiving efficiency due to NA adjustment and the quantitative trends of attenuation and pulse broadening with distance. However, since actual design also requires consideration of wavelength dispersion, nonlinear effects, etc., this simulator is suitable for basic understanding and initial investigation.
If the core refractive index n1 is equal to or less than the cladding refractive index n2, the condition for total internal reflection is not satisfied, causing the light ray to leak into the cladding and the animation to not be displayed. Please set n1 > n2 and adjust the incident angle to be larger than the critical angle.

Real-World Applications

Telecommunications & Internet Backbones: This is the most widespread application. Undersea and terrestrial fiber cables form the core of the global internet, carrying terabytes of data across continents with minimal loss. The simulator's attenuation parameter is constantly optimized by engineers to increase the distance between costly underwater amplifiers.

Medical Endoscopy and Surgery: Bundles of optical fibers are used in endoscopes to illuminate and transmit images from inside the body. Fibers with a high Numerical Aperture (NA) are chosen to maximize light collection, providing surgeons with a clear view during minimally invasive procedures.

Industrial Sensing and Inspection: Fibers are used to deliver light and collect data in harsh or inaccessible environments. For instance, they monitor temperature and strain inside jet engines or carry laser beams for precise welding and cutting in automated manufacturing.

Defense and Avionics: Fiber optic cables are immune to electromagnetic interference (EMI), making them ideal for use in aircraft, ships, and military vehicles for data buses and sensor networks. Their light weight and high bandwidth are critical advantages in these applications.

Common Misconceptions and Points to Note

First, the idea that "a larger NA is always better" is an oversimplification. While a larger Numerical Aperture (NA) generally improves coupling efficiency with a light source, it comes at the cost of exciting more higher-order modes, leading to increased modal dispersion. For instance, when transmitting over 1 km of multimode fiber with NA=0.3, the pulse broadening (dispersion) becomes significantly more pronounced compared to fiber with NA=0.2, degrading signal quality in high-speed communications. Even if this effect seems negligible in short-distance wiring, it becomes impossible to ignore as the distance increases.

Next, avoid setting the "attenuation coefficient α" to unrealistic values in the simulator. For example, setting α to 0 dB/km creates a "dream fiber" with no attenuation over any distance, which lacks realism. Practical reference values are around 0.2–0.4 dB/km for single-mode fiber and 2–4 dB/km for multimode fiber. Using these values as a baseline, try to get a feel for "how much signal strength is lost over a 100 km transmission."

Finally, note that the difference between "single-mode" and "multimode" is not just about core diameter. While changing the core diameter in the simulator certainly alters the number of propagating modes, in practice, the operating wavelength is also critically important. For example, the same fiber core diameter might support single-mode propagation at a wavelength of 1.55 μm but become multimode at 0.85 μm. When adjusting parameters, always keep in mind the interrelationship between wavelength, core diameter, and refractive index difference.

How to Use

  1. Enter core refractive index (n1, typical 1.48 for silica) and cladding index (n2, typically 1.46) using the n1 and n2 input fields
  2. Set fiber length in kilometers using LFiberNum to model attenuation effects over distance
  3. Click simulate to compute numerical aperture (NA = √(n1² − n2²)), acceptance angle, and loss budget accounting for Rayleigh scattering (∼0.2 dB/km at 1550 nm)
  4. Observe critical angle visualization showing total internal reflection boundary where light confinement occurs

Worked Example

Standard single-mode fiber (SMF-28): n1 = 1.4795, n2 = 1.4669, L = 80 km. Calculated NA = 0.131 gives acceptance angle θ = 7.5°. At 1550 nm wavelength with 0.19 dB/km attenuation, total path loss = 80 × 0.19 = 15.2 dB. Injected power of 0 dBm requires receiver sensitivity ≤ −15.2 dBm, achievable with modern photodiodes (−25 dBm typical). Dispersion parameter D = 17 ps/(nm·km) limits bandwidth-distance product to 625 GHz·km.

Practical Notes

  1. Multimode fiber (MMF) uses larger core (50 µm) with NA ≈ 0.2–0.21; increases modal dispersion but simpler coupling—select n1 = 1.48, n2 = 1.465 to model 62.5/125 µm MMF
  2. Cladding index variation ±0.001 changes cutoff wavelength; verify n2 specification to avoid single-mode operation breakdown below designed wavelength
  3. Macrobend loss dominates beyond 5 mm radius; tight fiber routing in ducts increases attenuation nonlinearly—add 1–3 dB margin for field installations
  4. Numerical aperture mismatch at splices causes coupling loss ≈ 20log₁₀(NA₁/NA₂) dB; SMF to MMF requires mode field diameter matching