Bragg Grating
Bragg Grating #
![]()
The Bragg Grating (WBG) models a waveguide Bragg grating: periodic refractive-index modulation strongly reflects selected wavelengths and transmits the rest, forming a wavelength-selective device. The reflection-peak location is set by the grating period (Bragg wavelength); reflectivity and bandwidth are set jointly by coupling strength and grating length. Tapering the coupling strength along the length can suppress side lobes in the reflection spectrum; period chirp can broaden or tilt the reflection spectrum.
Ports #
Two bidirectional optical signal ports with the grating between them. The table shows the default configuration.
| Name | Type | Data |
|---|---|---|
| port 1 | Optical Signal | Bidirectional |
| port 2 | Optical Signal | Bidirectional |
Changing configuration may alter port names or directions.
Properties #
General #
Used to identify and manage the element itself, including name, annotation, enabled state, and display. This property group affects schematic presentation only and does not change device behavior.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| name | Element name | WBG_1 | - | - |
| annotate | Whether to show annotation | true | - | [true, false] |
| enabled | Whether to enable this element | true | - | [true, false] |
| type | Unique type identifier of the element | Bragg Grating | - | - |
| description | Brief description of the element | Waveguide Bragg grating | - | - |
| prefix | Prefix for the element name | WBG | - | - |
| local path | Local path or working folder of the element | - | - | - |
Standard #
Defines grating geometry and coupling strength—the primary settings that determine reflection wavelength, reflectivity, and reflection bandwidth.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| configuration | Port configuration | bidirectional | - | [bidirectional, unidirectional] |
| length | Length | 0.005 | m | [0, +∞) |
| input parameter | How grating period or Bragg frequency is specified | Bragg frequency | - | [grating period, Bragg frequency] |
| period | Period | 5.3e-7 | m | [0, +∞) |
| frequency | Bragg wavelength (property name remains frequency; unit is nm) | 1550 | nm | (0, +∞) |
| coupling parameter | Coupling parameter | effective index change | - | [effective index change, coupling coefficient] |
| effective index change ac | AC change in effective index | 0.0004 | - | [0, +∞) |
| effective index change dc | DC change in effective index | 0 | - | [0, +∞) |
| grating coupling coefficient | Grating coupling coefficient | 800 | 1/m | (-∞, +∞) |
| phase shift | Phase shift | 0 | rad | (-∞, +∞) |
Waveguide / Apodization #
Varies coupling strength along the grating length to shape the reflection spectrum and suppress side lobes.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| apodization function | Function type that varies coupling strength along the grating | uniform | - | [uniform, user defined, Gaussian, raised cosine, hyperbolic tangent, sinc] |
| apodization parameter | Parameter of the coupling-strength distribution function | 0.5 | - | (-∞, +∞) |
| apodization table | Data table of normalized length vs. coupling-strength distribution | 2×2; columns: normalized length, apodization parameter; first row [0, 1] | - | - |
| load apodization from file | Whether to load the coupling-strength distribution from a file | false | - | [true, false] |
| apodization filename | Data filename for the coupling-strength distribution | apodization.dat | - | - |
Waveguide / Chirp #
Varies the period along the grating length to broaden the reflection band and obtain the desired dispersion.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| chirp function | Function type for period variation along length | none | - | [none, user defined, linear chirp parameter, linear chirp coefficient] |
| chirp parameter | Parameter for period variation along length | 0 | - | (-∞, +∞) |
| chirp coefficient | Coefficient for period variation along length | 0 | - | (-∞, +∞) |
| chirp table | Data table of normalized length vs. period variation | 2×2; columns: normalized length, chirp coefficient; first row [0, 0] | - | - |
| load chirp from file | Whether to load period variation from a file | false | - | [true, false] |
| chirp filename | Data filename for period variation | chirp.dat | - | - |
Waveguide / Mode 1 #
Sets transmission parameters of mode 1 (typically TE) in the grating and facet reflection conditions at both ends.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| orthogonal identifier 1 | Orthogonal identifier for mode 1 | 1 | - | [1, +∞) |
| label 1 | Label for mode 1 | TE | - | - |
| loss 1 | Loss for mode 1 | 0 | dB/m | [0, +∞) |
| effective index 1 | Effective index for mode 1 | 1.447 | - | (-∞, +∞) |
| group index 1 | Group index for mode 1 | 1.447 | - | [0, +∞) |
| facet reflectivity left 1 | Reflectivity of mode 1 at the left facet | 0 | - | [0, 1] |
| facet phase left 1 | Phase of mode 1 at the left facet | 0 | rad | (-∞, +∞) |
| facet reflectivity right 1 | Reflectivity of mode 1 at the right facet | 0 | - | [0, 1] |
| facet phase right 1 | Phase of mode 1 at the right facet | 0 | rad | (-∞, +∞) |
Waveguide / Mode 1 / Thermal #
Sets temperature coefficients for mode 1, which determine Bragg-wavelength drift with temperature.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| effective index temperature sensitivity 1 | Temperature sensitivity of effective index for mode 1 | 0 | /K | (-∞, +∞) |
| excess loss temperature sensitivity 1 | Temperature sensitivity of excess loss for mode 1 | 0 | /K | [0, +∞) |
Waveguide / Mode 2 #
Sets transmission parameters of mode 2 (typically TM) in the grating to describe polarization-dependent reflection.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| orthogonal identifier 2 | Orthogonal identifier for mode 2 | 2 | - | [1, +∞) |
| label 2 | Label for mode 2 | TM | - | - |
| loss 2 | Loss for mode 2 | 0 | dB/m | [0, +∞) |
| effective index 2 | Effective index for mode 2 | 1.447 | - | (-∞, +∞) |
| group index 2 | Group index for mode 2 | 1.447 | - | [0, +∞) |
| facet reflectivity left 2 | Reflectivity of mode 2 at the left facet | 0 | - | [0, 1] |
| facet phase left 2 | Phase of mode 2 at the left facet | 0 | rad | (-∞, +∞) |
| facet reflectivity right 2 | Reflectivity of mode 2 at the right facet | 0 | - | [0, 1] |
| facet phase right 2 | Phase of mode 2 at the right facet | 0 | rad | (-∞, +∞) |
Waveguide / Mode 2 / Thermal #
Sets temperature coefficients for mode 2; the role is the same as for mode 1.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| effective index temperature sensitivity 2 | Temperature sensitivity of effective index for mode 2 | 0 | /K | (-∞, +∞) |
| excess loss temperature sensitivity 2 | Temperature sensitivity of excess loss for mode 2 | 0 | /K | [0, +∞) |
Thermal #
Controls whether thermal effects are enabled for the grating, and sets operating temperature and the heated-length fraction.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| thermal effects | Whether to enable thermal effects | false | - | [true, false] |
| temperature | Temperature | %temperature% |
K | (-∞, +∞) |
| nominal temperature | Nominal temperature | 300 | K | (-∞, +∞) |
| thermal fill factor | Fraction of waveguide length affected by thermal effects | 1 | - | [0, 1] |
Numerical #
Sets the number of calculation segments along the device length, which determines spectral calculation accuracy.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| number of steps | Number of steps | 50 | - | [1, +∞) |
Numerical / Digital Filter #
Fits the device frequency-domain response to a digital filter required for time-domain simulation.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| digital filter | Whether to enable the digital filter | false | - | [true, false] |
| single tap filter | Whether to use a single-tap filter | false | - | [true, false] |
| number of taps estimation | Tap-count estimation method | fit tolerance | - | [disabled, fit tolerance, group delay] |
| filter fit tolerance | Filter fit tolerance | 0.001 | - | (0, 1) |
| window function | Window function | rectangular | - | [rectangular, hamming, hanning] |
| number of fir taps | Number of FIR taps | 256 | - | [1, +∞), power of 2 |
| maximum number of fir taps | Upper limit on FIR taps | 4096 | - | [1, +∞), power of 2 |
| filter delay | Filter delay | 0 | s | [0, +∞) |
| initialize filter taps | Whether to initialize filter taps | false | - | [true, false] |
| delay compensation | Delay compensation amount | 0 | - | [0, +∞) |
Diagnostic #
Used to check the deviation between the ideal response and the digital-filter fit, confirming frequency-domain accuracy of time-domain simulation. Keep disabled for routine simulations.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| run diagnostic | Whether to run diagnostics | false | - | [true, false] |
| diagnostic size | Number of diagnostic data points or buffer size | 1024 | - | [2, +∞) |
Results #
When run diagnostic is enabled, time-domain sampled simulation produces the following results:
![]()
diagnostic/response
| Name | Description |
|---|---|
| transmission | Complex transmittance versus frequency for the ideal and fitted responses. |
| gain | Gain (dB) versus frequency for the ideal and fitted responses. |
| error | Relative mean-square error between ideal and fitted amplitudes. |
In addition, diagnostic/apodization is written: the apodization envelope along the grating length, with horizontal axes normalized length and length, used to confirm that the coupling-strength distribution matches the design.
The response index corresponds to a pair of input port, output port, and mode.

