S1344 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

S13 · Lesson 44 · Nonlinear and ultrafast lab

Second-harmonic growth with and without quasi-phase matching, a radix-2 FFT built from scratch, the frequency chirp that self-phase modulation writes on a pulse, and the Bessel-function sidebands of an electro-optic phase modulator

Lessons 40 to 43 described modulators, nonlinear optics and ultrafast pulses with formulas valid in tidy limits: phase matching with sinc², a chirp proportional to the intensity's slope, a phase modulator's sidebands. In this lab you'll compute each directly: integrate the second harmonic along a periodically poled crystal, build the fast Fourier transform that every pulse simulation relies on, measure the chirp self-phase modulation writes on a pulse, and find a phase modulator's sideband powers from Bessel functions. The fiber-pulse project (lesson 51) then uses the FFT for split-step propagation.

  • The curves are the second-harmonic field's magnitude against distance, in units of the coherence length Lc, without phase matching (bounded, oscillating) and with quasi-phase matching that flips the nonlinear coefficient every Lc (growing steadily at 2/π of the perfectly matched rate).
  • Unmatched, the harmonic generated in one coherence length is converted back in the next.
  • Quasi-phase matching only reverses the sign before that happens, so the harmonic keeps growing.

Predict

An electro-optic phase modulator is driven harder and harder. At what modulation index does the optical carrier disappear from the spectrum entirely?

Name it

What the lab computes

  • Second-harmonic growth: in the undepleted, slowly varying limit, the harmonic's field after length L is proportional to ∫0Ld(z)ejΔkzdz; with d constant it is bounded by 2/Δk, while flipping d every coherence length Lc=π/Δk makes it grow as (2/π)L.
  • The FFT: the radix-2 Cooley–Tukey algorithm computes the N-point DFT in Nlog2⁡N operations by splitting it into even and odd halves recursively.
  • Self-phase modulation's chirp: a pulse of intensity profile I(t) picks up a phase ϕ(t)=ϕmax⁡I(t)/I0, so its instantaneous frequency shifts by −dϕ/dt. For a Gaussian intensity e−t2/T02 the largest shift is 2e−1/2ϕmax⁡/T0=0.858ϕmax⁡/T0, and the spectrum broadens in proportion.
  • Phase-modulation sidebands: ejmsin⁡Ωt=∑kJk(m)ejkΩt (the Jacobi–Anger expansion), so sideband k carries Jk2(m) of the power, with Jk(m)=1π∫0πcos⁡(kτ−msin⁡τ)dτ.

Check

Write shg_field(dk, L, Lc, qpm, n=20000): the magnitude of ∫0Ld(z)ejΔkzdz by the midpoint rule, with d = 1, or flipping sign every Lc when qpm is true.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

Write fft(a, inverse=False): a radix-2 FFT for a list whose length is a power of 2 (the inverse divides by N).

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

Write spm_chirp(phimax, T0, n=4001): for a Gaussian intensity e−t2/T02 sampled on t from −4T₀ to 4T₀, compute φ(t) and the largest magnitude of its time derivative by central differences, returning that largest frequency shift in rad per unit time.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

Write sideband_power(m, k): the fraction of a phase-modulated field's power in sideband k, Jk2(m), using Bessel's integral with 2000 points (negative k has the same power), and carrier_zero(): the first m > 0 where the carrier's power vanishes, by bisection between 2 and 3.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Explain why

Why does self-phase modulation broaden a pulse's spectrum without changing its shape in time?