1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
|
{
"metadata": {
"name": "",
"signature": "sha256:4930bebda7035fefc5221e84cdee44dfb2c772873b238e2ca2714c2de4369a09"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 11: Optical amplifires"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 11.1, Page Number: 397"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#variable declaration\n",
"Vg = 2*10**8 #group velocity (m/s)\n",
"h = 6.625*10**-34 #planks constant (J*s)\n",
"C = 3*10**8 #free space velocity (m/s)\n",
"Lam_bda = 1550*10**-9 #operating wave length(nm)\n",
"V = C/Lam_bda #frequency (Hz)\n",
"w = 5*10**-6 #width of optical amplifier (meters)\n",
"d = 0.5*10**-6 #thickness of optical amplifier (meter)\n",
"Ps = 10**-6 #optical signal of power\n",
"\n",
"#calculation\n",
"Nph = Ps/(Vg*h*V*w*d) #photon density\n",
"\n",
"#result\n",
"print \"The photon density Nph = \" ,round(Nph*1e-16,2),\"e+6 photons/m3\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The photon density Nph = 1.56 e+6 photons/m3\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 11.2, Page Number: 397"
]
},
{
"cell_type": "heading",
"level": 3,
"metadata": {},
"source": [
"Example 11.2(a)"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#varible declaration\n",
"I = 100.0*10**-3 #bias current (Amps)\n",
"w = 3.0*10**-6 #active area width (meters)\n",
"L = 500.0*10**-6 #amplifier lenght (meters)\n",
"d = 0.3*10**-6 #active area thick ness(meters)\n",
"q = 1.6*10**-19 #charge (coulombs)\n",
"Tuo = 0.3 #The confinement factor\n",
"a = 2*10**-20 #gain coefficient (square meter)\n",
"J = I/(w*L) #3bias current density (Amp/squre meter)\n",
"nth = 10**24 #threshold density (per cubic meter)\n",
"Tuor = 10**-9; #Time constant (seconds)\n",
"\n",
"\n",
"#calculation\n",
"Rp = I/(q*d*w*L) # The pumping rate((electron/m3)/s)\n",
"\n",
"#result\n",
"print \"The pumping rate Rp = \" , round(Rp*1e-33,2)*10**33,\" (electron/m3)/s\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The pumping rate Rp = 1.39e+33 (electron/m3)/s\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "heading",
"level": 3,
"metadata": {},
"source": [
"Example 11.2(b)"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#varible declaration\n",
"I = 100.0*10**-3 #bias current (Amps)\n",
"w = 3.0*10**-6 #active area width (meters)\n",
"L = 500.0*10**-6 #amplifier lenght (meters)\n",
"d = 0.3*10**-6 #active area thick ness(meters)\n",
"q = 1.6*10**-19 #charge (coulombs)\n",
"Tuo = 0.3 #The confinement factor\n",
"a = 2*10**-20 #gain coefficient (square meter)\n",
"J = I/(w*L) #3bias current density (Amp/squre meter)\n",
"nth = 10**24 #threshold density (per cubic meter)\n",
"Tuor = 10**-9; #Time constant (seconds)\n",
"\n",
"\n",
"#calculation\n",
"Rp=I/(q*d*w*L) #The pumping rate((electron/m3)/s)\n",
"g0 = Tuo*a*Tuor*(round(Rp*1e-33,2)*10**33-(nth/Tuor)) #The zero singal(1/cm)\n",
"\n",
"#result\n",
"print \"The zero singal g0 = \" ,round(g0),\"1/m =\", round(g0/100,1),\"1/cm\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The zero singal g0 = 2340.0 1/m = 23.4 1/cm\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 11.3, Page Number: 404"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#variable declaration\n",
"Lambda_p = 980.0*10**-9 #pump wavelength(nm)\n",
"Lambda_s = 1550.0*10**-9 #signal wavelength(nm)\n",
"Pp_in = 30.0*10**-3 #input pump power (watts)\n",
"G = 1.0*10**2 #gain\n",
"\n",
"#calculation\n",
"Ps_in = (Lambda_p/Lambda_s)*Pp_in/(G-1) #maximum input power(W)\n",
"Ps_out = Ps_in+(Lambda_p/Lambda_s)*Pp_in #maximum output power(W)\n",
"Ps_out_db = 10*(math.log10(Ps_out*10**3)) #maximum output power(dBm)\n",
"\n",
"#result\n",
"print \"The maximum input power = \" , round(Ps_in*10**6) , \"uW\"\n",
"print \"The maximum output power = \" , round(Ps_out*10**3,1),\"mW\"\n",
"print \"The maximum output power = \" , round(Ps_out_db,1),\"dBm\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The maximum input power = 192.0 uW\n",
"The maximum output power = 19.2 mW\n",
"The maximum output power = 12.8 dBm\n"
]
}
],
"prompt_number": 4
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 11.6, Page Number: 412"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#variable declarion\n",
"Q = 6 #Q factor of 6\n",
"\n",
"#calculation\n",
"OSNR = 0.5*Q*(Q+math.sqrt(2))\n",
"OSNR_DB = 10*(math.log10(OSNR)) #The optical signal to noise ratio(dB)\n",
"\n",
"#result\n",
"print \"The optical signal to noise ratio (OSNR) = \" ,round(OSNR,2),\"=\", round(OSNR_DB,1),\"dB\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The optical signal to noise ratio (OSNR) = 22.24 = 13.5 dB\n"
]
}
],
"prompt_number": 7
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 11.7, Page Number: 413"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#variable declaration\n",
"Lambda_p = 980*10**-9 #pump wavelength (meters)\n",
"Lambda_s = 1540*10**-9 #signal wavelength (meters)\n",
"Ps_out = 10*10**-3 #output signal power(mW)\n",
"Ps_in = 10**-3 #input signal power(mW)\n",
"\n",
"#calculation\n",
"Pp_in = (Lambda_s/Lambda_p)*(Ps_out-Ps_in) #pump power at input(mW)\n",
"\n",
"#result\n",
"print \"Pump power = \" , round(Pp_in*10**3) ,\"mW\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Pump power = 14.0 mW\n"
]
}
],
"prompt_number": 8
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 11.8, Page Number: 413"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#variable declaration\n",
"P_ASE1 = -22 #ASE level (dBm)\n",
"P_ASE2 = -16 #ASE level (dBm)\n",
"Pout = 6 #amplified signal level (dBm)\n",
"\n",
"#calculation\n",
"OSNR1 = Pout-P_ASE1 \n",
"OSNR2 = Pout-P_ASE2 #The optical signal to noise ratio(dBm)\n",
"\n",
"#result\n",
"print \"Optical SNR OSNR1 = \" , round(OSNR1) , \"dBm\"\n",
"print \"Optical SNR OSNR2 = \" , round(OSNR2) , \"dBm\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Optical SNR OSNR1 = 28.0 dBm\n",
"Optical SNR OSNR2 = 22.0 dBm\n"
]
}
],
"prompt_number": 9
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 11.9, Page Number: 414"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#variable declaration\n",
"G1 = 10**(30/10) #gain(dB)\n",
"G2 = 10**(20/10)\n",
"\n",
"#calculation\n",
"Fpath1 = (((G1-1)/math.log(G1))**2)/G1 #noise penalty factor for G1\n",
"fpath_db1=10*math.log10(Fpath1) #noise penalty factor(dB)\n",
"Fpath2 = (((G2-1)/math.log(G2))**2)/G2 #noise penalty factor for G2\n",
"fpath_db2=10*math.log10(Fpath2) #noise penalty factor(dB)\n",
"\n",
"#result\n",
"print \"Noise penalty factor for G1 = \",round(fpath_db1,1),\"dB\"\n",
"print \"Noise penalty factor for G2 = \",round(fpath_db2,1),\"dB\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Noise penalty factor for G1 = 13.2 dB\n",
"Noise penalty factor for G2 = 6.6 dB\n"
]
}
],
"prompt_number": 10
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 11.10, Page Number: 415"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#variable declaration\n",
"etta = 0.65 #quantum efficiency\n",
"nsp = 2 #population inversion\n",
"R =50 #load resistance(ohms)\n",
"Lambda = 1550*10**-9 #oprating wavelength(meters)\n",
"T = 300 #room temperature(kelvin)\n",
"h = 6.625*10**-34 #planks constant(J*s)\n",
"C = 3*10**8 #free space velocity(m/s)\n",
"kB = 1.38*10**-23 #boltzmann's constant \n",
"V = C/ Lambda #(Hz)\n",
"q = 1.6*10**-19 #Charge (coulombs)\n",
"\n",
"#calculation\n",
"Ps_in = kB*T*h*V/(R*nsp*(etta**2)*(q**2)) #maxiamum input optical power level(Watt)\n",
"\n",
"#result\n",
"print \"Upper bound input otical power level <\",round(Ps_in*10**6,1),\"uW\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Upper bound input otical power level < 490.8 uW\n"
]
}
],
"prompt_number": 11
}
],
"metadata": {}
}
]
}
|