1 solving wave equation by beam propagation method and ray tracing

29
1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

Upload: darcy-gaines

Post on 26-Dec-2015

224 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

1

Solving Wave Equation byBeam Propagation Method and Ray Tracing

Page 2: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

2

Equation for Propagating Wave in Longitudinally Varying Waveguide

2 2 1( )T T T T TE E E

2 2 ( )E E E

2 2 1( )H H H

Hence

For “slow” varying waveguide, we have

1 1 1 1( ) ( ) ( ) ( ) ( )T T z T TE E E E E E

z

1 1 1ˆ ˆ ˆ[ ( )] { ( ) [( ) ( )]}

1 1 1ˆ ˆ ˆ ˆ ˆ( ) ( ) ( ) ( ) ( ) ( )

T T T T T T

T T T T T T T

H z H z z Hz

z z H z H z z Hz

From

2 2 1ˆ ˆ( ) ( )T T T T TH H z z H

Page 3: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

3

Equation for Propagating Wave in Longitudinally Varying Waveguide

2 2 2 1[( 2 ) ] [ ( ) ] ( )T T T T T T Tj E E E E

z z

( , , ) j zTE x y z e

22

2

( , , )| / ( , , ) |T

T

E x y zE x y z

z

( )( , , , ) ( , , ) j z tT TE x y z t E x y z e

Unlike in solving the purely guided wave, we should allow a longitudinally dependent field envelope to reflect the longitudinally varying feature of the waveguide:

where

Hence the 2nd order derivative of the field envelope on z is negligible in comparing with its 1st order derivative – this is known as the slow-varying envelope approximation and is a general approach in treating a slow-varying structure or a function with weak dependence on its variable.

The wave equation for the envelope of the transverse E-field is therefore obtained as:

Page 4: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

4

Equation for Propagating Wave in Longitudinally Varying Waveguide

[( 2 ) ] x xxx xy

y yyx yy

E EP Pj

E EP Pz z

Or, it can be expressed as:

2 2 22 2 2 2

2 2 2

( ) ( )1( ) [ ] [ ] ( )y y y y y y

yy y y y

E E E E E EP E E E

x y y y x y y

2( )1( ) [ ]y y y

xy y

E E EP E

x y x y x y

2 2 22 2 2 2

2 2 2

( ) ( )1( ) [ ] [ ] ( )x x x x x x

xx x x x

E E E E E EP E E E

x y x x x x y

2( )1( ) [ ]x x x

yx x

E E EP E

y x y x y x

where

Page 5: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

5

Equation for Propagating Wave in Longitudinally Varying Waveguide

[( 2 ) ] x xxx xy

y yyx yy

H HQ Qj

H HQ Qz z

Similarly, we have:

22 2

2

1( ) ( )y y

yy y y

H HQ H H

x x y

21( )y y

xy y

H HQ H

y x y x

22 2

2

1( ) ( )x x

xx x x

H HQ H H

x y y

2 1( )x x

yx x

H HQ H

x y x y

where

Page 6: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

6

Equation for Propagating Wave in Longitudinally Varying Waveguide

Under the semi-vectorial approximation, the full vectorial operators are reduced to:

22 2

2

( )1[ ] ( )y y

yy y y

E EP E E

x y y

0xy yP E 2

2 22

( )1[ ] ( )x x

xx x x

E EP E E

x x y

0yx xP E

22 2

2

1( ) ( )y y

yy y y

H HQ H H

x x y

0xy yQ H 2

2 22

1( ) ( )x x

xx x x

H HQ H H

x y y

0yx xQ H

As such, all equations become decoupled and each E- or H- field component can be solved independently.

Page 7: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

7

Equation for Propagating Wave in Longitudinally Varying Waveguide

Under the weak confinement approximation, the operators are further reduced to:

2 22 2

2 2( )xx yy xx yyP P P Q Q

x y

The wave equation for either E- or H- field takes the same form as:

0xy yx xy yxP P Q Q

( 2 )j Pz z

- scalar wave equation

Page 8: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

8

Equation for Propagating Wave in Longitudinally Varying Waveguide

The operator on the left hand side can always be treated under the Pade approximation:

1|2 |

i

i

P

z jz

By letting i=1, we obtain the paraxial scalar wave equation (paraxial full vectorial and semi-vectorial wave equations can be obtained similarly by replacing the operator on the right hand side with the corresponding full vectorial and semi-vectorial operators, respectively):

0| 0z

2j Pz

with

Page 9: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

9

Equation for Propagating Wave in Longitudinally Varying Waveguide

By letting i=2, we obtain the 1st order wide angle scalar wave equation (1st order wide angle full vectorial and semi-vectorial wave equations can be obtained similarly by replacing the operator on the right hand side with the corresponding full vectorial and semi-vectorial operators, respectively):

(2 )2

Pj P

z

Page 10: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

10

Beam Propagation Method

In dealing with the equation in the form of 2j Pz

we can always identify a small step Δz, at which the solution to it can be formally expressed as:

(1 )2

2

2

1 (1 )2

( , , ) ( , , ) ( , , ) ( , , )

12

zPjzP

j

zPj

zPj

ex y z z e x y z x y z x y z

zPje

Page 11: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

11

Explicit Scheme

Letting α=0, we obtain the explicit BPM scheme

( , , ) ( , , ) ( , , )2

zx y z z x y z j P x y z

In the explicit scheme, the numerical treatment is a simple marching process along z: for a given initial field distribution at a starting point z0, the right hand side can be computed by taking (numerical) derivatives directly to obtain the field distribution at z0+Δz; by iterating this process, the entire field distribution along z can readily be obtained.

Page 12: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

12

Implicit Scheme

For 0<α<1, we obtain the implicit BPM scheme (where α=0.5 is the Crank-Nicholson’s scheme that preserves the unitarity of the entire exponential operator):

(1 ) ( , , ) [1 (1 ) ] ( , , )2 2

z zj P x y z z j P x y z

In the implicit scheme, a full numerical treatment is needed by discretizing the field in the cross-sectional plane (x, y) through, e.g., the finite-difference scheme: for a given initial field distribution at a starting point z0, seeking the solution of the field distribution at z0+Δz becomes solving a system of linear equations with the field values at a set of grid points as unknowns; once the field distribution is obtained at z0+Δz, this process will be repeated by updating z0 with z0+Δz and z0+Δz with z0+2Δz …; as such, the entire field along z can be obtained.

Page 13: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

13

Implicit Scheme

Assuming there are N and M grid points in x and y direction, respectively, after discretization under the FD scheme, the original (paraxial, scalar) wave equation will be in the form of

[ ][ ( , , )] [ ][ ( , , )] [ ( , , )]ij ij i j ij ij i j i jA x y z z B x y z x y z

where the coefficient matrix A and B are in NM×NM, the field distribution at z0+Δz (as unknown) and at z0 (given) are vectors in NM.

Since the right hand side of the above equation can be treated as a given vector in NM, the solution to this problem can be found by inverting matrix A:

1[ ( , , )] [ ] [ ( , , )]i j ij ij i jx y z z A x y z

Page 14: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

14

A Few Remarks about BPM

• BPM is a initial value problem (in explicit scheme) or mixed initial-boundary value problem (in implicit scheme), hence there is the stability issue as we have encountered in the FDTD algorithm. (On the contrary, the mode solver, identified as an eigen value problem, is a boundary value problem and is unconditionally stable.)

• Through von-Neumann analysis, we find that the stability criteria is given by α≤0.5, independent of the longitudinal marching step size Δz or the grid sizes (Δx, Δy) in the cross-section.

• Numerical dissipation – error introduced to the amplitude of the field distribution in the marching process; zero numerical dissipation obviously requires α=0.5, however, this usually leads to the unstable problem in practice; a compromise can be made be choosing, e.g., α=0.5+δ, where δ is a very small number for minimizing the numerical dissipation but is sufficient to avoid the instability. For a given α, a smaller marching step size Δz obviously gives a smaller numerical dissipation.

Page 15: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

15

A Few Remarks about BPM

• Numerical dispersion – phase error introduced by the discretization; von-Neumann analysis shows that, independent of α and Δz, the numerical dispersion is only related to the grid sizes (Δx, Δy) in the cross-section, as well as the selection of the propagation constant β.

• Boundary condition – PML

• Initial condition – source excitation at a starting point z0

• Other (explicit) BPM methods:

(a)Multiple step BPM

(b)Series expansion BPM

( , , ) ( , , ) ( , , )z

x y z z x y z z j P x y z

0

1( , , ) ( ) ( , , )

! 2

Nn

n

zPx y z z j x y z

n

Page 16: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

16

A Few Remarks about BPM

• Apply BPM to uniform waveguide for solving mode

• Bi-directional BPM

• Time domain BPM – by applying the slow-varying envelope approximation in terms of the time variable (t) in treating time domain wave equations

Page 17: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

17

A Summary on Numerical Solution Techniques

Solution Method

Varieties Numerical problem

Remarks

Maxwell’s equations (mixed I/B problem)

FDTD Dispersive media

Marching (iteration)

Extendable for solving the Schrodinger equation by mapping the real and imaginary wave functions to E and H fields, respectively

Wave equations (mixed I/B problem)

FFT-BPM

FD-BPM

FD-TD, explicit and implicit, split-step

Marching (iteration) and matrix Inversion

Through mode matching, can be treated as eigen value problems

Eigen value equations (B problem)

FD Mode- Solver

FE, collocation Matrix diagonalization

Through extension in (t) or (z), can be treated as wave propagation problems

Poisson’s equation (B problem)

FD Solver FE, collocation Matrix inversion

Page 18: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

18

Ray Tracing Method

X

Y

Z x

yz

Oo

P0

sf

s0

A given ray is specified by the coordinates (X0, Y0, Z0) of a point P0 through which the ray passes and by its direction cosines (K, L, M) in a reference coordinate system O-(X, Y, Z)

A surface S is specified by an equation F(x, y, z)=0 referred to a coordinate system o-(x, y, z). The orientation of the o-system relative to the O-system and the coordinates of the origin of the o-system are given in the O-system.

Page 19: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

19

Ray Tracing Steps

1. Transform the ray-point coordinates (X0, Y0, Z0) and direction cosines (K, L, M) into their values in the o-system.

2. Find the point of the intersection of the ray with the surface S.

3. Find the change in direction of the ray refraction, reflection, or diffraction at the corner point or in the case of a grating, at the surface S.

4. Transform the new ray-point coordinates and direction cosines back to the O-system (optional*).

5. Repeat 1-4 for succeeding surfaces in sequence.

* Step 4 can obviously be omitted if the coordinate system associated with the next surface is referred to the system associated with S (o) instead of to the reference system (O).

Page 20: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

20

Coordinate Transformation from Reference to Object System

The specified ray through P0 (X0, Y0, Z0) oriented along (K, L, M) in the O-system can be expressed in the o-system, the transformation is:

0 0

0 0

0 0

x X x

y R Y y

z Z z

k K

l R L

m M

( , , )x y z - coordinates of the origin of the o-system measured in the O-system

cos sin 0 1 0 0 cos 0 sin

sin cos 0 0 cos sin 0 1 0

0 0 1 0 sin cos sin 0 cos

cos cos sin sin sin cos sin sin cos cos sin sin

cos sin sin sin cos cos cos sin sin cos sin co

R

s

sin cos sin cos cos

Page 21: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

21

Find the Intersection Point

Parametric equation for ray

0

0

0

x x k

y y s l

z z m

s - distance along the ray measured from 0 0 0( , , )x y z

It is convenient to determine firstly the intersection of the ray with the z=0 plane – we can easily find

0 0 /s z m as the required distance, and

1 0 0

01 0 0 0

1 0 0 0 0

x x k x kz

y y s l y lm

z

as the intersection point at z=0

Page 22: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

22

Find the Intersection Point

With now s measured from

1

1

0

x x k

y y s l

z m

we have 1 1( , ,0)x y

By substituting this expression into the equation that specifies the surface S, i.e., F(x, y, z)=0, we should be able to find s and to obtain the intersection point.

1 ( , , ) / '( , , ) ( , , ) / ( ' ' ' )j j j j j j j j j j j j xj yj zjs s F x y z F x y z s F x y z F k F l F m

1

1

0

j

j j

j

x x k

y y s l

z m

However, an analytical solution to the above root searching problem may not exist, we will, therefore, follow the Newton-Raphson method to find the required s through a numerical iteration approach:

The iteration can be started from s1=0 and terminated by |sf-sf-1|<δ.

Page 23: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

23

Find the Intersection Point

Hence we find the intersection point:

1

1

0

f

f f

f

x x k

y y s l

z m

'

'

'

s xf

s yf

s zf

k F

l F

m F

And the surface normal direction at the intersection point specified by:

Page 24: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

24

Chang in Direction of the Ray by Refraction

Following Snell’s law:'

' '

'

s s

s s

s s

k k k k

n l l n l l

m m m m

'

''

'

s

s

s

k k kn

l l ln

m m m

we can write: - a multiplier to be determined

Since 2 2 2' ' ' 1k l m we then find: 2 2 0a b

2 2 2's s s

s s s

kk ll mmna

n k l m

2

2 2 2

( / ') 1

s s s

n nb

k l m

Or2a a b

as the solution to the direction change by refraction.

For n=n’, there is no interface, b=0, and the orientation shouldn’t change, we should choose:

2a b a

Page 25: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

25

Chang in Direction of the Ray by Refraction

It is quite obvious that 0<a<n/n’, with a=0 and a=n/n’ corresponding to the grazing and normal incidence, respectively.

If b>a2, TIR happens.

For n’>n, b<0 2 | | 0a b a the new direction has an inward bending

For n’<n, b>0 2 | | 0a b a the new direction has an outward bending

n

n’ (k’, l’, m’) for n’<n

(k, l, m)(ks, ls, ms)

(k’, l’, m’) for n’>n

Page 26: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

26

Chang in Direction of the Ray by Reflection

In this case, we just need to take the other solution by letting n’=n, b=0

2 2 2

'

' 2 2

'

s s

s s ss s

s s ss s

k k k k kkk ll mm

l l a l l lk l m

m m m m m

or Hence 2a

Page 27: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

27

Chang in Direction of the Ray by Diffraction

Refer to:

1. R. Minkowski, Astrophys. J. 96, 305 (1942).

2. T. di Francia, Contributed article on the Ronchi Test, “Optical image evaluation,” NBS Circ. 526, 165 (1954).

3. J. Guild, The Interference Systems of Crossed Diffraction Gratings, Oxford University Press, New York, (1956).

4. G. Spencer and M. Murty, “General ray-tracing procedure,” J. OSA, 52(6), 672-678 (1961).

Page 28: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

28

Coordinate Transformation from Object to Reference System

The specified ray through P (x, y, z) oriented along (k, l, m) in the o-system can be expressed in the O-system, the transformation is:

1X x x

Y R y y

Z z z

1K k

L R l

M m

( , , )x y z - coordinates of the origin of the o-system measured in the O-system

1

cos cos sin sin sin cos sin sin sin cos sin cos

cos sin cos cos sin

sin cos cos sin sin sin sin cos sin cos cos cos

TR R

By noticing the unitarity of the rotational matrix R, with the property that its inverse is the same as its transpose, we find:

Page 29: 1 Solving Wave Equation by Beam Propagation Method and Ray Tracing

29

Minor Project 2 Topics (choose one to work with)

1. Find the mode of a SOI waveguide with the Si core thickness in 220nm, width in 300nm. The surrounded media is air and the operating wavelength is 1550nm. (Mode Solver)

2. Find the reflectivity and transmissivity of a 1D SOI waveguide Bragg grating: the Si core thickness is 340nm; the grating depth is 240nm; there are 100 grating pitches with a period of 260nm and a duty cycle of 50%. The surrounded media is air. (Mode Matching)

3. Find the field distribution along a SOI horn waveguide: the Si core has a thickness of 340nm and is etched on both side with a residue Si thickness in 100nm; its width on the narrow and wide end are 150nm and 450nm, respectively; its length is 30,000nm. The surrounded media is air and the operating wavelength is 1550nm. The incident wave is launched from the narrow end with 100% matching to the local fundamental mode. (BPM)

4. Design a micro-lens endoscope system to send a Gaussian beam in 650nm with a waist of 650nm for 2m, the lens has an aperture in 2mm and focal length in 1cm. Calculate the power loss. (Ray Tracing)