Beruflich Dokumente
Kultur Dokumente
1
User Guide
RSoft Design Group, Inc. 400 Executive Blvd. Suite 100 Ossining, NY 10562 Phone: 19149232164 Fax: 19149232169 info@rsoftdesign.com www.rsoftdesign.com Copyright 2001-2008 All Rights Reserved.
Contents
Preface 1
Notices ....................................................................................................................................... 2 Limited Warranty ........................................................................................................ 2 Copyright Notice ......................................................................................................... 2 RSoft Design Group Trademarks ............................................................................ 2 Acknowledgments ....................................................................................................... 2 System Requirements ................................................................................................................ 2 How to read this manual ............................................................................................................ 2 What should I read and when? .................................................................................... 2 Conventions ............................................................................................................................... 3 Physics Conventions.................................................................................................... 3 Manual Conventions.................................................................................................... 3 Product Name Conventions......................................................................................... 3
Chapter 1: Introduction
1.A. Overview of Capabilities and Features .............................................................................. 5 1.B. Technical Background ....................................................................................................... 6 1.B.1. Coupled-Mode Theory...................................................................................... 6 1.B.2. Transfer Matrix ................................................................................................. 7 1.B.3. Continuous Layer Peeling Technique ............................................................... 7
Chapter 2: Installation
2.A. Main Program Installation ................................................................................................. 9 Existing RSoft users .................................................................................................... 9 First-time RSoft users.................................................................................................. 9 Backing up the Examples ............................................................................................ 9 2.B. Testing the GratingMOD installation................................................................................. 9 2.C. What Next? ..................................................................................................................... 11 README File........................................................................................................... 11 Technical Support & Software Upgrades .................................................................. 11
13
3.A. Getting Started ................................................................................................................. 13 Step 1: Creating a new GratingMOD design file ...................................................... 14 Step 2: Laying out the waveguide(s) and defining waveguide parameters................ 15 Step 3: Defining the Grating Perturbation ................................................................. 15 Step 4: Checking the Index Profile............................................................................ 16 Step 5: Defining the Analysis Parameters ................................................................. 17 Step 6: Defining the Modes to be Used ..................................................................... 18 Step 7: Setting Output Options.................................................................................. 18 Step 8: Starting the Simulation.................................................................................. 18 3.B. Grating Structure Layout.................................................................................................. 18 3.B.1. Defining the Periodicity/Taper of the Segment .............................................. 18
Contents iii
3.B.2. Defining Cross Sections and User Profiles ..................................................... 20 3.C. Automatic Layout with the Layout Generator................................................................. 20 3.D. Grating Analysis Simulation............................................................................................ 22 3.D.1. GratingMOD Simulation Grating Analysis Window .................................. 22 3.D.2. Analysis Parameters Tab ................................................................................ 23 3.D.3. Mode Selection Tab........................................................................................ 25 3.D.4. Spectral Characteristics Tab ........................................................................... 27 3.E. Performing the Analysis .................................................................................................. 29 3.E.1. Analysis Output Options ................................................................................. 29 3.E.2. Analysis Output File Formats ......................................................................... 30 3.F. Parameter Scans................................................................................................................ 30
31
4.A. Getting Started ................................................................................................................. 31 Step 1: Creating a new GratingMOD design file ...................................................... 31 Step 2: Choosing a Grating Synthesis Calculation Type ........................................... 32 Step 3: Defining the Input Spectrum ......................................................................... 33 Step 4: Defining the Target Spectrum ....................................................................... 34 Step 5: Defining the Synthesis Parameters ................................................................ 34 Step 6: Setting Output Options.................................................................................. 35 Step 7: Starting the Simulation................................................................................. 35 4.B. Synthesis Basics ............................................................................................................... 35 4.B.1. GratingMOD Simulation Grating Synthesis Window ................................. 35 4.B.2. The Input Spectrum Tab ................................................................................. 36 4.B.3. Creating a Realizable Spectrum...................................................................... 38 4.B.4. The Target Spectrum Tab ............................................................................... 39 4.B.5. The Synthesis Parameters Tab ........................................................................ 40 4.C. Performing the Synthesis ................................................................................................. 42 4.C.1. Synthesis Output Options ............................................................................... 42 4.C.2. Synthesis Output File Formats........................................................................ 43
45
Tutorial A1: 2D Grating with Width Modulation .................................................................... 45 Using the Grating Layout Utility............................................................................... 45 Editing Grating Parameters ....................................................................................... 45 Performing a Simulation............................................................................................ 48 Tutorial A2: 2D Slab Grating with Index Modulation............................................................. 51 Creating the Grating Structure................................................................................... 51 Performing the Simulation ........................................................................................ 52 Tutorial A3: Fiber Bragg Grating ........................................................................................... 53 Setting up the Fiber ................................................................................................... 53 Calculating Reflection Spectra & Delay.................................................................... 54 Decorating the Plots (Optional)................................................................................. 56 Tutorial A4: Grating with Apodization.................................................................................... 61 Adding Apodization .................................................................................................. 61 Performing the Simulation ........................................................................................ 61 Tutorial A5: Grating with Chirp .............................................................................................. 63 Adding Chirp............................................................................................................. 63 Viewing Apodization and Chirp................................................................................ 64 Tutorial A6: Grating with Multiple Sections ........................................................................... 65 Creating Another Segment ........................................................................................ 65 Performing the Simulation ........................................................................................ 66 Tutorial A7: Using Non-Analytic Modes ................................................................................ 67 Creating the Grating Structure................................................................................... 67
iv Contents
Setting the Simulation Parameters............................................................................. 68 Performing the Simulation ........................................................................................ 69 Tutorial A8: Analysis of a grating-assisted coupler................................................................ 71 Creating the GratingMOD Design File ..................................................................... 71 Drawing the Segments............................................................................................... 72 Viewing the index profile.......................................................................................... 74 Calculating the modes to be used for the analysis ..................................................... 75 Performing the coupled mode theory analysis........................................................... 75 Tutorial A9: Fiber Cladding Mode Analysis .......................................................................... 79 Structure Overview.................................................................................................... 79 Performing a Simulation............................................................................................ 79 Changing the Cladding Mode Options ...................................................................... 80
83
Tutorial S1: -40 dB Filter Design ............................................................................................ 83 Desired Performance ................................................................................................. 83 Setting up the Synthesis Simulation .......................................................................... 84 Performing the Synthesis........................................................................................... 85 Viewing Simulation Results ...................................................................................... 86 Tutorial S2: Two Channel Filter .............................................................................................. 87 Filter Design .............................................................................................................. 87 Performing the Synthesis........................................................................................... 88 Tutorial S3: Constant Dispersion Compensation..................................................................... 89 Filter Specifications................................................................................................... 89 Setting up the Simulation .......................................................................................... 89 Performing the Synthesis........................................................................................... 91 Tutorial S4: Verifying Analysis Results .................................................................................. 93 Grating Analysis Section........................................................................................... 93 Grating Synthesis Section.......................................................................................... 93 Comparing Results .................................................................................................... 96
97
99
Cosine ...................................................................................................................................... 99 Raised-Cosine ........................................................................................................................ 100 Tanh ....................................................................................................................................... 100 Blackman ............................................................................................................................... 101
103
Analysis Variables ................................................................................................................. 103 Synthesis Variables................................................................................................................ 104 Common Variables ................................................................................................................ 104
107
Raw Data Formats ................................................................................................................. 107 Standard RSoft File Format ................................................................................................... 107
References
109
Contents v
Index
111
vi Contents
Preface
GratingMOD is an integrated software package capable of analyzing known grating structures (design), and determining the characteristics of gratings from measurements or other known spectra (synthesis). GratingMOD can work with any type of waveguide transverse profile that can be designed in the RSoft Environment. In GratingMOD, a periodic longitudinal perturbation is defined to produce a longitudinal grating structure. This leads to a simulation method that is computationally faster than both Bi-Directional BPM and FDTD, and it is equally well suited to both 2D and 3D problems. The design portion of GratingMOD can simulate both index modulation gratings, such as Fiber Bragg Gratings, and surface relief gratings can be modeled in GratingMOD. Moreover, combining sections employing different types of gratings can form complex-grating devices. Grating profile, apodization, and chirp can be chosen from pre-defined functions or specified by user-defined expressions or files. Powerful post-processing includes, but is not limited to, spectrum analysis including determination of bandwidth and side lobe characteristics, delay and dispersion, curve fitting to grating characteristics, and field pattern display. The GratingMOD design tool can be used for the design and simulation of gratings that are used in applications such as grating-assisted filters in WDM circuits, fiber Bragg grating devices, gain flattening devices, dispersion compensators, side-lobe suppression, and narrow/broad band filters. GratingMOD is based on Coupled-Mode Theory and the transfer matrix method. Coupled-Mode Theory is used to derive the governing equations based on orthogonal modes, while the transfer matrix method is used to solve the coupled mode equations. The synthesis portion of GratingMOD is based on the latest Layer Peeling technique. Given the spectral characteristics of a grating, GratingMOD can synthesize the apodization and chirp of the grating in question. Furthermore, by normalizing the synthesized results to the effective index, the grating characteristic, for gratings composed of lossless materials, is independent of the transverse waveguide profile, and is a function only of the longitudinal grating perturbation. This unique feature allows the user to synthesize a grating profile, and then consider its performance in any number of transverse waveguide characteristics. Using the synthesis tool, GratingMOD can be used to design dispersion compensators for fiber communications, sharpedge, low-side-lobe bandpass filter designs, gain equalizers, multiple channel filters, and linear dispersion (third order dispersion parameter).
Preface 1
Notices
This section has a list of legal and other miscellainous information pertaining to the software.
Limited Warranty
RSoft Design Group, Inc. warrants that under normal use, the physical media (diskette and documentation) will be free of material defects for a period of thirty days from the date of purchase. Upon written notice, RSoft Design Group, Inc. will replace any defective media. No other warranty of any sort, either expressed or implied, is provided with this software. No liability for damage to equipment or data, or any other liability, is assumed by RSoft Design Group, Inc..
Copyright Notice
Copyright 2001-2008 RSoft Design Group, Inc. All Rights Reserved. Copyright is claimed for both this manual and the software described in it.
Acknowledgments
IBM is a registered trademark and IBM PC, PS/2, and OS/2 are trademarks of International Business Machines Corporation. Intel is a trademark of Intel Corporation. Microsoft and MS- DOS are registered trademarks and Windows is a trademark of Microsoft Corporation. Unix and Motif are registered trademarks and X Windows is a trademark of The Open Group. Linux is a registered trademark of Linus Torvolds. Xfree86 is a registered trademark of the The Xfree86 Project. All other product names referred to in this document are trademarks or registered trademarks of their respective manufacturers.
System Requirements
The RSoft Passive Device Suite will run on an IBM compatible personal computer with an Intel Pentium III or higher processor (or AMD equivalent), 256 MB RAM or higher depending on the application, and 250 MB of hard-disk space. Versions for 32-bit and 64-bit Windows and Linux are available. The Windows versions require Windows 2000/XP/Vista. Linux versions have been tested on the standard Red Hat configuration using X Windows or Xfree86 and Motif.
2 Preface
Chapter 3 and Chapter 4 contain descriptions for grating analysis and synthesis calculations respectively. The Tutorial chapters go through several step-by-step examples, ordered in terms of increasing complexity, of setting up grating structures using the software. It is recommended that you start with the first tutorial and continue on to the last. The Appendix includes such things as a list of common mistakes, pre-defined apodization functions used in the software, and command utilities included with the software.
Conventions
This section describes various conventions concerning the physics, the manual styles, and the product names.
Physics Conventions
As with any branch of science, there are a number of concepts in the study of photonic devices for which there exist several different definitions exist in the literature. There are the conventions adopted in the RSoft CAD.
Units
The units used in the CAD are as follows: The standard unit of length is measured in microns [m]. The angular unit used is in degrees. The units of imaginary refractive index are defined as:
nimag =
where is the wavelength and is the usual exponential loss coefficient defined such that the power decays as exp[-z], and is given in units of m-1.
Polarization
The polarization convention used by RSoft is described in great detail in the CAD appendices.
Manual Conventions
A number of typeface and layout conventions are followed in this manual. Actions to be performed in the interfaces are usually indented in bulleted or numbered lists. The names of fields and controls in the GUI dialogs are written in boldface Courier The values of pull-down menus and radio button controls are written in Roman italics. Symbol table variables and formulas and expressions to be typed into the GUI edit fields are written in Courier. In referring to example CAD files, the installation directory for the CAD tool is specified as <rsoft_dir>, and should be replaced with the correct value for your installation. On Windows machines this is typically c:\RSoft\.
Preface 3
Product The RSoft CAD tool BeamPROP simulation tool GratingMOD simulation tool FemSIM simulation tool WinPLOT graphing tool ModeVIEWER tool MOST tool
4 Preface
Chapter 1: Introduction
This chapter will go through the various applications that GratingMOD is designed for. GratingMOD is used for the design and simulation of gratings that can be used for a host of devices. Some of these grating applications include, but are not limited to, grating-assisted filters in WDM circuits, fiber Bragg grating devices, gain flattening devices, dispersion compensators, side-lobe suppression, and narrow band and broad band filters. In addition, some of the technical background material, including derivations of the analysis and synthesis features, is described in detail. Note that a partial list of references that the technical material is based on, can be found in the references appendix.
Chapter 1: Introduction 5
e
S
t, p
( x, y ) h t , m ( x, y )ds = et , m ( x, y ) ht , p ( x, y )ds = 0 ( p m)
S
(1)
Using these relations, arbitrary transverse field components for a perturbed waveguide can be expressed as a sum of orthogonal modes.
(2)
where is the propagating constant, a and b are amplitude of forward and backward modes. The above equation implies time harmonic epx[-iwt]. According to Coupled-Mode Theory, we can obtain the following coupled ordinary differential equations:
da p ( z ) dz
z = i tp ,m + p ,m am ( z )e m=1
{(
i m p z
z + tp ,m p ,m bm ( z )e
i m + p z
}
(3)
dbp ( z ) dz
z = i tp ,m p ,m am ( z )e m=1
{(
i m + p z
z + tp ,m + p ,m bm ( z )e
i m p z
}
(4)
th
th
t p ,m
0
2
[n ( x, y, z ) n ( x, y)]e
2 2 0 S
t,p
( x, y ) et ,m ( x, y )ds
e
S
t, p
( x, y ) h t , p ( x, y )ds
(5)
and
6 Chapter 1: Introduction
z p ,m
0
2
[
S
2 n0 ( x, y ) n ( x, y , z ) n ( x, y ) 2 e z , p ( x, y )e z ,m ( x, y )ds n ( x, y , z ) 2 2 0
e
S
t,p
( x, y ) h t , p ( x, y )ds
(6)
where n0(x,y) is the index profile of the unperturbed waveguide, while n(x,y,z)is the index of the grating. Note: Equations (3) and (4) are rigorous even for lossy media. In practice, one cannot use an infinite number of modes, therefore coupled ordinary differential equations can be reduced to finite number. Braggs condition can be used to eliminate fast varying terms in coupled ordinary differential equations so as to simplify calculation. For limited conditions, non-orthogonal mode decomposition can be used to get approximated results.
a d a = iC b b dz
(7)
where C is the matrix of coupling coefficients. Assume C is independent of Z in an interval (z1, z2). We therefore have an eigenvalue decomposition:
C = U 1DU
(8)
where D is real diagonal matrix and U is transpose of eigenvector matrix. Thus we have transfer matrix T
u u u = U 1 exp[iD( z1 z 2 )]U = T v v v z1 z2 z2
(9)
d u ( z , ) = i u ( z , ) + i ( z ) v ( z , ) dz d v ( z , ) = i v ( z , ) i * ( z ) u ( z , ) dz
(10)
with the definition of reflection as:
Chapter 1: Introduction 7
r ( z, ) =
v( z, ) u ( z, )
(11)
we find the synthesis relation to be [4]:
( z) =
2i
r * ( z , )d
(12)
The grating structure can then be reconstructed step by step.
8 Chapter 1: Introduction
Chapter 2: Installation
This chapter explains the installation procedure for GratingMOD, and provides a quick example to test the installation.
Chapter 2: Installation 9
2.
Use the File/Open menu command in the CAD interface and choose the file
<rsoft_dir>\Examples\GratingMOD\Tutorial\TutA1\grating1.ind. This file contains a simple
2D grating with a sinusoidal width perturbation. You may notice that the grating edges appear to look strange due to the sampling rate used in the CAD window. If you were to zoom in, the grating would in fact appear sinusoidal. Note that this does not affect the simulation in any way. 3. The CAD window should appear as follows:
4.
Hit the Run Simulation icon (the green light). The GratingMOD analysis dialog will appear.
5.
Hit the OK button. The interface will launch the GratingMOD simulation, and in a few moments a WinPLOT window will appear which contains the spectral response.
10 Chapter 2: Installation
If so, the installation has been successful. If not, please review the installation instructions in the previous section, and contact RSoft if the problem persists. In an error message similar to This hardware key is not licensed for GratingMOD occurs, please check that you have replaced any existing key and license file, which those that came with the GratingMOD package. Otherwise, please contact RSoft Design Group, Inc. for any further problems or issues.
README File
The file readmegm.txt, which is located in the installation directory, should be read. This file may be viewed in any text editor, such as Windows Notepad. The readme file provides important last minute information about GratingMOD that is not contained in this manual, including new or improved features and options.
Chapter 2: Installation 11
This chapter will discuss the grating analysis portion of GratingMOD. In grating analysis, the grating is first defined by the user. The software will then compute the spectral and dispersion response of this grating. Section 3.A. will run through the initial steps of setting up and analyzing a gratings performance. This section is best for beginners who are unfamiliar with GratingMOD and would like a quick overview of the use of the software. Sections 3.B. and 3.C. will go through the details of laying out gratings via either the layout generator or the CAD. Section 3.D. will describe the simulation features of GratingMOD which are used to simulate the defined grating structure. Finally, Section 3.E. will describe the output options and abilities that are created with GratingMOD. Note that some familiarity with the CAD interface is assumed. For more information about the use of the CAD interface, please consult the CAD manual.
We will now work through each of these steps in detail. To do this, we will consider a Fiber Bragg Grating structure.
Figure 3-1: The Startup Window. Note that the settings made in this window can be changed at any later point through the Global Settings dialog box.
Now choose Index Taperto be New Taper. The User Function Editor dialog will pop up.
index and period automatically, as will be discussed below, though the user may also set them manually. In either case, it is useful to define a symbol called Period in the Symbol Table (in fact, this is necessary for the automated case). Define in the symbol table Period and set it equal to 0.5264. The CAD interface contains several different types of tapers. In this example, we will utilize a Grating Taper. Tapers are defined via the User Function Editor. To access this editor, either choose Options/Tables/Edit User Tapers via the CAD menu, or press the Tapers button in any Segment Properties window. In the User Function Editor, set the Source Type to Grating. The dialog appearance will change, as shown in Fig. 3-3. A detailed description of the options in this window will be discussed in Section 3.B.1..
Set the Period equal to the variable Period we previously defined, and then click OK to save the grating taper. Click OK once more to save the waveguide parameters. The Fiber Bragg Grating is now defined.
GratingMOD introduces a new taper type to the CAD interface, the Grating Taper. It provides a simple way to define common grating structures. This taper type varies the waveguide properties based on the average value of a physical parameter for the waveguide, which is set by the starting vertex information, and the maximum value of a physical parameter, which is set by the ending vertex. Users who are familiar with typical tapers in the RSoft CAD will recall that tapers are usually defined to vary between the minimum and maximum value specified in the starting and ending vertices respectively. This is not the case with a Grating Taper as the starting vertex represents the average value of the physics parameter. In the example discussed in the previous section, Fig. 3-3 shows the user function editor for the Grating Taper Type. This section will go through each of those options in more detail.
Phase
This defines the leading phase of the grating segment. It denotes the shift of the grating position in terms of the fraction of a period. The units are defined in degrees.
Period
This is the length of a periodic cell. For a non-chirped grating, this is the grating period. For chirped gratings, the period changes as a function of position. In this case, this value equals the average period. In particular, for a linear chirped grating, this value equals the period at the middle of the grating. We strongly suggest you define an easy to remember symbol, such as Period, in the symbol table and set this field equal to that symbol. Some options for grating analysis will use this convention. However, it is occasionally convenient for the user to change the value in the symbol table other than going back and forth into this dialog. The units of this field are microns.
Apodization Type
This box sets the apodization type. There are four built in apodization types which are described in Appendix B in more detail. Additionally, a user taper can be used to describe the apodization.
Apodization Coefficient
This coefficient varies the characteristics of the apodization functions used for the four built in apodization types. Please see Appendix B for details and equations for each apodization type.
Chirp Type
This box sets the chirp type. There is currently one built in chirp type for linear chirp, in which case the period is defined as:
z ( z ) = 0 + 0.5 L
where z varies from 0 to L (the length), 0 is the nominal period (defined by variable Period), and , is the Chirp Coefficient.
Chirp Coefficient
This is the coefficient of linear chirp, , as defined above. Its dimension needs to be the same as the Period.
Profile Type
Profile type is the type of shape of a periodic cell. Currently this can be either rectangular or sinusoidal. .
Bias
Sets an offset for the taper function. A value of 0 means that the function varies from -1 to 1.
Duty Cycle
This sets the duty cycle of the periodic function used to create the grating taper.
where g(z) is a taper funtion as described in the CAD manual, A(z) is apodization function, C(z) is chirp function, 0 is the nominal period, and 0 is the phase. The chirp function C(z) is defiend as:
C ( z) =
( z ) 0
Please note that this taper function is deifned to vary between 1 to 1 instead of 0 to 1 like the other built-in taper types.
This option sets the type of grating that will be produced. Note that the only 2D structure setting is slab, and the rest of the options are various types of 3D outputs.
Grating Type
This tells the layout utility if an index modulated or surface relief structure will be created. For a slab structure, the volume perturbation refers to the width of the waveguide. For the fiber and channel structures, the volume perturbed refers to the width and height. For the ridge structure, the height will be modulated.
Modulation Depth
This sets the default difference between the high and low values of the set modulation. If the grating is an index modulated grating, then this will set the modulation of the index change. If the grating is a height modulated grating, then this will set the height change, etc.
Width
This sets the default height of the structure for 3D structures. If this is left at 0, then a default height will be set to the value in the width box.
Delta
This parameter sets the default index difference (delta) of the structure.
Cladding Index
For structures that contain a cladding, this sets the index of that cladding.
Separation
For theFiber Coupleroption, this sets the separation between the two structures.
Layout File Meta Prefix
When a prefix is entered here, a design file will be created with this name after the OK button is pressed. After a grating is created using this utility, a series of symbols are set in the symbol table that can be used to change the defaults. A list of these is shown below. Symbol
L ModDepth N0 Period delta Ncore Nclad Rcore Rclad Sep
Definition Length of grating structure. The variation in the modulation. The background index. Period of the grating. The index difference. The index of the core (fiber). The index of the cladding (fiber). The radius of the core (fiber). The radius of the cladding (fiber). The separation between two gratings (coupler).
This field sets the file prefix that will be used for data files created during a simulation. Note that if no Output Prefix is set, data will not be saved. The six buttons and their functions are as follows:
Output
This button accesses the GratingMOD Analysis Output dialog box. Its contents are discussed later in this subsection.
Symbols
This button accesses the Symbol Table where the user can define variables to be used for layout or simulation purposes. For more information on the Symbol Table, please consult the CAD manual.
Help
This button accepts all the changes made in the GratingMOD simulation window, and begins a simulation.
Cancel
This button rejects all the changes made in the GratingMOD simulation window, and returns to the CAD interface.
Save Settings
This button accepts all the changes made in the GratingMOD simulation window. This button is useful to accept all the changes without performing a simulation.
Bragg Condition
Fix Center Wavelength
Choosing this option will enable the user to edit the Wavelength field. The number entered in this box will be regarded as the central wavelength and will be used for the simulation. The mode and effective index will be calculated at that
wavelength for the current waveguide. However, the wavelength and the calculated effective index may not match the given period under the Bragg condition. Therefore, the program will modify the given period to satisfy the Bragg condition. This option can be used when the user wants to design a grating at certain wavelengths and use the period as a variable.
Wavelength
The user needs to enter a central wavelength when the Fix Center Wavelength option is checked. Otherwise, this field is read only and the free_space_wavelength variable set in the symbol table will be displayed.
Fix Period
If the user wants to fix the period of the grating, they should check this option. For this situation, the program will vary the wavelength and find the right one which satisfies Bragg condition.
Period
The user needs to enter a period when the Fix Period option is checked. Otherwise, this field is read only and the Period variable set in the symbol table will be displayed.
Grating Order
Wavelength Grid
Wavelength Range (# or #,#)
Here the wavelength range for spectrum calculation is entered. If only one number is entered, it will be treated as the spectrum width with a central wavelength set as discussed above. If two numbers are entered separated by a comma, these two numbers will be treated as the minimum and maximum wavelength, respectively. If left to the default value, the program will determine the wavelength range by estimating the characteristics of spectrum.
Wavelength Spacing
This is the resolution of the output spectrum. If it is set to the default, the program will choose a proper resolution.
This button opens a new dialog containing advanced analysis options as shown below.
Performance Criteria
Set Tolerance
This radio button sets the tolerance for automatic calculation of number of steps per grating section. For gratings with apodization and/or chirp, a grating section will be divided into many steps and each step is treated as uniform grating. This technique is the basis of Transfer Matrix Method. GratingMOD tries to find the number of steps according to the given tolerance, which, by default, is 0.001.
Set # Steps
Sometimes one may want to manually set he number of steps. He/She needs to click this radio button then enter the desired number in the editable field.
The accuracy of the Coupled-Mode Theory depends upon the choice of reference waveguide structure [9]. The best reference waveguide structure has the effective index equal the average of maximum perturbed waveguide and minimum perturbed waveguide. However, the unperturbed waveguide doesnt have to be the best reference waveguide. For example, a uniform slab grating with width perturbed from 4 microns to 6 microns and thus has the unperturbed width of 5 microns. Effective index at 5 microns is not the average of effective indices at 4 and 6 microns. Therefore, by default, the reference effective index will be calculated as the average at minimum and maximum positions. When perturbation is weak, or the cost of mode calculation is high, or one intends to do it for research purpose, the
Unperturbed Structure option can be selected.
Note that the Neff Selection option only effects the automatic mode calculation.
Figure 3-9: Mode Selection Window: a) Use Auto Mode Calculation, and b) Use Precalculated Modes.
This option is useful if the grating has analytic modes. If this option if checked and the waveguide is either slab or fiber, analytic solution will be used. Therefore the results will be more accurate and the speed will be faster. If this option is unchecked, numerical mode solver will be used to calculate the modes.
Account for (waveguide/material) Dispersion
Choosing this option will tell the software to calculate the index change as the wavelength changes. Mode calculations for the structure will be performed at multiple wavelengths in order to compute the dispersive properties.
Show Mode Calculation
This option enables the display of the mode calculations during the grating analysis. It is highly recommended that option always be selected in order to ensure accurate results from GratingMOD. The BPM-based mode solver is a very complex tool which can sometimes produce spurious modes, especially for complex structures. It is therefore left to the user to ensure that the computed modes are proper and do indeed reflect the modes that are supported by the structure. If the modes do not represent what the structure supports, then the modes must be solved for manually using the BPM based mode solvers. Instructions for this procedure are given in the BeamPROP manual. Once all of the appropriate mode files have been computed and saved to files, they can then be used in a GratingMOD simulation as described below.
Mode Output
This pulldown menu controls the output of the automatically calculated modes. The modes can be saved to disk and/or displayed for later review or other purposes. This field has three options: None This choice indicates that the modes should not be saved to disk or displayed after the simulation.
Save Only This choice indicates that the modes should be saved to disk after the simulation, but not displayed. Display and Save This option indicates that the modes should be both saved to disk and displayed.
Precalculated Modes
To enable the use of precalculated modes, set the Mode Selection Parameters to Use Precalculated Modes. The fields in the Precalculated Super Modes region of the dialog can now be accessed. Please note that this section assumes that the reader is familiar with BeamPROPs mode solvers. For more information on the BPM-based mode solvers, please consult the BeamPROP manual. For a multimode grating analysis, GratingMOD uses the super modes of the grating structure.
Figure 3-10: The portion of the Mode Selection tab which controls the use of precalculated modes for a grating analysis.
The box in the left region in the dialog shown in Fig. 3-10 lists the super mode files to be used for the grating analysis. Mode files can be added to this list via the Add button, and deleted via the Delete button. Once the modes have been added to the list, the user can set whether the mode should, for purposes of the simulation, be considered as forward or backward propagating, or both. This can be done by double-clicking on the mode file in the list. When this is done, the Direction will toggle between BOTH, FWD, and BACK.
Select Launch
If more than one mode has been entered, the initial mode to be used for the analysis, or launch mode, can be specified. To set the launch mode, select the desired super mode from the list and click the Select Highlighted button.
This checkbox sets the output to display the full width, half maximum of the output spectrum when it is created.
Peak Amplitude
This checkbox sets the output to display the peak amplitude of the output spectrum when it is created.
Peak Position
This checkbox sets the output to display the peak position of the output spectrum when it is created.
Stop Band
This checkbox sets the output to display the stop band of the output spectrum when it is created.
Left Side Lobe - Peak Amplitude
This checkbox sets the output to display the peak amplitude of the left side lobe of the output spectrum when it is created.
Right Side Lobe - Peak Amplitude
This checkbox sets the output to display the peak amplitude of the right side lobe of the output spectrum when it is created.
Inside of Band Defined by Level (0-1 or dB)
This checkbox sets the output to display the inside of the band as defined by level. This level can either be from 0-1, or, if the dB checkbox is set, in dB.
Outside of Band Defined by Level (0-1 or dB)
This checkbox sets the output to display the outside of the band as defined by level. This level can either be from 0-1, or, if the dB checkbox is set, in dB.
dB
This checkbox indicates that the level measurement made of either the inside or outside band should be displayed in dB.
Choose what is displayed in output spectrum. By default only the reflection data displayed. Note that both the data computed and saved in an output file is in units of amplitude, but is squared for display purposes in order to display the spectrum in units of power.
Output Phase
Choose whether the phase is displayed in the output spectrum. The default is No.
Show Delay/Dispersion
Choose whether the delay and dispersion are displayed in the output. The default is No. The delay and dispersion will be calculated from the spectrum phase and will be displayed in the same plot window. The Delay will be plotted against the left axis, while the dispersion will be plotted against the right, alternative axis. In some cases, the calculated delay, which depends on the derivative phase, can have unphysical discontinuities. To alleviate this problem, simply use a finer wavelength grid.
Show Apodization/Chirp
Choose whether the profile of the grating perturbation will be displayed. The default is No. Apodization will be normalized to from 0 to 1. Chirp will be the real period varying along the grating position. Apodization will be displayed along the left axis, and chirp will be plotted along the right, alternative axis.
WinPLOT Files
This section outlines the WinPLOT files that a grating synthesis calculation can produce. To produce a particular set of data, choose the relevant option in the Output Options dialog box.
Description Spectrum including amplitude and phase of reflection and transmission Grating profile including apodization and chirp
Description Spectrum of grating (5 cols): Wavelength, ampl and phase (deg) for reflection and ampl. and phase (deg) for transmission Apodization data Chirp data Grating spectrum unwrap phase (7 cols): Wavelength, unwrap phase for reflection, unwrap phase for transmission, real/imag for reflection and transmission
In this chapter we will cover the Grating Synthesis portion of GratingMOD. In grating synthesis, the response for the system is first defined by the user. Next, the software will compute the grating characteristics, including index distribution and chirp, for the grating itself. Section 4.A. contains a brief overview calculation to demonstrate basic use of grating synthesis. Section 4.B. covers the required input data needed to perform a synthesis, and Section 4.C. discusses how to perform the synthesis and what the various output options are.
We will now work through each of these steps in detail. To do this, we will create a simple fiber based filter with a basic rectangular spectrum.
Figure 4-1: The Startup Window. Note that the settings made in this window can be changed at any later point through the Global Settings dialog box.
Figure 4-2: The GratingMOD simulation window with the Simulation Mode set to Grating Synthesis.
The file <rsoft_dir>Examples\GratingMOD\rect.dat contains the following data, and corresponds to the spectrum shown in Fig. 4-3
Amplitude 0 0 1 1 0 0
Phase 0 0 0 0 0 0
Figure 4-4: Data points contained in the file rect.dat which correspond to the spectrum shown in. This file can be viewed/edited using any text editor, such as Windows Notepad.
To set this file as the input spectrum, click Browseand set the Spectrum Input File to the file rect.dat, and click OK. All the default settings are appropriate for this example. The other options in this tab are discussed in more detail in the following sections.
This field sets the file prefix that will be used for data files created during a simulation. Note that if no Output Prefix is set, data will not be saved. The six buttons and their functions are as follows:
Output
This button accesses the GratingMOD Analysis Output dialog box. Its contents are discussed later in this subsection.
Symbols
This button accesses the Symbol Table where the user can define variables to be used for layout or simulation purposes. For more information on the Symbol Table, please consult the CAD manual.
Help
This button accepts all the changes made in the GratingMOD simulation window, and begins a simulation.
Cancel
This button rejects all the changes made in the GratingMOD simulation window, and returns to the CAD interface.
Save Settings
This button accepts all the changes made in the GratingMOD simulation window. This button is useful to accept all the changes without performing a simulation.
The functions F(x) and G(x) can be defined by the user by either a data file or a mathematical expression. This choice is set under the field Spectrum Source, and its related options are discussed in the following sections.
override the default data definition by defining the symbol grating_inv_isRealImag = 1 in the symbol table. Also, if the third column is missing, a real/amplitude data format will be assumed. RSoft convention data format The first row will usually have some defined plotting commands. The second row contains several values, the first is the total number sampling points, and the next two fields define the minimum and maximum value of the dependent variable. The fourth field is not used. The fifth field gives the data format as a string of values such as: OUTPUT_AMPLITUDE | OUTPUT_REAL | OUTPUT_REAL_IMAG | OUTPUT_AMP_PHASE. The data is then given in two columns below this header.
Using an Expression
Once the Spectrum Source is set to Expression, you can enter expressions for F(x) for Amplitude and G(x) for Phase, Delay, or Disp. For a complete listing of allowed functions, please consult Appendix B. Once the functions F(x) and G(x) are defined, you need to define the domains of these functions. This is done with the fields Starting Value of x and Ending Value of x. Because GratingMOD needs to sample these functions, you also need to provide the Number of x Points that you wish to be used.
The first two requirements are easy to understand and readily make sense. In other words, you need to enter an input spectrum which corresponds to an actual design that you wish to either study or fabricate. The third requirement can require a little more thought and will be discussed in the following section.
Before performing a grating synthesis with GratingMOD, the input spectrum needs to be physically realizable. If it is not, the FIR design procedure should be used to force it to be causal. For more details about this design technique, consult a reference such as [7].
We will now discuss the options shown in Fig. 4-7 used to modify the Input Spectrum.
Conjugate Phase
This option indicates that the phase information specified in the Input Spectrum should be conjugated.
Derive Phase
This option indicates that the phase information should be derived from the amplitude.
Type
This option sets the windowing function that is used to manipulate the Input Spectrum and will be applied to the impulse response. This can be useful when attempting to create a causal Target Spectrum. There are four filter types available: Cosine, Cosine-squared, Tanh, and Blackman. The definitions for these filters are the same as those used for the apodization types given in Appendix C.
Shift
This phase shift will be applied to an impulse response and can help to make the Target Spectrum causal and realizable.
Grating Length
This field sets the grating length in microns. The default value is determined from the impulse response length.
Show Target Spectrum
This button outputs a plot containing the Input and Target spectrums as well as the impulse response for the target spectrum as seen in Fig. 4-8. The upper plot shows the Input and Target Spectrums, and the lower plot region shows the impulse response for target spectrum. It can easily be seen from these graphs whether the Target Spectrum and impulse satisfy the requirements for a realizable spectrum.
Figure 4-8: Results from using the Show Spectra option. The top graph contains both the input and target spectra, and the bottom graph contains the impulse response. In order for the system to be casual, the bottom graph must be zero for negative time.
Synthesis Parameters
Simulation Step Size
This field sets the resolution of the synthesized grating profile along the grating length.
Unwrap Phase of Output Coupling Coefficients
This option sets whether the reflected spectrum, the transmitted spectrum, or both spectrums are displayed in the output. This option defaults to display only the reflected spectrum. Note that both the data computed and saved in an output file is in units of amplitude, but is squared for display purposes in order to display the spectrum in un its of power.
Output Phase
This option sets whether the phase is displayed in the output. By default this information is not displayed.
Output Delay/Dispersion
This option sets whether the delay and dispersion information is displayed in the output. The delay and dispersion will be calculated from the spectrum phase and will be displayed in the same plot window. Delay will be plotted against the
left axis, while dispersion will be plotted against an alternative axis on the right. By default, this information is not displayed.
Output Apodization/Chirp
This option sets whether the profile of the grating perturbation will be displayed in the output. The apodization will be displayed along the left axis, and chirp will be displayed against an alternative axis on the right. Note that the displayed apodization is normalized to vary between 0 and 1, and the displayed chirp is the real period as it varies along the grating position. By default, this information is not displayed.
Output Kappa
This option sets whether the coupling coefficients are displayed in the output and sets their format.
Axis Type
This option sets the dependent variable (x axis) used in the displayed output.
Show Target Spectrum
This option adds the target spectrum in the output graphs to order to compare them with the synthesized results.
Show Input Spectrum
This option adds the input spectrum in the output graphs to order to compare them with the synthesized results.
WinPLOT Files
This section outlines the WinPLOT files that a grating synthesis calculation can produce. To produce a particular set of data, choose the relevant option in the Output Options dialog box.
File Name
<prefix>_profile.pcs <prefix>_delay_dispersion.pcs <prefix>_r.pcs <prefix>_target.pcs
Description Contains the grating profile, includeing apodization and chirp Contains the delay and dispersive paramters for the grating Contains the synthezised results Genereate intermediate data, display target spectrum (alternative to input spectrum) which meets design resuirements while keeping causality
Chirp data with two columns position and value Coupling coefficients with three columns position, amplitude, and phase (rad) Target spectrum with five columns wavelength, amplitude, phase (rad), real, imaginary Synthesized spectrum with five columns wavelength, amplitude, reflection phase (deg), amplitude phase (deg), transmitted phase (deg) Spectrum after re-sampling with five columns wavelength, amplitude, phase (rad), real, imaginary Original input spectrum with five columns wavelength, amplitude, phase (rad), real, imaginary Dispersion of synthesized results with two columns wavelength and value Delay of synthesized results with columns wavelength and value Impulse response of target spectrum with six columns: time/position, amplitude, phase (rad), real, imaginary
This chapter contains a series of progressively more involved tutorials dealing with the analysis for gratings with GratingMOD. Since many of the tutorials build on techniques established in earlier tutorials, it is important to perform them in order, even if a particular tutorial topic is of most interest to you.
Value
Surface Relief (width) 0.5 grating1
These settings create a width modulated, 2D grating. Press OK to create the design file in the CAD interface. The expected number of periods may not be visible in the CAD layout. This is because the display resolution of computer screens can only display a limited number of pixels and cannot correctly resolve a large number of periods. An under-sampled envelope of the grating is actually what is visible when the entire layout is displayed, and simply zooming in on the grating profile will reveal its true shape, as is demonstrated by the next figure. This effect is a general display characteristic of periodic tapers.
Figure 1: Grating created with grating layout utility seen in a) Full-View, and b) zoomed in to show profile detail.
Figure 2: Symbols for grating that was created using grating layout utility
Performing a Simulation
Press the Perform Simulation icon to bring up the GratingMOD simulation window as shown in Fig. 5.
In order to enable the output of data to files, enter an Output Prefix such as grating1. Click OK to start the simulation. When finished, the simulation results will be displayed. The reflected power spectrum will be shown in a WinPLOT window with a file name grating1.pcs. The mode profile used for the analysis will also be displayed.
Notice that the center wavelength is changed to be 1.00768 m as shown above, which is the Bragg wavelength for the given period, which was 0.5. This was done because, as was shown in Fig. 5, the Bragg Condition was set to Fix Period. Had we chosen Fix Center Wavelength, GratingMOD would have calculated a new value of the period using the specified wavelength in order to satisfy the Bragg Condition.
Value
Volume Index 0.001 grating2
These settings create a index modulated, 2D grating. Press OK to create the design file in the CAD interface.
To see the actual grating profile, press the Display Index Profile button in the left toolbar, set the Display Mode to ContourMap(XZ), and click OK to display the index profile.
Right-click on the segment to open the Segment Properties dialog, and note the settings that the layout utility have made. Also, look at the symbol table and see the symbols created.
Value
Fiber Volume Index 0.0012 5.25 5.25 0.008 grating2
The grating length and fiber cladding index will be set later in the tutorial. Finally, enter an Output Prefix such as fbg and click the OK button to create the design file and open it in the CAD interface. The created file fbg.ind contains a single fiber segment with the desired index perturbation. The user is encouraged to explore the Segment Properties dialog box which can be accessed by right-clicking on the segment. This dialog box controls all the parameters for the fiber, including the index modulation and perturbation. In this case, the index perturbation is set by a user-defined grating taper function.
As discussed earlier, we are going to fix the central wavelength and allow GratingMOD to calculate the Period in order to satisfy the Bragg condition. To enable this, select Fix Center Wavelength, and then set the Wavelength to 1.55. For this example, the default values for the rest of the simulation parameters are appropriate.
Next, click the Output button in order to set the output options for this simulation. Set Output Spectrum to Reflected and Show Delay/Dispersion to Yes. This will save the desired data from the simulation to disk. Finally, set an Output Prefix such as bragg_12 and click OK to perform the simulation. After the automatic mode calculation, the reflected spectrum will be shown. The data from this simulation has been saved in files with the prefix bragg_12 with associated plot files. For instance, the reflection spectrum data is saved in the file bragg_12.dat with an associated WinPLOT file bragg_12.pcs. The user is encouraged to look through the contents of the current working directory in order to see the files produced.
Figure 3: The simulation results from the first grating analysis. a) The reflection spectrum contained in the file shown, bragg_12.dat. Note that the grating period automatically calculated to satisfy the Bragg condition is displayed on the top of the graph. b) The delay information is contained in the file bragg_12_delay_dispersion.pcs.
Figure 4: The simulation results from the first grating analysis. a) The reflection spectrum contained in the file shown, bragg_03.dat. Note that the grating period automatically calculated to satisfy the Bragg condition is displayed on the top of the graph. b) The delay information is contained in the file bragg_03_delay_dispersion.pcs.
spectrum and delay for each grating on the same plot respectively. This will not only result in useful graphs, but it will provide a basic training in the use of the data display program WinPLOT. The plots produced in this section correspond to plots shown in [6].
Figure 5: Reflection spectra vs. normalized wavelength for uniform FBG shown for two different index modulation depths. Note that the X axis corresponds to a normalized wavelength.
To create the graph as shown in Fig. 5, we will utilize the data contained in the files bragg_12.dat and bragg_03.dat. To do this, we will create a WinPLOT command file reflection_spectra.pcs by either modifying an existing file in WinPLOT, or with any text editor such as notepad or emacs.
Figure 6: The WinPLOT command file used to create the plot shown in Fig. 5.
Explanation This command sets the title of the plot. This command sets the Y-axis label of the plot.
/xl"Normalized Wavelength (&l/&l_{max})" This command sets the X axis label of the plot. /yl"Reflectivity"
This command set the legend type. This command sets the legend header. This command sets the line style used. This command sets the line width. This command indicates that only the first data column of the data files should be plotted. This command squares the data before plotting. This produces plots of power from data stored in units of intensity. This command sets the domain of the plot (Xmin, Xmax, Ymin, Ymax). In this case, the Y values are not given and are automatically calculated by WinPLOT. This command scales the data along X by 1/1.55 in order to achieve the normalized wavelength plot. This data file contains the first spectrum, and sets the legend entry for it. This data file contains the second spectrum, and sets the legend entry for it.
/w0.9995,1.0005,,
Figure 7: The reflection spectra and group delay vs. wavelength for a uniform FBG with 15% index modulation.
To create this graph as shown in Fig. 7, we will utilize the reflection spectra data contained in the first column of the file bragg_12.dat and the group delay data contained in the first column of file bragg_12.dly. To do this, we will create a WinPLOT command file bragg_12_results.pcs by either modifying an existing file in WinPLOT, or with any text editor such as notepad or emacs. The commands shown in the table below were used to obtain the plot shown in Fig. 7, and are similar to those used in the file shown in Fig. 6 above. The new commands are: Command
/altyl"Delay(ps)"
This data file contains the reflection spectra; the following commands indicate that the data should be squared before plotting in order to obtain a power spectrum, and sets its legend entry. commands indicate that the data should be plotted on the alternate Y axis, and sets its legend entry.
bragg_12.dly /lt"Delay" /alty /lt"Delay" This data file contains the group delay; the following
A similar plot can be created for the uniform FBG with 0.0003 Index Modulation.
Figure 8: The reflection spectra and group delay vs. wavelength for a uniform FBG with 3.75% index modulation.
The graph shown in Fig. 8 can be created in the same manner as Fig. 6 by simply changing the file names from bragg_12.dat and bragg_12.dly to bragg_03.dat and bragg_03.dly.
Adding Apodization
Right click on the segment and press the Tapers button. Set the Apodization Type to Cosine as shown below. A list of the Apodizations and their definitions can be found in Appendix B. Close the dialog by clicking OK and then press OK again to return to the CAD.
In order to enable the output of simulation data to file, enter an Output Prefix such as grating2. Then click OK in this window to perform the analysis. The following plot will be obtained called grating2.pcs.
The green line shown in Fig. A4-3 corresponds to the transmitted power. Notice that the side lobes are greatly suppressed due to the apodization that was used.
Adding Chirp
We are going to add linear chirp to the grating segment, go to the taper table as described previously. Enter 0.001 in the Chirp Coefficient field and set Chirp Type to Linear as shown in Fig. 1. Note that this defines a linear chirp where the chirp varies the period as:
( )
Press the Perform Simulation icon and then press the Output button. Set the Output Spectrum to Reflected and Show Apodization/Chirp to be Yes. By doing this, we can now obtain plots which display the output spectrum as well as the apodization and chirp information. Press OK.
Enter an Output Prefix such as grating3 in order to enable the output of data, and then press OK to begin the simulation. At the end of the simulation, a plot called grating3.pcs is created as shown in Fig. 3.
Notice that the spectrum is now spread out more due to the apodized chirp.
Note that the blue curve and left axis correspond to the apodization while the green curve and right axis correspond to the chirp function. We can see that the chirp function spans 0.001 m as expected.
Note that the Display Color has been set to Light Blue. Press OK twice to return to the CAD. Click the View Full button in the top toolbar to see the two gratings.
Figure 3: Spectral Response of Cascaded Gratings pi out of phase with each other
Notice that there is a stop band in the middle of the reflection spectrum, as we should expect by setting up these cascaded grating segments.
Rib/Ridge
3.34 0.1 2.0 2.5 rib
Click OK to create the design file and open it in the CAD interface. Note that the cover index is set to 1 by default, and the slab height is set to half of the waveguide width. Therefore, the structure created is equivalent to our desired structure. Also, the value of the period has been set to an arbitrary value of 0.5 m. The final value will be found by GratingMOD via the Bragg Condition at the desired wavelength.
Figure 1: The computed index profile in the YZ plane which shows the height perturbation for this grating.
Figure 2: The GratingMOD Simulation Parameters dialog where the simulation parameters are set.
Mode Selection
The mode that this structure supports cannot be found via simple analytic method, and requires the use of the BPM-based mode solvers. GratingMOD will automatically detect this, and automatically calculate the mode for this structure. To enable the output of the modes found, the Mode Output option can be used.
There are no changes necessary in order to select the right mode under the Mode Selection tab.
Value GratingMOD
3.4 0.9
Click OK to create the design file and open the CAD interface.
Creating Variables
Next, create several symbols which we will use later to define various properties of the structure. Press the Edit
Symbols icon and create and define the following symbols:
Description Distance between two waveguides Index Difference of first waveguide Index Difference of second waveguide Average Index Difference of grating segment Index perturbation of grating segment Toggles grating related parameters on/off and will be useful to temporarily remove grating segment for mode calculations. Length of the structure Index of first waveguide Index of second waveguide Average index of grating segment Period of the grating
When all of these symbols are entered the symbol table should appear as shown in Fig. A8-2. Press OK to go back to the CAD.
Figure 1: The Segment Properties dialog box for the grating segment.
Once this is done, the Grating Taper function needs to be defined. Select New Taper under Index Taper to open the User Function Editor. For this grating, set the Profile Type to Rectangular and Period to Period. Click OK to return to the Segment Properties dialog box. The Index Taper should now be set to the taper just created, User 1. Since other segments will be created, we will change the color of this segment to avoid confusion. Press the More button to access the Additional Segment Properties dialog box and change the Display Color to Light Gray. Press OK twice to return to the CAD interface.
The Waveguides
Draw in a waveguide, and then right click on it to access its Segment Properties dialog box. Change the Index Difference and Component Widthof both the starting and ending vertices to Delta_A and Width_A respectively. Next, set the starting X coordinate to -(D+Width_A)/2 and the ending Z coordinate to Length as shown in Fig. 2. Once this is done, press OK to return to the CAD window. The new waveguide should now be on the left side of the grating segment.
Figure 2: The Segment Properties dialog box for the second segment.
To add the second waveguide, choose the left waveguide segment and then click the Duplicate Selection button. This will create a new waveguide identical to the first waveguide which lies over the other segment. Right click on the new segment and change the Index Difference to Delta_B, and the Component Widthto Width_B. Also, change the starting X coordinate to (D+Width_A)/2 . This will place the waveguide on the right side of the grating segment. Finally, change the color of this segment via the More button to Light Blue. Press OK twice to return to the CAD window. When all three segments have been properly defined, the completed structure will appear in the CAD window as shown in Fig. 3.
Figure 4: The index profile of the grating structure for a) the complete structure, and b) the first 1 m along Z.
The profile shown in Fig. 4a shows the complete grating structure. However, it may be useful to look at a small section of the grating in order to obtain a more detailed description of the grating. Click the Compute Material Profile button again, and change the Z Domain Max to 1. The index profile will be displayed after hitting OK as shown in Fig. 4b
The profiles shown in Fig. 4 show several black areas. These correspond to index values which lie outside the normalized scale used to display the profile. The min/max values used to display index profiles can be changed via the Index Min and Index Max fields in the Display Options dialog box which can be accessed via the Display button in the simulation parameters window.
These are the two modes for the system that we will use in the coupled mode theory analysis. Note that the fundamental mode, m=0, is for the right waveguide, while the first order mode, m=1, is for the left most waveguide.
Next, press the Mode Selection tab. Since we have precalculated the modes for this structure, select Use Precalculated Modes. Add the files mode.m00 and mode.m01 to the mode list as shown in Fig. 7. Also, set the launch mode to the Super Mode file mode.m01 using the Select Highlighted button.
Next, press the Output button and make sure the Output Spectrum is set to Both so that both the transmitted and reflected spectrums can be viewed.
Press OK in this window and then the next to perform the coupled mode analysis of this structure.
Figure 9: The simulation results for the grating coupler. Note that the .m00 mode is for the right waveguide, while the .m01 mode is for the left waveguide.
The simulation results, shown in Fig. 9, show the power spectrum for both forward and reverse modes.
Structure Overview
Open the file long_period.ind in the CAD interface.
Figure 1: The completed structure in the CAD interface. The blue segment represents the core, while the red segment represents the cladding.
Note the following about the design: Structure The grating structure is defined by two segments: a cladding segment and a core segment. Grating Definition The grating segment has an index taper which modulates the index within the core along the fiber axis.
Performing a Simulation
Click the Perform Simulation button in the left toolbar and note the settings. Click OK to start the simulation.
Figure 2: The simulation results showing the transmission spectrum. Several resonances are clearly visible.
To view the coupling between the core mode and cladding modes, click the Show Core-Clad Coupling button.
Figure 3: The computed coupling between the core mode (mode 0) and the cladding modes
The Bragg Condition can also be seen by clicking the Show Bragg's Condition button.
This chapter contains a series of progressively more involved tutorials dealing with the use of grating synthesis. Since many of the tutorials build on techniques established in earlier tutorials, it is important to perform them in order, even if a particular tutorial topic is of most interest to you.
Desired Performance
Recalling from Chapter 4, we want to design a grating with the spectrum shown in Fig. 1
The file <rsoft _dir>Examples\GratingMOD\rect.dat contains the following data, and corresponds to the spectrum shown in Fig S1-2. Wavelength 1.549 1.54979 Ampl. 0 0 Phase 0 0
1 1 0 0
0 0 0 0
Figure 2: Data points contained in the file rect.dat which correspond to the spectrum shown in Fig. 1. This file can be viewed/edited using any text editor, such as Windows Notepad.
create a realizable profile. To view the target spectrum to be used by GratingMOD, click on the Show Target Spectrum button. For this example, the defaults for this tab, as well as the Synthesis Parameters tab will be sufficient, and so the grating can be synthesized.
The upper plot in Fig. 4: shows the power reflection for the synthesized grating on a linear scale, but would be much more useful plotted on a log scale. To do this, open the results file filter_synthesis_spectrum.pcs and choose View/Edit from the WinPLOT menu, and adding the commands /dby.
Figure 6: a) Grating profile for the -40 dB filter b) the peak region of the grating profile.
Filter Design
This filter will be designed to have two channels, centered at a wavelength of 1.55 m with a bandwidth of about 0.02 m. The desired spectral performance is shown in Fig. 1.
Figure 1: Desired spectral performance for two channel filter. Note that the wavelength is defined in reference to the central wavelength, 1.55 m.
For this design, we will define the two channel spectrum for detuning using a data file <rsoft_dir>EXAMPLES\GratingMOD\two_chnl.dat. You can either use this data file, or create your own with the data given in Fig. 1 . Detuning -0.04 -0.011 -0.01 -0.005 -0.004 0.004 0.005 0.01 0.011 0.04 Amplitude 0 0 1 1 0 0 1 1 0 0 Phase 0 0 0 0 0 0 0 0 0 0
Figure 3: a) Results of Two Channel Filter simulation, and b) the same results shown on a log plot.
Filter Specifications
The desired reflection spectrum will have a simple Gaussian shape centered at 1m with a quadratic phase given by the formula:
r ( ) = R exp PB
2 LF c 2 exp i 2 n
where the maximum reflectivity is given by R=0.95 and the Gaussian width defined as PB=12.3 cm-1. The dispersion characteristics are described by the dispersion parameter 2 = -21.7 ps2/km (which corresponds to D=17 ps/nm-km) and a characteristic length LF=30km. The dispersion parameter 2 is the second derivative of the propagation constant with respect to frequency, and the value of LF is chosen such that the grating can compensate for the dispersion over a length of 30 km of nondispersion-shifted standard fiber.
Next, open the delay and dispersion results contained in the file constdisp_delay_dispersion.pcs. Note that we did obtain a constant dispersion (linear delay) within the pass band.
Figure 4: Delay/Dispersion results from the constant dispersion compenstaion grating synthesis. a) full data, and b) zoomed result.
By zooming in on the dispersions graph, Fig. 4 shows that the dispersion information that was synthesized. This data was close to what was expected as is shown by the blue, target dispersion line. Finally, we find the apodization and chirp for this grating structure in constdisp_profile.pcs.
Figure 5: Apodization and Chirp results from the constant dispersion compenstaion grating synthesis
Figure 1: Spectrum calculated in Tutorial A5 which will be verified using the synthesis module.
The length of the grating must be specified. Set the Grating Length to 6000 on the Target Spectrum tab. Even though this is longer than the length of the original grating (1024), it is better to put a longer value here to allow the software to better converge.
Output Options
Click the Output button to set the desired output graphs. For this example, not only is the grating profile required, but also the apodization and chirp so comparisons can be made with Tutorial A5. Click OK to return to the GratingMOD synthesis simulation window.
To view the synthesized profile, click the View Graphics icon and choose the file grating3_inv_profile.pcs.
The grating profile and apodization, shown in Fig. 5, shows a rough cosine apodization and 0.001 linear chirp.
Comparing Results
We will now compare the results from the synthesis simulation, contained in the file grating3_inv_profile.pcs, and the exact data. The exact data was computed in the analysis section, and is contained in the file grating3_profile.pcs.
Figure 6: a) Synthesized data which has been cut to match the length of the original grating, and b) Exact data
This appendix contains some advice on good habits and sources of confusion for novice and experienced GratingMOD users alike.
This appendix lists all of the functions that used as the apodization and filter options in GratingMOD. An accompanying graph for each function displays the result of each function.
Cosine
1 f ( z) = cos( z ' ) 2 z < L 2 where z ' = z 1 2 L 2
z L L L 2 and z 1 2 2 2 2
Raised-Cosine
1 f ( z) = cos 2 ( z ' ) 2 z < L 2 where z ' = z 1 2 L 2
z L L L 2 and z 1 2 2 2 2
Tanh
f ( z) = tanh[ (1 2 z / L )] L L where z tanh( ) 2 2
Blackman
f ( z) = 1 + (1 + ) cos(2 z z ) + cos(4 ) L L where L z L 2(1 + ) 2 2
Note that this function is between 0 and 1 when parameter is between 1/5 and 1/3.
The following is the list of symbols which are defined in the symbol table by GratingMOD. They correspond to the options which are set via the GUI. They are provided for two reasons: When creating user-defined variables, you should avoid using these variable names as you can inadvertently change aspects of the simulation. Advanced users who wish to control aspects of GratingMOD via the symbol table can edit these symbols directly. This is identical to using the GUI.
Analysis Variables
These variables are used exclusively by the analysis portion of GratingMOD.
grating_fixlambda grating_order grating_dispersion_enable grating_mode_numfwd grating_mode_numback grating_mode_autocalc
0=fix period, 1=fix lambda the order of the grating Account for dispersion # forward modes # backward modes 0=user-input pre-calculated mode 1=automatic mode calculation use analytic solution when possible show mode calculation generate mode data file the input mode discretizing grating section: 0=set number, 1=use tolerance number of steps of a grating section tolerance for discretizing grating section
grating_sect_numsteps grating_sect_steptol
export spectrum in LinkSIM data format export spectrum in OptSIM data format scan which quantity where to calculate bandwidth from inside where to calculate bandwidth from outside
Synthesis Variables
These variables are used exclusively by the synthesis portion of GratingMOD. values are the FILTER_ #def's 1 = conjugate the phase (causality) default indicates: not in table" expected grating length desired center wavelength spatial resolution of synthesized grating derive phase from amplitude phase shift (causality) spectrum file spectrum amplitude expression spectrum phase expression 1 = plot only (Show Impulse/Spec button) 1 = plot input spectrum independent variable in spec expr starting value of variable ending value number of points file or expression second col. of spec. file is phase
grating_inv_filter grating_inv_conjphase grating_inv_gridsize grating_inv_length grating_inv_centerwl grating_inv_step grating_inv_derivephase grating_inv_phase grating_inv_file grating_inv_expr_amp grating_inv_expr_phase grating_inv_showspec grating_inv_showinspec grating_inv_var grating_inv_expr_min grating_inv_expr_max grating_inv_expr_pts grating_inv_source grating_inv_type
Common Variables
These variables are shared by both the analysis and synthesis portions of GratingMOD. 1 = plot apodization & chirp
grating_plot_apod
grating_plot_delay grating_plot_phase grating_plot_spectrum grating_plot_spacing grating_plot_range grating_plot_kappa grating_plot_input grating_plot_target grating_plot_axis grating_sim_type
1 = plot delay & dispersion 1 = plot phase Values are the SPECTRUM_ #def's Spacing between wavelength points # Or #, # Values are the OUTPUT_ #def's 1 = plot input spectrum 1 = plot target spectrum Values are the AXIS_ #def's 0 = Analysis, 1 = Synthesis
This appendix contains the file formats used by GratingMOD for a synthesis simulation.
References
[1] K. Raman, Fiber Bragg Gratings, (Academic Press, San Diego, 1999). [2] T. Theodor (Editor), Guided-Wave Optoelectronics, Second Edition, (Springer Series in Electronics and Photonics, 1990). [3] J. Skaar, L. Wang, and Turan Erdogan, On the Synthesis of Fiber Bragg Grating by Layer Peeling, IEEE Journal of Quantum Electronics 38, 165 (2001). [4] L. Poladian, Simple grating synthesis algorithm, Optics Letters 25, 787 (2000). [5] R. Feced, M. N. Zervas, and M. A. Muriel, An efficient inverse scattering algorithm for the design of non-uniform fiber Bragg grating, Journal of Quantum Electronics 35, 1105 (1999). [6] T. Erdogan, Fiber grating spectra, Lightwave Technol. 15, 1277 (1997). [7] A. Oppenheim, R. Schafer, Discrete-Time Signal Processing, chapter 7, (Prentice Hall Signal Processing Series, 1989). [8] N. Izhaky and A. Hardy, Analysis of grating-assisted backward coupling employing the unified coupled-mode formalism, J. Opt. Soc. Am., 16, 1303 (1999). [9] Yoshihisa Yamamoto, Takeshi Kamiya and Hisayoshi Yanai, Improved Coupled Mode Analysis of Corrugated Wavegudies and Lasers, Journal of Quantum Electronics 14, 245 (1978).
References 109
Index
3
3D 31
dB 28 Delete 27 Delta 21, 53 Derive Phase 39 Direction 27 Display and Save 27 Display Color 66, 72 Display Index Profile 51 Display Material Index Profile 74 Display Material Profile 16, 20, 97 Display Mode 20, 51, 67, 74 Display 54, 75 Domain Max 54, 67 Duplicate Section 65 Duty Cycle 19
A
Account for (waveguide/material) Dispersion 26 Add 27 Advanced 24 All Modes 75 Apodization Coefficient 19 Apodization Type 19, 61 Axis Type 43, 90
E
Edit Symbols 46, 71, 89 Ending Value of x 38, 89 Expression 38
F
F(x) for Amplitude 38 Fiber Coupler 22 Fix Center 17 Fix Center Wavelength 23, 24, 50, 55, 68 Fix Period 24, 50, 75 Free Space Wavelength 14, 71
B
Background Index 14, 54, 67, 71 Bias 19 boldface Courier 3 Both 61, 76 Bragg Condition 50, 75 Browse 34, 37, 88, 93
G
G(x) for Phase, Delay, or Disp. 38 Grating 16, 65 Grating Analysis 22, 54 Grating Length 40, 67, 90, 94 Grating Order 24 Grating Synthesis 32, 35 Grating Type 21 GratingMOD 14, 71 Grid Size 16, 54, 67, 74, 75
C
Cancel 23, 36, 46, 47 Center Wavelength (Detuning) 88, 89 Chirp Coefficient 19 Chirp Type 19 Cladding Index 21 Cladding Mode 25, 80 Cladding Mode Number 25 Component Height 14 Component Width 14, 72, 73 Compute Material Profile 54, 67, 74 Compute Modes 75 Conjugate Phase 39 Contour Map (XY) 20 Contour Map (XZ) 74 ContourMap(XZ) 51 ContourMap(YZ) 67
H
Height 21, 53, 67 Help 23, 36
I
Index Difference 14, 67, 72, 73
Index 111
Index Max 54, 75 Index Min 75 Index Taper 15, 72 Input Spectrum 88, 89, 93 Inside of Band Defined by Level (0-1 or dB) 28
L
Layout File Meta Prefix 22 Layout Options 21 Layout Type 53 Left Side Lobe - Peak Amplitude 28 Light Blue 66, 73 Light Gray 72
Peak Position 28 Perform Simulation 17, 32, 48, 52, 54, 61, 63, 66, 68, 75, 79, 93 period 16, 19, 24, 47, 65, 72, 75 Phase 19, 65 Phase Info, Type 36 Phase Info. Type 84 Phase Info. Type 37, 89, 93 Plot FWHM 28 Post Processing 27 Profile Type 19, 20, 72
R
Rectangular 72 Reflected 55, 63 Rib/Ridge 67 Right Side Lobe - Peak Amplitude 28 Run Simulation 10, 84, 88, 89
M
Mode Options 75 Mode Output 26, 69 Mode Selection 25, 97 Mode Selection Parameters 18, 26, 27 Model Dimension 31 Modulation Depth 21, 45, 51, 53, 67 Modulation Type 45, 51, 53, 67 More 72, 73
S
Save Only 27 Save Settings 23, 36 Select Highlighted 27, 76 Select Launch 27 Select Mode 65 Separation 22 Set # Steps 25 Set Tolerance 25 Shift 40 Show Apodization/Chirp 29, 63 Show Bragg Condition 25 Show Bragg's Condition 81 Show Core-Clad Coupling 80 Show Delay/Dispersion 29, 55 Show Input Spectrum 43 Show Input Specturm 90 Show Mode Calculation 26 Show Target Spectrum 40, 43, 85 Show the Core-Clad Coupling 25 Simulation Module 22, 32, 54, 88, 89, 93 Simulation Modules 35 Simulation Step Size 41 Simulation Tool 14, 31, 71, 88, 89, 93 Simulation Type 42, 84 Slice Grid 16, 54, 67, 74 Source Type 16, 65 Spectrum Input File 34, 84, 88, 97 Spectrum Source 37, 38, 84, 88, 89, 93 Starting Value of x 38, 89 Stop Band 28 Structure Type 67 Super Mode 76 Surface Relief (height) 67 Symbols 23, 36
N
Neff Selection 25 New Circuit 14, 31, 71, 84, 88, 89, 93 New Taper 15, 65, 72 No 29 None 26 Number of x Points 38, 89
O
OK 10, 14, 16, 18, 20, 22, 23, 29, 34, 35, 36, 42, 45, 49, 51, 52, 53, 54, 55, 61, 62, 63, 64, 65, 66, 67, 69, 71, 72, 73, 74, 75, 77, 79, 84, 85, 88, 89, 91, 93, 94, 95 Output Apodization/Chirp 43 Output Delay Dispersion 90 Output Delay/Dispersion 42 Output Kappa 43, 90 Output Normalized Coupling Coefficients 41 Output Phase 29, 42 Output prefix 22, 29, 30, 35, 36, 42, 43, 44, 45, 49, 51, 53, 55, 56, 62, 64, 66, 67, 69, 75, 85, 88, 91, 95 Output Spectrum 29, 42, 55, 61, 63, 76 Output 18, 23, 29, 35, 36, 42, 55, 61, 63, 76, 90, 94 Outside of Band Defined by Level (0-1 or dB) 28
P
Peak Amplitude 28
112 Index
T
Tapers 16, 47, 61 Target Spectrum 84 Tilt Angle 25 Type 40
U
Unperturbed Structure 25 Unwrap Phase of Output Coupling Coefficients 41 Use Analytic Solution (when possible) 26 Use Auto Mode Calculation 18, 26 Use Precalculated Modes 27, 76 User 1 72 User Tapers 65 Utility/GratingMOD Grating Layout 20
V
View Full 66 View Graphics 95 View Graphs 64, 75
W
Wavelength 17, 23, 24, 55, 68 Wavelength Range 75 Wavelength Range (# or #,#) 24 Wavelength Spacing 24 Width 21, 53, 67
X
X 36, 37 X is 84, 88, 89, 93
Y
Yes 55
Z
Z Domain Max 74, 75
Index 113