<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OPJ</journal-id><journal-title-group><journal-title>Optics and Photonics Journal</journal-title></journal-title-group><issn pub-type="epub">2160-8881</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/opj.2016.68022</article-id><article-id pub-id-type="publisher-id">OPJ-69989</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Chemistry&amp;Materials Science</subject><subject> Engineering</subject><subject> Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Simulations of a Novel All-Optical Flip-Flop Based on a Nonlinear DFB Laser Cavity Using GPGPU Computing
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Hossam</surname><given-names>Zoweil</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>Advanced Technology and New Materials Research Institute, City of Scientific Research and Technology Applications, New Borg EL-Arab City, Egypt</addr-line></aff><author-notes><corresp id="cor1">* E-mail:</corresp></author-notes><pub-date pub-type="epub"><day>22</day><month>08</month><year>2016</year></pub-date><volume>06</volume><issue>08</issue><fpage>203</fpage><lpage>215</lpage><history><date date-type="received"><day>15</day>	<month>July</month>	<year>2016</year></date><date date-type="rev-recd"><day>accepted</day>	<month>21</month>	<year>August</year>	</date><date date-type="accepted"><day>24</day>	<month>August</month>	<year>2016</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  A new all-optical flip-flop based on a nonlinear Distributed feedback (DFB) structure is proposed. The device does not require a holding beam. A nonlinear part of the grating is detuned from the remaining part of the grating and has negative nonlinear coefficient. Optical gain is provided by an injected electrical current into an active layer. In the OFF state, due to the detuned section, no laser light is generated in the device. An injected optical pulse reduces the detuning of the nonlinear section, and the optical feedback provided by the DFB structure generates a laser light in the structure that sustains the change in the detuned section. The device is switched “OFF” by detuning another section of the grating by a Reset pulse. The Reset pulse reduces the refractive index of that section by the generation of electron-hole pairs. The Reset pulse wavelength is adjusted such that the optical gain provided by the active layer at that wavelength is zero. The Reset pulse is prevented from reaching the nonlinear detuned section by introducing an optical absorber in the laser cavity to attenuate the pulse. The device is simulated in time domain using General Purpose Graphics Processing Unit (GPGPU) computing. Set-Reset operations are in nanosecond time scale.
 
</p></abstract><kwd-group><kwd>All-Optical Flip-Flop</kwd><kwd> Bistability</kwd><kwd> DFB Laser</kwd><kwd> Urbach Tail</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>All-optical flip-flop is required for all optical routing and processing of optical data packets [<xref ref-type="bibr" rid="scirp.69989-ref1">1</xref>] . All-optical routing and processing of optical data packets eliminates the need to convert the data signal from optical domain to electronics domain and vice versa, which reduces complexities and increases processing speed. All-optical flip-flop based on coupled laser diodes is investigated in [<xref ref-type="bibr" rid="scirp.69989-ref2">2</xref>] . All-optical flip-flop based on micro ring lasers is shown in [<xref ref-type="bibr" rid="scirp.69989-ref3">3</xref>] . Low power all-optical flip-flop based on a micro disk laser diode is fabricated and tested in [<xref ref-type="bibr" rid="scirp.69989-ref4">4</xref>] . An all optical flip-flop based on a single distributed feedback semiconductor laser is implemented in [<xref ref-type="bibr" rid="scirp.69989-ref5">5</xref>] , and it requires also a holding beam. A device based on vertical cavity semiconductor optical amplifier that requires a holding beam is shown in [<xref ref-type="bibr" rid="scirp.69989-ref6">6</xref>] . Another device based on active multi-mode interference laser diode is described in [<xref ref-type="bibr" rid="scirp.69989-ref7">7</xref>] . All optical flip-flop based on bistable laser diodes is discussed in [<xref ref-type="bibr" rid="scirp.69989-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.69989-ref9">9</xref>] .</p><p>In [<xref ref-type="bibr" rid="scirp.69989-ref10">10</xref>] , an all-optical flip-flop based on a chirped DFB laser structure was investigated. The device has bi-stable output optical mode power, and it does not require a holding beam. The chirp, in [<xref ref-type="bibr" rid="scirp.69989-ref10">10</xref>] , is accompanied with a gradually increasing negative nonlinear coefficient. The chirp prevents lasing at the “OFF” state (low light intensity in the structure). At high light intensity in the structure, the nonlinearity reduces the chirp along the structure, and the optical feedback from the grating allows for a laser mode to build up. The device is switched “OFF” by an optical pulse at a wavelength longer than the wavelength of the emitted laser light. This is achieved by reducing the optical gain of the emitted laser mode wavelength by cross gain modulation (XGM).</p><p>In [<xref ref-type="bibr" rid="scirp.69989-ref11">11</xref>] , an all-optical ip-op based on a 3-section DFB laser structure is introduced. Two sections of the DFB structure are detuned from the middle part of the DFB structure. The 2 detuned sections have optical negative nonlinearity. The device is switched “ON” by an optical pulse that reduced the detuning of both sections. When the detuning is reduced, the DFB structure provides the optical feedback required to start a laser mode. The device is switched “OFF” by XGM by an optical pulse of a lower frequency than the operating frequency. In [<xref ref-type="bibr" rid="scirp.69989-ref12">12</xref>] , an all-optical ip op is investigated where only one section of the DFB laser structure is detuned. However, the ip-op is switched “OFF” by an optical pulse at a frequency higher than the operating frequency by XGM.</p><p>In this work, an improved nonlinear DFB structure is introduced. The device schematic is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>. The wave-guiding layer consists of 3 Sections. Section “3” is a detuned nonlinear section of the DFB grating. The nonlinear detuned section prevents a laser mode from building up at a low light intensity in the structure. At high light intensity in the structure, at wavelength <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x6.png" xlink:type="simple"/></inline-formula> that corresponds to a photon energy just below the band-gap energy in Section “3”, the detuning is decreased due to negative nonlinear coefficient. In this case, the optical feedback in the structure increases and allows for an optical laser mode to build up. The laser mode intensity maintains the reduction of the detuning of Section “3”, and the laser mode is stable. The device structure is easier to implement than the structure in [<xref ref-type="bibr" rid="scirp.69989-ref10">10</xref>] , because it uses a section with a constant detuning instead of a detuning that is due to a gradual change in the refractive index. The device is switched “OFF” by an optical pulse at wavelength<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x7.png" xlink:type="simple"/></inline-formula>. The optical pulse at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x8.png" xlink:type="simple"/></inline-formula> detunes section 1 by decreasing its average refractive index, and the optical feedback along the grating is reduced. The laser mode decays, and the device is switched “OFF”. The device presented in this work has advantages over the device in [<xref ref-type="bibr" rid="scirp.69989-ref11">11</xref>] . In [<xref ref-type="bibr" rid="scirp.69989-ref11">11</xref>] , 2 nonlinear sections are needed to achieve bistability, where in this work only one nonlinear section is required. Also, in [<xref ref-type="bibr" rid="scirp.69989-ref12">12</xref>] , the device is switched “OFF” by XGM, but in this work, the device is switched “OFF” by detuning a section of the DFB structure, and the optical gain is not altered. In this case, the switch “OFF” dynamics is controlled</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> Device schematic, the laser mode overlaps with the grating and the active layer</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1190518x9.png"/></fig><p>the negative optical nonlinearity process in the wave-guiding layer. The negative optical nonlinearity is achieved by direct absorption of a part of the incident light at a photon energy slightly less than the band gap energy of the semiconductor. Hence, by altering the semiconductor properties the switch “OFF” process could be controlled. In the next section, the device design and “ON/OFF” switching dynamics were described.</p></sec><sec id="s2"><title>2. Device Description and Switching Dynamics</title><p><xref ref-type="fig" rid="fig1">Figure 1</xref> shows the schematic of the device including input signals and output laser mode. The optical gain in the device is provided by electrical current injection in the active layer <xref ref-type="fig" rid="fig1">Figure 1</xref>. The wave-guiding layer of the device consists of a phase shifted nonlinear grating of period<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x10.png" xlink:type="simple"/></inline-formula>. where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x11.png" xlink:type="simple"/></inline-formula> is the average refractive index along the grating, and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x12.png" xlink:type="simple"/></inline-formula> is the wavelength at the center of the reflection band of the grating. The device is switched “ON” by a “SET” pulse, and it is switched “OFF”, by a “RESET” pulse at a different wavelength. The grating and the negative nonlinear refractive index distribution at the laser mode wavelength <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x13.png" xlink:type="simple"/></inline-formula> (<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x14.png" xlink:type="simple"/></inline-formula>) is shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>. The negative nonlinear coefficient in section “3” of the nonlinear wave-guiding layer is provided by direct photon absorption at the Urbach tail, <xref ref-type="fig" rid="fig3">Figure 3</xref>. The absorption coefficient at Urabch tail is expressed as<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x15.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x16.png" xlink:type="simple"/></inline-formula>is the band gap energy (all energies are expressed in electron. volt) <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x17.png" xlink:type="simple"/></inline-formula>is the direct optical loss, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x18.png" xlink:type="simple"/></inline-formula>is the band-gap optical loss at<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x19.png" xlink:type="simple"/></inline-formula>, and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x20.png" xlink:type="simple"/></inline-formula> is chosen to be 0.01 e.V., [<xref ref-type="bibr" rid="scirp.69989-ref13">13</xref>] [<xref ref-type="bibr" rid="scirp.69989-ref14">14</xref>] . The absorbed photons produce electron-hole pairs in the nonlinear wave- guiding section “3”. The electron-hole pairs generated reduce the refractive index at photon energy just below the band-gap energy.</p><p>At low light intensity in the structure, the optical feedback is not enough to produce a lasing mode due to a detuned part (section “3”) of the grating. When an optical pulse of a wavelength <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x21.png" xlink:type="simple"/></inline-formula> is sent through the structure, part of the pulse energy is absorbed in section “3”, and it produces electron-hole pairs that reduce the refractive index. When the detuning of the nonlinear section is reduced, the reflection band of this section overlaps with the reflection band of the other part of the grating and more photons are reflected from section “3” to the rest of the grating. This increases the optical feedback in the structure which allows for a laser mode to build up. More photons are reflected back to sections “2” and “1” of the grating which increases optical feedback and reduces the number of photons leaving the cavity from the terminal end of the grating.</p><p>To switch the laser “OFF”, section “1” of the grating as in <xref ref-type="fig" rid="fig1">Figure 1</xref> is detuned from the grating center reflection band wavelength <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x22.png" xlink:type="simple"/></inline-formula> by generating electron-hole pairs to reduce refractive index of that section. Whence</p><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> Linear and nonlinear refractive index distribution at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x24.png" xlink:type="simple"/></inline-formula> <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x25.png" xlink:type="simple"/></inline-formula></title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1190518x23.png"/></fig><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> Direct absorption loss in Section 3 (Urbach tail) and optical gain spectrum</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1190518x26.png"/></fig><p>the section “1” is detuned, the distributed optical feedback cannot provide enough optical feedback to sustain the laser mode. The laser mode decays and the electron-hole pairs density in section “3” decreases with time. The detuning of section “3” is restored to its value in the “OFF” state. The device will remain in the “OFF” state till another optical pulse at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x27.png" xlink:type="simple"/></inline-formula> triggers the device “ON” again. The reduction of refractive index in section “1” is done by injecting an optical pulse of wavelength <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x28.png" xlink:type="simple"/></inline-formula> where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x28.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x29.png" xlink:type="simple"/></inline-formula> is just below the band gap energy in this section. In the same time, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x28.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x30.png" xlink:type="simple"/></inline-formula>is chosen such that the gain of the active layer<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x28.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x31.png" xlink:type="simple"/></inline-formula>, <xref ref-type="fig" rid="fig3">Figure 3</xref>, [<xref ref-type="bibr" rid="scirp.69989-ref15">15</xref>] . <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x28.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x32.png" xlink:type="simple"/></inline-formula>is greater than<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x28.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x33.png" xlink:type="simple"/></inline-formula>, so it can reduce the refractive index in section “3” by generating more electron-hole pairs. To avoid this, the semiconductor band gap energy in section “2” is adjusted to provide a large absorption loss at<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x28.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x34.png" xlink:type="simple"/></inline-formula>, so that the photons of energy <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x28.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x35.png" xlink:type="simple"/></inline-formula> are absorbed in section “2” before reaching section “3”. The absorption coefficients and corresponding band gaps along the nonlinear grating are shown in <xref ref-type="fig" rid="fig4">Figure 4</xref> and <xref ref-type="fig" rid="fig5">Figure 5</xref>. The device could be built using InGaAsP alloy on InP substrate. The band gap energies in each section could be adjusted by altering the percentage of each element of the InGaAsP semiconductor [<xref ref-type="bibr" rid="scirp.69989-ref16">16</xref>] . Also, the device could be built from 3 DFB laser devices, where each device has its wave-guiding layer altered as described in <xref ref-type="fig" rid="fig4">Figure 4</xref> and <xref ref-type="fig" rid="fig5">Figure 5</xref>. In the following simulations, wavelengths are set as follow: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x28.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x36.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x28.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x37.png" xlink:type="simple"/></inline-formula>. In the next section a mathematical model of the device is introduced. Equations describing optical fields and electron-hole densities in the active layer and nonlinear wave-guiding layers are presented. Also, simulations parameters are tabulated.</p></sec><sec id="s3"><title>3. Mathematical Model and Simulation Parameters</title><p>Coupled mode equations describe the optical fields in the structure [<xref ref-type="bibr" rid="scirp.69989-ref17">17</xref>] . Rate equations describe the electron-hole pairs density in both the active layer and the nonlinear wave-guiding layer. The “RESET” pulse is modeled by an analytic model where the power of the device decays due to an attenuation coefficient that depends on the section through which the pulse is propagating.</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x38.png" xlink:type="simple"/></inline-formula>.</p><p>The total electric field of the laser mode propagating in the device is described by a sum of a forward and backward propagating field;</p><fig id="fig4"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Semiconductor band-gap along the wave-guiding layer, and Set and Reset pulses photon energies</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1190518x39.png"/></fig><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> Direct absorption loss <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x41.png" xlink:type="simple"/></inline-formula> at (a)<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x42.png" xlink:type="simple"/></inline-formula>, and (b) <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x43.png" xlink:type="simple"/></inline-formula>along the wave-guiding structure</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1190518x40.png"/></fig><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x44.png" xlink:type="simple"/></inline-formula>.</p><p>The laser mode is modeled at<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x45.png" xlink:type="simple"/></inline-formula>. The “RESET” pulse was assumed a wavelength <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x46.png" xlink:type="simple"/></inline-formula></p><disp-formula id="scirp.69989-formula397"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1190518x47.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.69989-formula398"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1190518x48.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.69989-formula399"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1190518x49.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.69989-formula400"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1190518x50.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.69989-formula401"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1190518x51.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.69989-formula402"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1190518x52.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.69989-formula403"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1190518x53.png"  xlink:type="simple"/></disp-formula><p>Equations (1) and (2) describe the two coupled mode equations of the two counter propagating fields. The phase shift <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x54.png" xlink:type="simple"/></inline-formula> is zero for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x55.png" xlink:type="simple"/></inline-formula> and f = p for<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x56.png" xlink:type="simple"/></inline-formula>. c is the light speed in vacuum, and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x57.png" xlink:type="simple"/></inline-formula> is the average refractive index in the laser cavity.<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x58.png" xlink:type="simple"/></inline-formula>, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x59.png" xlink:type="simple"/></inline-formula> is the grating period.<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x59.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x60.png" xlink:type="simple"/></inline-formula>. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x59.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x60.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x61.png" xlink:type="simple"/></inline-formula>presents the detuning and the direct optical loss along the grating. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x59.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x60.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x62.png" xlink:type="simple"/></inline-formula>is the change in the refractive index due to the injected electron-hole pairs density by direct absorption at photon energy slightly less than the band gap energy of the semiconductor (<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x59.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x60.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x62.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x63.png" xlink:type="simple"/></inline-formula>electron-Volt) [<xref ref-type="bibr" rid="scirp.69989-ref18">18</xref>] [<xref ref-type="bibr" rid="scirp.69989-ref19">19</xref>] .</p><p>The ratio between the induced loss due to electron-hole pairs generated and the change in the refractive index is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x64.png" xlink:type="simple"/></inline-formula>. In this device model, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x65.png" xlink:type="simple"/></inline-formula>for<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x66.png" xlink:type="simple"/></inline-formula>, and 0 otherwise. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x67.png" xlink:type="simple"/></inline-formula>presents the coupling between the forward mode and the backward mode, and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x68.png" xlink:type="simple"/></inline-formula>. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x69.png" xlink:type="simple"/></inline-formula>is the intrinsic cavity loss. Equation (5) presents the rate equations electron-hole pairs density in the nonlinear wave-guiding layer. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x70.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x71.png" xlink:type="simple"/></inline-formula> present the direct absorption loss in the nonlinear wave-guiding layer of the laser mode and the reset pulse respectively. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x72.png" xlink:type="simple"/></inline-formula>for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x73.png" xlink:type="simple"/></inline-formula> and 0 otherwise. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x74.png" xlink:type="simple"/></inline-formula>for<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x75.png" xlink:type="simple"/></inline-formula>. For<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x76.png" xlink:type="simple"/></inline-formula>,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x77.png" xlink:type="simple"/></inline-formula>. For<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x78.png" xlink:type="simple"/></inline-formula>, we assumed that the pulse signal at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x79.png" xlink:type="simple"/></inline-formula> has zero intensity due to absorptions at section 1 and 2, so <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x79.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x80.png" xlink:type="simple"/></inline-formula> is not modeled in the simulations in section “3”.</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x81.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x81.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x82.png" xlink:type="simple"/></inline-formula> are the power densities of the laser modes at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x81.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x82.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x83.png" xlink:type="simple"/></inline-formula> (<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x81.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x82.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x84.png" xlink:type="simple"/></inline-formula>), and the power density of the “RESET” pulse at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x81.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x82.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x84.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x85.png" xlink:type="simple"/></inline-formula> (<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x81.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x82.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x84.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x86.png" xlink:type="simple"/></inline-formula>) respectively. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x81.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x82.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x84.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x87.png" xlink:type="simple"/></inline-formula>is the current injected to the active layer. q is the electron charge. V is the optical laser cavity volume. S is the photon density in the cavity at<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x81.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x82.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x84.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x88.png" xlink:type="simple"/></inline-formula>. Equation (6) presents the rate equation of the injected carriers density in the active layer.</p><p>The other simulation parameters are tabulated in <xref ref-type="table" rid="table1">Table 1</xref>.</p><p>In the following sections, numerical simulations of optical bistability and switching dynamics in time domain are performed. The mathematical model is solved using Fourth order Runge-Kutta technique. The length of the device is divided into 80 sections, and the time step is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x89.png" xlink:type="simple"/></inline-formula>. The spontaneous emission optical fields are added as random signals at each integration step to the forward and backward fields. General purpose graphics processing unit (GPGPU) computing is used to accelerate the numerical simulations of the device. The length of the device is devided into 80 sections along the z direction. The integrations of the backward and forward fields along each the 80 sections are done by assigning a thread on the GPU to each section. All the integrations along the 80 sections are done in parallel to reduce the total computation time. The computation time is reduced about 15 times. NVIDIA “GTX 670” graphics processing unit is used to perform parallel computing of the forward and backward fields at each one of the 80 sections along the z direction. The code is written using CUDA C [<xref ref-type="bibr" rid="scirp.69989-ref20">20</xref>] .</p></sec><sec id="s4"><title>4. Simulations Results</title><p>In all the following numerical simulations the laser mode power is normalized to <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x90.png" xlink:type="simple"/></inline-formula> Watt. The electron-hole pairs density in the nonlinear wave-guiding layer is normalized to<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x90.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x91.png" xlink:type="simple"/></inline-formula>. The electron-hole pairs density of carriers injected into the active layer <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x90.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x91.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x92.png" xlink:type="simple"/></inline-formula> is normalized to<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x90.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x91.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x92.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x93.png" xlink:type="simple"/></inline-formula>.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Simulation parameters</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Symbols</th><th align="center" valign="middle" >Description</th><th align="center" valign="middle" >Value</th></tr></thead><tr><td align="center" valign="middle" >L</td><td align="center" valign="middle" >Length</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x94.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x95.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Current injected in the active layer</td><td align="center" valign="middle" >0.096225 Ampere</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x96.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Average ref. index</td><td align="center" valign="middle" >3</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x97.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Group velocity</td><td align="center" valign="middle" >10<sup>8</sup> m/sec</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x98.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Line-width enhancement</td><td align="center" valign="middle" >−0.5</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x99.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Gain saturation</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x100.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x101.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Overlap factor</td><td align="center" valign="middle" >0.35</td></tr><tr><td align="center" valign="middle" >V</td><td align="center" valign="middle" >Cavity volume</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x102.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x103.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Non-radiative recombination in nonlinear sections</td><td align="center" valign="middle" >1 nsec</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x104.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Non-radiative recombination in the active layer</td><td align="center" valign="middle" >3 nsec</td></tr><tr><td align="center" valign="middle" >B</td><td align="center" valign="middle" >Radiative Recombination</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x105.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >C</td><td align="center" valign="middle" >Auger recombination</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x106.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x107.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Differential gain at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x108.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x109.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x110.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Transparency carrier density</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x111.png" xlink:type="simple"/></inline-formula></td></tr></tbody></table></table-wrap><sec id="s4_1"><title>4.1. Optical Bistability Loop</title><p>A mathematical experiment is performed to find the injected current to the laser device at which the device has 2 stable optical outputs levels at the same injected current. The injected current to the device is increased linearly with time from 0 to <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x112.png" xlink:type="simple"/></inline-formula> Ampere in 37.5 nanosecond, then, the current decreases linearly from <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x112.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x113.png" xlink:type="simple"/></inline-formula> to 0 Ampere in 37.5 nanosecond. A part of the output optical power versus injected current relation is shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>. An injected current of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x112.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x113.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x114.png" xlink:type="simple"/></inline-formula> Ampere is used in all of the following simulations to insure bistable operation of the device.</p></sec><sec id="s4_2"><title>4.2. OFF State and On State</title><p>Simulations of the output optical power are performed for a long simulation time to test the stability of the device output in the “OFF” state and the “ON” state. The output power of the device in the “OFF” state is simulated in the time domain for 75 nanosecond, <xref ref-type="fig" rid="fig7">Figure 7</xref>. To switch the device from “OFF” state to the “ON” state an optical pulse at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x115.png" xlink:type="simple"/></inline-formula> is injected to the device at<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x115.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x116.png" xlink:type="simple"/></inline-formula>. The pulse is injected at simulation time <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x115.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x116.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x117.png" xlink:type="simple"/></inline-formula> nanosecond. The pulse width is 0.1875 nanosecond and has a peak power of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x115.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x116.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x117.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x118.png" xlink:type="simple"/></inline-formula> Watt (<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x115.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x116.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x117.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x118.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x119.png" xlink:type="simple"/></inline-formula>picojoule). The input optical pulse induces electron-hole pairs in section “3” on the nonlinear wave-guiding layer. The electron- hole pairs reduces the detuning of this section, the reflection band of this section overlaps with the reflection band of the rest of the grating. The number of photons reflected back from section “3” increases. The optical feedback is increased and the structure allows for a laser mode to build up. The laser mode provides photons at<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x115.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x116.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x117.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x118.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x119.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x120.png" xlink:type="simple"/></inline-formula>, part of these photons is absorbed in section “3” to maintain the number of electron-hole pairs in this section. The electron-hole pairs generated in section “3” maintain the change in detuning that allows the laser mode to exist.</p><p>The changes in the refractive index (normalized to<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x121.png" xlink:type="simple"/></inline-formula>) along the structure at the end of the simulation time (at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x121.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x122.png" xlink:type="simple"/></inline-formula> nanosecond) for both “ON” state and “OFF” state are shown in <xref ref-type="fig" rid="fig7">Figure 7</xref>. The output power in the “ON” state is shown in <xref ref-type="fig" rid="fig8">Figure 8</xref>. N<sub>c</sub> at<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x121.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x122.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x123.png" xlink:type="simple"/></inline-formula>, and N<sub>g</sub> at<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x121.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x122.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x123.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x124.png" xlink:type="simple"/></inline-formula>, are plotted in <xref ref-type="fig" rid="fig9">Figure 9</xref> and <xref ref-type="fig" rid="fig1">Figure 1</xref>0.</p><fig id="fig6"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> Optical bistability loop</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1190518x125.png"/></fig><fig id="fig7"  position="float"><label><xref ref-type="fig" rid="fig7">Figure 7</xref></label><caption><title> Output optical power in: (a) “OFF” state, (b) “ON” state</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1190518x126.png"/></fig><fig id="fig8"  position="float"><label><xref ref-type="fig" rid="fig8">Figure 8</xref></label><caption><title> Normalized refractive index distribution in “OFF” state and “ON” state</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1190518x127.png"/></fig><fig id="fig9"  position="float"><label><xref ref-type="fig" rid="fig9">Figure 9</xref></label><caption><title> Normalized <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x129.png" xlink:type="simple"/></inline-formula> in the “ON” state at<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x129.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x130.png" xlink:type="simple"/></inline-formula></title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1190518x128.png"/></fig><fig id="fig10"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>0</label><caption><title> Normalized <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x132.png" xlink:type="simple"/></inline-formula> in the “ON” state at<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x132.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x133.png" xlink:type="simple"/></inline-formula></title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1190518x131.png"/></fig></sec><sec id="s4_3"><title>4.3. ON/OFF Switching Dynamics</title><p>“ON/OFF” switching dynamics are investigated in the time domain. The device is simulated for 11.25 nanosecond. At simulation time <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x134.png" xlink:type="simple"/></inline-formula> nanosecond, an optical pulse at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x134.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x135.png" xlink:type="simple"/></inline-formula> of peak power <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x134.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x135.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x136.png" xlink:type="simple"/></inline-formula> Watt and 0.1875 nanosecond width (<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x134.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x135.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x136.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x137.png" xlink:type="simple"/></inline-formula>picojoule) sets the device “ON”. At simulation time <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x134.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x135.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x136.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x137.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x138.png" xlink:type="simple"/></inline-formula> nanosecond, an optical pulse at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x134.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x135.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x136.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x137.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x138.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x139.png" xlink:type="simple"/></inline-formula> of peak power of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x134.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x135.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x136.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x137.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x138.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x139.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x140.png" xlink:type="simple"/></inline-formula> Watt and 1.875 nanosecond width (0.9375 picojoule) resets the device to the “OFF” state. The input optical power pulses are shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>1. The output optical mode is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>2. The set pulse switches the device “ON” by generating electron- hole pairs in section “3” and the electron-hole pairs reduce the detuning of the refractive index in this section. More photons are reflected back at section “3”, and a laser mode builds up and maintains the detuning by providing electron-hole pairs in section “3”.</p><p>The “RESET” pulse switches the device “OFF”. The photons at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x141.png" xlink:type="simple"/></inline-formula> are absorbed in section “1” and produce electron-hole pairs. The generated electron-hole pairs reduce the average refractive index along section “1”. Hence, the reflection band of the grating section “1” does not overlap effectively with the reflection band of sections “1” and “2”. More photons escape the laser cavity through section “1”. The structure can no longer sustain a laser mode at<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x141.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x142.png" xlink:type="simple"/></inline-formula>. As laser mode decreases quickly inside the laser cavity, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x141.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x142.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x143.png" xlink:type="simple"/></inline-formula>in section “1” decays with time and the refractive index in section “1” is restored to its value before the “SET” pulse. After the “RESET” pulse elapses, the refractive index in section “1” is restored to its value in the “OFF” state, and the</p><fig id="fig11"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>1</label><caption><title> Input optical pulses at<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x145.png" xlink:type="simple"/></inline-formula></title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1190518x144.png"/></fig><fig id="fig12"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>2</label><caption><title> Output optical laser mode power at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x147.png" xlink:type="simple"/></inline-formula> during ON/OFF simulations</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1190518x146.png"/></fig><p>device remains in the “OFF” state. <xref ref-type="fig" rid="fig1">Figure 1</xref>3 shows <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x148.png" xlink:type="simple"/></inline-formula> evolution with time at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x149.png" xlink:type="simple"/></inline-formula> during Set/Reset operation. The evolution of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x149.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x150.png" xlink:type="simple"/></inline-formula> with time at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x149.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x150.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x151.png" xlink:type="simple"/></inline-formula> is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>4. The detuning of refractive index normalized to<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x149.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x150.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x151.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x152.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x149.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x150.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x151.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x152.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x153.png" xlink:type="simple"/></inline-formula>, is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>5. The detuning at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x149.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x150.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x151.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x152.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x153.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x154.png" xlink:type="simple"/></inline-formula> nano- second, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x149.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x150.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x151.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x152.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x153.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x154.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x155.png" xlink:type="simple"/></inline-formula>nanosecond, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x149.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x150.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x151.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x152.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x153.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x154.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x155.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x156.png" xlink:type="simple"/></inline-formula>nanosecond, and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x149.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x150.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x151.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x152.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x153.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x154.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x155.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x156.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x157.png" xlink:type="simple"/></inline-formula> during the “RESET” pulse is plotted. The detuning at the end of the simulation time <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x149.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x150.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x151.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x152.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x153.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x154.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x155.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x156.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x157.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x158.png" xlink:type="simple"/></inline-formula> nanosecond is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>5. The negative peak at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x149.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x150.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x151.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x152.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x153.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x154.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x155.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x156.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x157.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x158.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x159.png" xlink:type="simple"/></inline-formula> corresponds to the change in refractive index due to electron-holes pairs generated by the direct absorption at the beginning of section “2”.</p><p>While the “SET” operation takes about 0.5 nanosecond to stabilize the output mode power in the “ON” state, resetting the device to the “OFF” state takes about 2 nanosecond. In the “SET” operation the input signal is amplified, while in the “RESET” operation the “RESET” pulse is not amplified. During the “RESET” operation, the “RESET” pulse does not alter <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x160.png" xlink:type="simple"/></inline-formula> directly. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x160.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x161.png" xlink:type="simple"/></inline-formula>is restored to its value in the “OFF” state due to the decrease of light intensity at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x160.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x161.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x162.png" xlink:type="simple"/></inline-formula> in the optical cavity.</p></sec></sec><sec id="s5"><title>5. Discussion</title><p>In this work, an all-optical ip-op is simulated. The length of the device is 187:5 μm. In comparison with an</p><fig id="fig13"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>3</label><caption><title> Electron-hole pairs density N<sub>c</sub> at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x164.png" xlink:type="simple"/></inline-formula> during ON/OFF simu- lations</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1190518x163.png"/></fig><fig id="fig14"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>4</label><caption><title> <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x166.png" xlink:type="simple"/></inline-formula>at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x166.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x167.png" xlink:type="simple"/></inline-formula> in the active layer during ON/OFF simulations</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1190518x165.png"/></fig><p>another work in [<xref ref-type="bibr" rid="scirp.69989-ref10">10</xref>] where the device length is 375 μm. Also the operating current in this work was 0:096225 Ampere and in [<xref ref-type="bibr" rid="scirp.69989-ref10">10</xref>] the injected current is 0:294358 Ampere. The device simulated in this work has a shorter length and operates at a lower injection current. The Reset pulse width in [<xref ref-type="bibr" rid="scirp.69989-ref10">10</xref>] is 9:375 nanosecond, while in this work a Reset pulse of 1:875 nanosecond switches the device OFF. In general, the design described in this work shows fast operation compared to [<xref ref-type="bibr" rid="scirp.69989-ref10">10</xref>] . The device investigated in [<xref ref-type="bibr" rid="scirp.69989-ref10">10</xref>] requires a wave-guiding layer that increases linearly along the device. Also it requires having a direct optical loss that increases linearly with distance too. However in this device only one section of the wave-guiding layer has a slightly higher refractive index and has a direct absorption loss. Hence, in this work, the device fabrication is easier. In this work, the device is Reset by detuning part of the laser cavity which is a section of the DFB structure, and the optical gain is not altered. In [<xref ref-type="bibr" rid="scirp.69989-ref10">10</xref>] , the Reset pulse reduces the optical gain by cross gain modulation that switches OFF the output laser mode and allows the refractive index to return to its original distribution in the OFF state.</p><fig id="fig15"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>5</label><caption><title> Detuning along the structure during Reset pulse and at the end of the simulation time</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1190518x168.png"/></fig></sec><sec id="s6"><title>6. Conclusion</title><p>An all-optical flip-flop based on a nonlinear wave-guiding layer is suggested and simulated in the time domain. The nonlinearity in the wave-guiding layer is achieved by direct absorption of photons at the Urbach tail at photons energy just below the band-gap energy of the semiconductor. The device is switched “ON” by an optical pulse of 0.1875 nanosecond width (<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1190518x169.png" xlink:type="simple"/></inline-formula>picojoule), and is switched “OFF” by an optical pulse of 1.875 nanosecond width (0.9375 picojoule). The switching dynamics are in nanoseconds time scale which could be useful for all optical data packet switching and routing. The device could be built using semiconductor alloy InGaAsP, where by changing the percentages of elements in the alloy the band-gap could be altered. Parallel computing using GPGPU card is used to reduce the computation time of the set of equations that describes the mathematical model of the device.</p></sec><sec id="s7"><title>Cite this paper</title><p>Hossam Zoweil, (2016) Simulations of a Novel All-Optical Flip-Flop Based on a Nonlinear DFB Laser Cavity Using GPGPU Computing. Optics and Photonics Journal,06,203-215. doi: 10.4236/opj.2016.68022</p></sec></body><back><ref-list><title>References</title><ref id="scirp.69989-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Dorren, H.J.S., Hill, M.T., Liu, Y., Calabretta, N., Srivatsa, A., Huijskens, F.M., de Waardt, H. and Khoe, G.D. (2003) Optical Packet Switching and Buffering by Using All-Optical Signal Processing Methods. Journal of Lightwave Technology, 21, 2-12. http://dx.doi.org/10.1109/JLT.2002.803062</mixed-citation></ref><ref id="scirp.69989-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Martin, T.H., de Waardt, H., Khoe, G.D. and Dorren, H.J.S. (2001) All-Optical Flip-Flop Based on Coupled Laser Diodes. IEEE Journal of Quantum Electronics, 37, 405-413.</mixed-citation></ref><ref id="scirp.69989-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Hill, M.Y., Dorren, H.J.S., de Vries, T., Leijtens, X.J.M., den Besten, J.H., Smalbrugge, B., Oei, Y.S., Binsma, H., Khoe, G.D. and Smit, M.K. (2004) A Fast Low-Power Optical Memory Based on Coupled Micro-Ring Lasers, Nature, 432, 206-208. http://dx.doi.org/10.1038/nature03045</mixed-citation></ref><ref id="scirp.69989-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Liu, L., Kumar, R., Huybrechts, K., Spuesens, T., Roelkens, G., Geluk, E.J., de Vries, T., Regreny, P., Thourhout, D.V., Baets, R. and Morthier, G. (2010) An Ultra-Small, Low-Power, All-Optical Flip-Flop Memory on a Silicon Chip. Nature Photonics, 2010, 182-187.</mixed-citation></ref><ref id="scirp.69989-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Huybrechts, K., Morthier, G. and Baet, R. (2008) Fast All-Optical Flip-Flop Based on a Single Distributed Feedback Laser Diode. Optics Express, 16, 11405-11410. http://dx.doi.org/10.1364/OE.16.011405</mixed-citation></ref><ref id="scirp.69989-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Kaplan, A.M., Agrawal, G.P. and Maywar, D.N. (2009) All-Optical Flip-Flop Operation of VCSOA. Electronics Letters, 45, 127-128.</mixed-citation></ref><ref id="scirp.69989-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Takenaka, M., Raburn, M. and Nakano, Y. (2005) All-Optical Flip-Flop Multimode Interference Bistable Laser Diode. IEEE Photonics Technology Letters, 17, 968-970. http://dx.doi.org/10.1109/LPT.2005.844322</mixed-citation></ref><ref id="scirp.69989-ref8"><label>8</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Kawaguchi</surname><given-names> H. </given-names></name>,<etal>et al</etal>. (<year>1997</year>)<article-title>Bistable Laser Diodes and Their Applications: State of the Art</article-title><source> IEEE Journal of Selected Topics in Quantum Electronics</source><volume> 3</volume>,<fpage> 1254</fpage>-<lpage>1270</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.69989-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Odagawa, T. (1991) Bistable Semiconductor Laser Diode Device. US Patent No. 5007061, 9 April.</mixed-citation></ref><ref id="scirp.69989-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Zoweil, H. (2015) Numerical Simulation of a Novel All-Optical Flip-Flop Based on a Chirped Nonlinear Distributed Feedback Semiconductor Laser Structure Using GPGPU Computing. Journal of Modern Optics, 62, 738-744.http://dx.doi.org/10.1080/09500340.2015.1005186</mixed-citation></ref><ref id="scirp.69989-ref11"><label>11</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Zoweil</surname><given-names> H. </given-names></name>,<etal>et al</etal>. (<year>2016</year>)<article-title>An Improved Design for an All-Optical Ip-Op Based on a Nonlinear 3-Sections DFB Laser Cavity</article-title><source> OPJ</source><volume> 6</volume>,<fpage> 87</fpage>-<lpage>100</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.69989-ref12"><label>12</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Zoweil</surname><given-names> H. </given-names></name>,<etal>et al</etal>. (<year>2016</year>)<article-title>Simulations of an All-Optical Ip-Op with a Reset Pulse Frequency Exceeding Operating Frequency</article-title><source> EJBAS</source><volume> 3</volume>,<fpage> 322</fpage>-<lpage>328</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.69989-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Pankove, J.I. (1965) Absorption Edge of Impure Gallium Arsenide. Physical Review, 140, A2059-A2065.http://dx.doi.org/10.1103/PhysRev.140.A2059</mixed-citation></ref><ref id="scirp.69989-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Dow, J.D. and Redfield, D. (1972) Toward a Unified Theory of Urbach’s Rule and Exponential Absorption Edges. Physical Review B, 5, 594-610.</mixed-citation></ref><ref id="scirp.69989-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Agrawal, G.P. and Dutta, N.K. (2001) Semiconductor Lasers. Kluwer Academic Publishers, US.</mixed-citation></ref><ref id="scirp.69989-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Adachi, S. (2004) Physical Properties of III V Semiconductor Compounds. Wiley, New York.</mixed-citation></ref><ref id="scirp.69989-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Carrol, J., Whiteaway, J. and Plumb, D. (1998) Distributed Feedback Semiconductor Laser. IEE, London. http://dx.doi.org/10.1049/PBCS010E</mixed-citation></ref><ref id="scirp.69989-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Bennett, B.R., Soref, R.A. and Del Alamo, J.A. (1990) Carrier-Induced Change in Refractive Index of InP, GaAs, and InGaAsP. IEEE Journal of Quantum Electronics, 26, 113-122. http://dx.doi.org/10.1109/3.44924</mixed-citation></ref><ref id="scirp.69989-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Hartmut, H. (1988) Optical Nonlinearities and Instabilities in Semiconductors. Academic Press, Inc., New York.</mixed-citation></ref><ref id="scirp.69989-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">https://developer.nvidia.com/cuda-zone</mixed-citation></ref></ref-list></back></article>