ece 695 numerical simulations lecture 10: beam propagation...

41
ECE 695 Numerical Simulations Lecture 10: Beam Propagation Method Prof. Peter Bermel February 1, 2017

Upload: others

Post on 21-Oct-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

  • ECE 695Numerical Simulations

    Lecture 10: Beam Propagation Method

    Prof. Peter Bermel

    February 1, 2017

  • Outline

    • Beam Propagation Method

    • Nonlinear Schrodinger Equation

    • Fourier space BPM

    • Uniform grid BPM with PML

    • Finite element formulation

    • Vectorial BPM mode solver

    2/1/2017 ECE 695, Prof. Bermel 2

  • Example: Beam Propagation

    • Starting from the Helmholtz equation:

    −𝛻2𝜓 =𝑛𝜔

    𝑐

    2

    𝜓

    • One can assume a solution of the form:

    𝜓 = 𝜙𝑒−𝑗𝛽𝑧

    • Where f is slowly varying, which gives rise to:−𝛻2𝜙 + 2𝑗𝛽𝛻𝜙 = 𝑘⊥

    2 𝜓

    2/1/2017 ECE 695, Prof. Bermel 3

  • Beam Propagation• To simplify problem, drop second derivatives in z

    – now we can write as:

    𝜕𝜙

    𝜕𝑧=𝑗

    2𝛽𝛻⊥2 𝜙 +

    𝑗𝑘⊥2

    2𝛽𝜙

    • Can simplify by defining two operators:

    𝑈 =𝑗

    2𝛽𝛻⊥2

    𝑊 =𝑗𝑘⊥2

    2𝛽𝜕𝜙

    𝜕𝑧= 𝑈 +𝑊 𝜙

    2/1/2017 ECE 695, Prof. Bermel 4

  • Beam Propagation

    • For a small z-step of size h, we can formally write a solution:

    𝜙 𝑧 + ℎ = 𝑒ℎ 𝑈+𝑊 𝜙(𝑧)

    • If we know that U and W operators commute, we can rewrite as:

    𝜙 𝑧 + ℎ = 𝑒ℎ𝑈𝑒ℎ𝑊𝜙(𝑧)𝜙 𝑧 + ℎ = 𝑒ℎ𝑈/2𝑒ℎ𝑊𝑒ℎ𝑈/2𝜙(𝑧)

    2/1/2017 ECE 695, Prof. Bermel 5

  • Beam Propagation

    • Split-step method

    – Propagate half a step with the Laplacian

    – Propagate linear phase shift over the full distance

    – Propagate half a step with the Laplacian

    2/1/2017 ECE 695, Prof. Bermel 6

  • Nonlinear Schrodinger Equation

    • Can derive expressions suitable for understanding fibers with dispersion and Kerr nonlinearity:

    𝑈 = −𝑗𝛽22

    𝜕2

    𝜕𝑡2

    𝑊 = −𝛼 +𝑗𝜅

    2𝜙 2

    𝜕𝜙

    𝜕𝑧= 𝑈 +𝑊 𝜙

    2/1/2017 ECE 695, Prof. Bermel 7

  • Nonlinear Schrodinger Equation

    • In the presence of nonlinearity, don’t actually know the value of W(z+h)

    • Can obtain the result iteratively

    – Use W(z) to evaluate W(z+h)

    – Work backwards to refine guess for f(z+h)

    • After a few iterations, generally reach a self-consistent solution

    2/1/2017 ECE 695, Prof. Bermel 8

  • BPM Strategies

    • Most important decision is handling inhomogeneity well

    • Possible strategies:

    – Uniform spatial grid

    – FFT

    – Finite-element method

    2/1/2017 ECE 695, Prof. Bermel 9

  • Uniform Spatial Grid BPM

    • Reformulate Laplacian in 2D with:

    𝛻2𝜙 ≈𝜙𝑖−𝑁 + 𝜙𝑖−1 − 4𝜙𝑖 + 𝜙𝑖+1 + 𝜙𝑖+𝑁

    ℎ2

    • Where h is the grid spacing

    2/1/2017 ECE 695, Prof. Bermel 10

  • FFT BPM

    • Well-suited for diffraction step, where we can rephrase the operator as:

    𝑈 = −𝑗

    2𝛽𝑘 + 𝐺 ⊥

    2

    • Can transform before and then back afterwards, via FFT, as in MPB solver

    2/1/2017 ECE 695, Prof. Bermel 11

  • Example: Beam Propagation

    2/1/2017 ECE 695, Prof. Bermel

    [xx,yy] = meshgrid([xa:del:xb-del],[1:1:zmax]);

    mode = A*exp(-((x+x0)/W0).^2); % Gaussian pulse

    dftmode = fix(fft(mode)); % DFT of Gaussian pulse

    zz = imread('ybranch.bmp','BMP'); %Upload image with the profile

    phase1 = exp((i*deltaz*kx.^2)./(nbar*k0 + sqrt(max(0,nbar^2*k0*2 - kx.^2))));

    for k = 1:zmax,

    phase2 = exp(-(od + i*(n(k,:) - nbar)*k0)*deltaz);

    mode = ifft((fft(mode).*phase1)).*phase2;

    zz(k,:) = abs(mode);

    end

    12

  • Example: Beam Propagation

    2/1/2017 ECE 695, Prof. Bermel 13

  • Perfectly Matched Layers• In order to prevent lateral reflections (e.g., from PEC

    boundaries), can introduce perfectly matched layers (PML)

    • Several formulations (including split-field and uniaxial), but here we’ll follow stretched coordinate PML

    • Effected by the transformation:𝛻 ⟶ 𝐴 ∙ 𝛻

    𝐴 =1 − 𝑗𝛽 0 00 1 − 𝑗𝛽 00 0 1

    𝛽 = −3𝜆𝜌2

    4𝜋𝑛𝑑3ln 𝑅

    2/1/2017 ECE 695, Prof. Bermel 14

  • Perfectly Matched Layers

    • Residual reflection scales as a power law with PML thickness

    • Cubic absorption increase with position offers the best performance

    2/1/2017 ECE 695, Prof. Bermel

    A.F. Oskooi et al., Comput. Phys. Commun. (2009)

    15

  • Finite Element BPM

    • Finite element method consists of dividing a spatial domain in 1D, 2D or 3D into a mesh

    • Mesh generally has D+1 vertices

    • Solution can take various forms, but usually a tent function within each D+1-gon

    2/1/2017 ECE 695, Prof. Bermel 16

  • Finite Elements

    • Shapes: 1D, 2D, and 3D

    • Shape functions:

    1D: 𝑢 𝑥 = 𝛼 + 𝛽𝑥 + 𝛾𝑥2 +⋯

    2D/3D: 𝑢 𝑥 = 𝑘=0𝑑 𝛼𝑘𝑥

    𝑘 + 𝛽𝑘𝑦𝑘 + 𝛾𝑘𝑧

    𝑘

    2/1/2017 ECE 695, Prof. Bermel 17

  • Finite Elements

    • Lagrange functions:

    𝜆𝑜 𝑥 =𝜉1 − 𝑥

    𝜉1 − 𝜉𝑜

    𝜆1 𝑥 =𝑥 − 𝜉𝑜𝜉1 − 𝜉𝑜

    Basis functions 𝜑𝑗(𝑥)combine the Lagrange functions with compact support

    2/1/2017 ECE 695, Prof. Bermel

    M. Asadzadeh, Introduction to the Finite Element Method for Differential Equations (2010)

    18

  • Finite Element BPM

    • In general, can formulate FE problems as:𝐿𝑢 = 𝑏

    – L is the stiffness matrix, representing overlap between basis functions

    – b is the integral of given PDE with respect to basis– u is unknown

    • Value of FEA comes from:– Spatial flexibility: can define each element to vary in

    size quite substantially– Speed: properly chosen basis functions have compact

    support, leading to a sparse matrix

    2/1/2017 ECE 695, Prof. Bermel 19

  • Finite Element BPM

    • Can define error function as:𝐸 = 𝐿𝑢 − 𝑏

    • In order to eliminate errors, set weighted residual 𝑤𝑖 in test space v to zero:

    𝑣

    𝑤𝑖 (𝐿𝑢 − 𝑏) = 0

    • Galerkin’s method is a specific example of this:

    𝑣

    𝜓(𝐿𝑢 − 𝑏) = 0

    where u(x) are the polynomials we saw earlier

    2/1/2017 ECE 695, Prof. Bermel 20

  • Finite Element BPM

    • Can refine accuracy of BPM for wide-angle beam propagation with second derivative in z:

    𝑑𝜁

    𝑑𝑧= −2𝑗𝛽𝜁 − 𝛻⊥

    2 𝜙 − 𝑘⊥2 𝜙

    𝑑𝜙

    𝑑𝑧= 𝜁

    • Can then choose a Padé approximant based on initial value of z. If z(0)=0, then:

    𝜁 = 𝑗𝛽 1 +𝛻⊥2 + 𝑘⊥

    2

    𝛽2− 1 𝜙

    2/1/2017 ECE 695, Prof. Bermel 21

  • Finite Element BPM

    • Applying Galerkin method to second-order BPM equations yields:

    2/1/2017 ECE 695, Prof. Bermel 22

  • Reducing FEM Errors

    • Error depends on match between true solution and basis functions

    • To reduce error, can try the following:

    – H-adaptivity: decrease the mesh size

    – P-adaptivity: increase the degree of the fitted polynomials

    – HP-adaptivity: combine all of the above

    2/1/2017 ECE 695, Prof. Bermel 23

  • Reducing FEM Errors

    • Strategy for reducing errors:

    – Create an initial meshing

    – Compute solution on that meshing

    – Compute the error associated with it

    – If above our tolerance, refine the mesh spacing and start again

    2/1/2017 ECE 695, Prof. Bermel 24

  • BPM Mode Solver

    • Can extend BPM method to solve for modes, by propagating in the imaginary direction

    • First, drop all derivatives in BPM equation:

    • Second, write down next step in z:

    • Third, substitute special value of Dz:

    2/1/2017 ECE 695, Prof. Bermel 25

  • BPM Mode Solver

    • Since Dz initially unknown, assume largest index possible, and decrease it as needed

    • Will eventually converge to correct answer and effective refractive index:

    • Can use Gram-Schmidt normalization procedure to find higher-order modes:

    2/1/2017 ECE 695, Prof. Bermel 26

  • VBPM on a Waveguide: Problem Description

    • Cross section defined above; 𝜆 = 1.3 𝜇m• Propagation along z is semi-infinite• Must grid space with first-order triangular

    elements in cross-sectional plane; choose PML to reduce reflections to 10-100

    • Will vary Dz for maximum effectiveness

    2/1/2017 ECE 695, Prof. Bermel

    =3.20

    =3.26

    27

  • VBPM on a Waveguide

    • Fundamental mode is calculated accurately with 12,800 first-order triangular elements

    2/1/2017 ECE 695, Prof. Bermel 28

  • VBPM on a Waveguide

    • Propagation step size in Z, known as DZ, should equal transverse dimensions for best accuracy

    2/1/2017 ECE 695, Prof. Bermel 29

  • VBPM on a Waveguide: Longitudinal Imaginary Propagation

    • With optimal step size, can solve the fundamental mode of both polarizations in a pretty modest number of steps!

    2/1/2017 ECE 695, Prof. Bermel 30

  • VBPM on a Waveguide: Accuracy

    • Accuracy of calculation of waveguide coupling length as a function of mesh divisions N

    2/1/2017 ECE 695, Prof. Bermel 31

  • VBPM on a Waveguide

    • Accuracy of coupling length as a function of DZ saturates below one wavelength

    2/1/2017 ECE 695, Prof. Bermel 32

  • VBPM on a Photonic Crystal Fiber

    • Originally conceived of by P.J. Russell

    • Confines light to core without total internal reflection!

    2/1/2017 ECE 695, Prof. Bermel 33

  • VBPM on a PhC Fiber

    • Effective index vs. PhC period

    2/1/2017 ECE 695, Prof. Bermel 34

  • VBPM on a PhC Fiber

    • Hy field distributions for the fundamental TE modes

    2/1/2017 ECE 695, Prof. Bermel 35

  • VBPM on a PhC Fiber

    • Confinement loss decreases sharply as period Lincreases

    2/1/2017 ECE 695, Prof. Bermel 36

  • VBPM on a PhC Fiber

    • Variation of the effective mode area with PhCperiod L

    2/1/2017 ECE 695, Prof. Bermel 37

  • VBPM on a PhC Fiber

    • Effective index increases modestly with increasing period L, indicating increased mode confinement

    2/1/2017 ECE 695, Prof. Bermel 38

  • VBPM on a PhC Fiber

    2/1/2017 ECE 695, Prof. Bermel

    • Calculated dispersion relation (effective index versus wavelength) for a PhC Fiber

    39

  • VBPM on a PhC Fiber

    2/1/2017 ECE 695, Prof. Bermel

    • Obtained dispersion 𝐷 = 𝑑2𝑘/𝑑𝜔2 from earlier data

    • Note modest changes in parameters flip sign of D

    40

  • Next Class

    • Will discuss beam propagation method

    • Recommended reading: Obayya, Chapter 2

    2/1/2017 ECE 695, Prof. Bermel 41