Friday, July 4, 2008

OptiFDTD_Software

OVERVIEW:
OptiFDTD is a powerful, highly integrated and user-friendly software application that enables the computer-aided design and simulation of advanced passive and non-linear photonic components. OptiFDTD enables you to design, analyze and test modern passive and nonlinear photonic components for wave propagation, scattering, reflection, diffraction, polarization and the nonlinear phenomenon. The core program of OptiFDTD is based on the finite-difference time-domain (FDTD) algorithm with second-order numerical accuracy and the most advanced boundary condition - Uniaxial perfectly matched layer (UPML) boundary condition. The algorithm solves both electric and magnetic fields in temporal and spatial domain using the full-vector differential form of Maxwell’s coupled curl equations. This allows for arbitrary model geometries and places no restriction on the material properties of the devices.
The automation of these processes dramatically improves productivity of design engineers and reduces time-to-market for the product. This, along with integration with other Optiwave photonic design automation software, all contributes to quicker return on investment and shorter pay-back period.
SPECIFIC BENEFITS:
• Presents global overview of photonics problems
• Provides broad material choice
• Offers extensive excitation selection
• Delivers powerful Post-Data Processing
APPLICATIONS:
OptiFDTD enables the simulation of:
• Photonic band gap materials and devices
• Optical micro-ring filters and resonators
• Grating-based waveguide structures
12
• Diffractive micro-optics elements
• Complex integrated optics structures
• Nonlinear materials, dispersive materials, surface plasma and anisotropic materials
“We are using OptiFDTD to perform 2D and 3D simulations of CMOS image sensor pixels to evaluate their optical efficiency. OptiFDTD is a very versatile simulation tool and we have been very impressed with the technical support we have received from Optiwave.”
Dr. Peter Catrysse
Dept. of Electrical Engineering
Stanford University
KEY FEATURES AND FUNCTIONALITY
OptiFDTD has the most extensive material choices, including:
• Lossless and lossy material
• Isotropic and anisotropic material
• Multiple resonance dispersive material
• Drude material - Enable noble metal and surface plasma
• 2nd-Order and 3rd-Order nonlinear material
• Kerr effect material
• Raman effect material
• Perfect conductor
OptiFDTD has the most extensive selection of excitation sources, including:
• Waveguide mode excitation
• Gaussian beam excitation
• Plane wave excitation
• Single wavelength excitation
• Spectral excitation
• Power and amplitude
• Linear or circular polarization
• Multiple beam excitation in 2D
Visual Basic Scripting
This powerful feature gives you a high level of control, by enabling you to automate OptiFDTD to perform lengthy simulations without your presence. The Scripting tools have been integrated with the graphical user interface, allowing an easy transition between the designed layout and the script. You benefit from the ability to:
• Quickly and easily convert any layout design or its parts into the script,
• Create your own library of scriptlets that represent particular components, which can be added to any new layout design,
• Easily create the most complex design without manual graphical user interface operations.
Waveguide Optics Modeling Software
OptiFDTD
13
3D shapes
Four new shapes have been added to OptiFDTD for 3D simulations: sphere, ellipsoid, block, and cylinder. Each shape encloses a volume of specific material, and can be positioned and oriented with six degrees of freedom. Multiple clipping planes can also be applied to the shape, allowing new shapes to be created.
PEC/PMC boundary conditions
New Perfect Electric Conductor (PEC) and Perfect Magnetic Conductor (PMC) boundary conditions can also be used in conjunction with the existing PML boundary conditions. Thus, plane wave simulations of periodic layouts such as photonic crystal and photonic band gap structures can be realized in a reduced domain.
Improved photonic crystal editor
The photonic crystal editor has been greatly enhanced. Based on a generalized lattice equation, different lattice types, from 2D and 3D rectangular and hexagonal, to user-defined, can be created. Many different shapes can be used as atoms (including new 3D shapes). Editing has also been improved, with rectangular selection features, basis cell dialogs, and rotation of the entire crystal structure.
Band solver
A fully integrated 2D band solver is based on the FDTD method with Bloch’s periodic boundary condition, and can generate the band diagram based on the reduced simulation domain of single or multiple cells from a square or hexagonal lattice.
Waveguide thickness tapering options
Waveguides can now be tapered in thickness in addition to width. Channel waveguides can be tapered linearly, and fibers can be tapered linearly and proportionately. With 3D fiber profiles, the width of the 2D waveguide in the x-z plane is also applied to the height, in order to model fiber tapering. As the dimensions change in y, the position of the center line of the fiber in 3D space is maintained.

Yee's Algorithm

Maxwell's curl equations for an isotropic medium are
$\displaystyle \nabla \times \vec{E}$ = $\displaystyle -\mu \frac{\partial \vec{H}}{\partial t}$ (4.1)
$\displaystyle \nabla \times \vec{H}$ = $\displaystyle \sigma \vec{E}+\varepsilon \frac{\partial \vec{E}}{\partial t}$ (4.2)

These can be written as six scalar equations in Cartesian coordinates,
$\displaystyle \frac{\partial H_x}{\partial t}$ = $\displaystyle \frac 1\mu \left( \frac{\partial E_y}{ \partial z}-\frac{\partial E_z}{\partial y}\right)$ (4.3)
$\displaystyle \frac{\partial H_y}{\partial t}$ = $\displaystyle \frac 1\mu \left( \frac{\partial E_z}{ \partial x}-\frac{\partial E_x}{\partial z}\right)$ (4.4)
$\displaystyle \frac{\partial H_z}{\partial t}$ = $\displaystyle \frac 1\mu \left( \frac{\partial E_x}{ \partial y}-\frac{\partial E_y}{\partial x}\right)$ (4.5)
$\displaystyle \frac{\partial E_x}{\partial t}$ = $\displaystyle \frac 1\varepsilon \left( \frac{\partial H_z}{\partial y}-\frac{\partial H_y}{\partial z}-\sigma E_x\right)$ (4.6)
$\displaystyle \frac{\partial E_y}{\partial t}$ = $\displaystyle \frac 1\varepsilon \left( \frac{\partial H_x}{\partial z}-\frac{\partial H_z}{\partial x}-\sigma E_y\right)$ (4.7)
$\displaystyle \frac{\partial E_z}{\partial t}$ = $\displaystyle \frac 1\varepsilon \left( \frac{\partial H_y}{\partial x}-\frac{\partial H_x}{\partial y}-\sigma E_z\right)$ (4.8)

Yee defines the grid coordinates (i,j,k) as
\begin{displaymath}(i,j,k)=\left(i\Delta x,j\Delta y,k\Delta z\right) \end{displaymath} (4.9)

where $\Delta x,\Delta y,$ and $\Delta z$ are the actual grid separations. Any function of space and time is written as
\begin{displaymath}F^n(i,j,k)=F(i\Delta x,j\Delta y,k\Delta z,n\Delta t) \end{displaymath} (4.10)

where $\Delta t$ is the time increment, n is the time index and $\delta =\Delta x=\Delta y=\Delta z$. The spatial and temporal derivatives of Fare written using central finite difference approximations as
\begin{displaymath}\frac{\partial F^n\left( i,j,k\right) }{\partial x}=\frac{F^n\left( i+1/2,j,k\right) -F^n\left( i-1/2,j,k\right) }\delta \end{displaymath} (4.11)


\begin{displaymath}\frac{\partial F^{n}\left( i,j,k\right) }{\partial t}=\frac{F... ...}\left( i,j,k\right) -F^{n-1/2}\left( i,j,k\right) }{\Delta t} \end{displaymath} (4.12)

Equations 4.11 and 4.12 are applied to the six scalar equations (4.3) resulting in six coupled explicit finite difference equations,
Exn+1(i+1/2,j,k)=Ai+1/2,j,kExn(i+1/2,j,k)
+Bi+1/2,j,k[Hzn+1/2(i+1/2,j+1/2,k)-Hzn+1/2(i+1/2,j-1/2,k)
+Hyn+1/2(i+1/2,j,k-1/2)-Hyn+1/2(i+1/2,j,k+1/2)]


Eyn+1(i,j+1/2,k)=Ai,j+1/2,kEyn(i,j+1/2,k)
+Bi,j+1/2,k[Hxn+1/2(i,j+1/2,k+1/2)-Hxn+1/2(i,j+1/2,k-1/2)
+Hzn+1/2(i-1/2,j+1/2,k)-Hzn+1/2(i+1/2,j+1/2,k)]


Ezn+1(i,j,k+1/2)=Ai,j,k+1/2Ezn(i,j,k+1/2)
+Bi,j,k+1/2[Hyn+1/2(i+1/2,j,k+1/2)-Hyn+1/2(i-1/2,j,k+1/2)
+Hxn+1/2(i,j-1/2,k+1/2)-Hxn+1/2(i,j+1/2,k+1/2)]


Hxn+1/2(i,j+1/2,k+1/2)=Hxn-1/2(i,j+1/2,k+1/2)
$\displaystyle +\frac{\Delta t}{\mu\delta}[E_y^{n}(i,j+1/2,k+1)-E_y^{n}(i,j+1/2,k)$
+Ezn(i,j,k+1/2)-Ezn(i,j+1,k+1/2)]


Hyn+1/2(i+1/2,j,k+1/2)=Hyn-1/2(i+1/2,j,k+1/2)
$\displaystyle +\frac{\Delta t}{\mu\delta}[E_z^{n}(i+1,j,k+1/2)-E_z^{n}(i,j,k+1/2)$
+Exn(i+1/2,j,k)-Exn(i+1/2,j,k+1)]


Hzn+1/2(i+1/2,j+1/2,k)=Hzn-1/2(i+1/2,j+1/2,k)
$\displaystyle +\frac{\Delta t}{\mu\delta}[E_x{n}(i+1/2,j+1,k)-E_x^{n}(i+1/2,j,k)$
+Eyn(i,j+1/2,k)-Eyn(i+1,j+1/2,k)]

where the terms A and B are given by,
Ai,j,k = $\displaystyle 1-\frac{\sigma(i,j,k)}{\varepsilon(i,j,k)}$ (4.19)
Bi,j,k = $\displaystyle \frac{\Delta t}{\varepsilon(i,j,k)\delta}$ (4.20)

In all of the finite difference equations the components of $\vec{E}$ and $\vec{H}$ are located within a single unit cell in the three-dimensional lattice depicted in Figure 4.1.

Figure 4.1: Yee cell demonstrating the arrangement of field components within a cubical grid.
\includegraphics[width=4in]{figs/yeecell.eps}

$\vec{E}$ and $\vec{H}$ are evaluated at alternate half time steps using Equations 4.13-4.18, such that all field components are calculated in each time step $\Delta t$.

Finite-difference time-domain method

Finite-difference time-domain (FDTD) is a popular computational electrodynamics modeling technique. It is considered easy to understand and easy to implement in software. Since it is a time-domain method, solutions can cover a wide frequency range with a single simulation run.

The FDTD method belongs in the general class of grid-based differential time-domain numerical modeling methods. The time-dependent Maxwell's equations (in partial differential form) are discretized using central-difference approximations to the space and time partial derivatives. The resulting finite-difference equations are solved in either software or hardware in a leapfrog manner: the electric field vector components in a volume of space are solved at a given instant in time; then the magnetic field vector components in the same spatial volume are solved at the next instant in time; and the process is repeated over and over again until the desired transient or steady-state electromagnetic field behavior is fully evolved.

The basic FDTD space grid and time-stepping algorithm trace back to a seminal 1966 paper by Kane Yee in IEEE Transactions on Antennas and Propagation. The descriptor "Finite-difference time-domain" and its corresponding "FDTD" acronym were originated by Allen Taflove in a 1980 paper in IEEE Transactions on Electromagnetic Compatibility. See References 1 (below) for these and other important journal papers in the development of FDTD techniques. See References 2 (below) for textbooks and research monographs published in this area.

Since about 1990, FDTD techniques have emerged as primary means to computationally model many scientific and engineering problems dealing with electromagnetic wave interactions with material structures. Current FDTD modeling applications range from near-DC (ultralow-frequency geophysics involving the entire Earth-ionosphere waveguide) through microwaves (radar signature technology, antennas, wireless communications devices, digital interconnects, biomedical imaging/treatment) to visible light (photonic crystals, nanoplasmonics, solitons, and biophotonics). In 2006, an estimated 2,000 FDTD-related publications appeared in the science and engineering literature (see "Growth of FDTD publications"). At present, there are at least 27 commercial/proprietary FDTD software vendors; 6 free-software/open-source-software FDTD projects; and 3 freeware/closed-source FDTD projects, some not for commercial use (see "External links").

Contents

[hide]

Workings of the FDTD method

When Maxwell's differential equations are examined, it can be seen that the change in the E-field in time (the time derivative) is dependent on the change in the H-field across space (the curl). This results in the basic FDTD time-stepping relation that, at any point in space, the updated value of the E-field in time is dependent on the stored value of the E-field and the numerical curl of the local distribution of the H-field in space.

The H-field is time-stepped in a similar manner. At any point in space, the updated value of the H-field in time is dependent on the stored value of the H-field and the numerical curl of the local distribution of the E-field in space. Iterating the E-field and H-field updates results in a marching-in-time process wherein sampled-data analogs of the continuous electromagnetic waves under consideration propagate in a numerical grid stored in the computer memory.

Illustration of a standard Yee lattice used for FDTD, in which different field components use different locations in a grid.  Visualized as a cubic voxel, the electric field components correspond to the edges of the cube, and the magnetic field components to the faces.
Illustration of a standard Yee lattice used for FDTD, in which different field components use different locations in a grid. Visualized as a cubic voxel, the electric field components correspond to the edges of the cube, and the magnetic field components to the faces.

This description holds true for 1-D, 2-D, and 3-D FDTD techniques. When multiple dimensions are considered, calculating the numerical curl can become complicated. Kane Yee's seminal 1966 paper in IEEE Transactions on Antennas and Propagation proposed spatially staggering the vector components of the E-field and H-field about rectangular unit cells of a Cartesian computational grid so that each E-field vector component is located midway between a pair of H-field vector components, and conversely. This scheme, now known as a Yee lattice, has proven to be very robust, and remains at the core of many current FDTD software constructs.

Furthermore, Yee proposed a leapfrog scheme for marching in time wherein the E-field and H-field updates are staggered so that E-field updates are conducted midway during each time-step between successive H-field updates, and conversely. On the plus side, this explicit time-stepping scheme avoids the need to solve simultaneous equations, and furthermore yields dissipation-free numerical wave propagation. On the minus side, this scheme mandates an upper bound on the time-step to ensure numerical stability. As a result, certain classes of simulations can require many thousands of time-steps for completion.

Using the FDTD method

In order to use FDTD a computational domain must be established. The computational domain is simply the physical region over which the simulation will be performed. The E and H fields are determined at every point in space within that computational domain. The material of each cell within the computational domain must be specified. Typically, the material is either free-space (air), metal, or dielectric. Any material can be used as long as the permeability, permittivity, and conductivity are specified.

Once the computational domain and the grid materials are established, a source is specified. The source can be an impinging plane wave, a current on a wire, or an applied electric field, depending on the application.

Since the E and H fields are determined directly, the output of the simulation is usually the E or H field at a point or a series of points within the computational domain. The simulation evolves the E and H fields forward in time.

Processing may be done on the E and H fields returned by the simulation. Data processing may also occur while the simulation is ongoing.

Strengths of FDTD modeling

Every modeling technique has strengths and weaknesses, and the FDTD method is no different.

FDTD is a versatile modeling technique used to solve Maxwell's equations. It is intuitive, so users can easily understand how to use it and know what to expect from a given model.

FDTD is a time-domain technique, and when a broadband pulse (such as a Gaussian pulse) is used as the source, then the response of the system over a wide range of frequencies can be obtained with a single simulation. This is useful in applications where resonant frequencies are not exactly known, or anytime that a broadband result is desired.

Since FDTD calculates the E and H fields everywhere in the computational domain as they evolve in time, it lends itself to providing animated displays of the electromagnetic field movement through the model. This type of display is useful in understanding what is going on in the model, and to help ensure that the model is working correctly.

The FDTD technique allows the user to specify the material at all points within the computational domain. A wide variety of linear and nonlinear dielectric and magnetic materials can be naturally and easily modeled.

FDTD allows the effects of apertures to be determined directly. Shielding effects can be found, and the fields both inside and outside a structure can be found directly or indirectly.

FDTD uses the E and H fields directly. Since most EMI/EMC modeling applications are interested in the E and H fields, it is convenient that no conversions must be made after the simulation has run to get these values.

Weaknesses of FDTD modeling

Since FDTD requires that the entire computational domain be gridded, and the grid spatial discretization must be sufficiently fine to resolve both the smallest electromagnetic wavelength and the smallest geometrical feature in the model, very large computational domains can be developed, which results in very long solution times. Models with long, thin features, (like wires) are difficult to model in FDTD because of the excessively large computational domain required.

FDTD finds the E/H fields directly everywhere in the computational domain. If the field values at some distance are desired, it is likely that this distance will force the computational domain to be excessively large. Far-field extensions are available for FDTD, but require some amount of postprocessing.

Since FDTD simulations calculate the E and H fields at all points within the computational domain, the computational domain must be finite to permit its residence in the computer memory. In many cases this is achieved by inserting artificial boundaries into the simulation space. Care must be taken to minimize errors introduced by such boundaries. There are a number of available highly effective absorbing boundary conditions (ABCs) to simulate an infinite unbounded computational domain. Most modern FDTD implementations instead use a special absorbing "material", called a perfectly matched layer (PML) to implement absorbing boundaries.

Because FDTD is solved by propagating the fields forward in the time domain, the electromagnetic time response of the medium must be modeled explicitly. For an arbitrary response, this involves a computationally expensive time convolution, although in most cases the time response of the medium (or Dispersion (optics)) can be adequately and simply modeled using either the recursive convolution (RC) technique, the auxiliary differential equation (ADE) technique, or the Z-transform technique. An alternative way of solving Maxwell's equations that can treat arbitrary dispersion easily is the Pseudospectral Spatial-Domain method (PSSD), which instead propagates the fields forward in space.

Grid truncation techniques for open-region FDTD modeling problems

The most commonly used grid truncation techniques for open-region FDTD modeling problems are the Mur absorbing boundary condition (ABC), the Liao ABC, and various perfectly matched layer (PML) formulations. The Mur and Liao techniques are simpler than PML. However, PML (which is technically an absorbing region rather than a boundary condition per se) can provide orders-of-magnitude lower reflections. The PML concept was introduced by J.-P. Berenger in a seminal 1994 paper in the Journal of Computational Physics. Since 1994, Berenger's original split-field implementation has been modified and extended to the uniaxial PML (UPML), the convolutional PML (CPML), and the higher-order PML. The latter two PML formulations have increased ability to absorb evanescent waves, and therefore can in principle be placed closer to a simulated scattering or radiating structure than Berenger's original formulation.

Growth of FDTD publications

An estimated 2,000 FDTD-related publications appeared in the science and engineering literature in 2006. The current rate of growth (based upon a study of ISI Web of Science data) is approximately 5:1 over the period 1995 to 2006.