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
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
|
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Chapter 20: Fiber Optic Communication"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 20.2_1: example_1.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"clc;\n",
"// page no 753\n",
"// prob no 20.2.1\n",
"// An optic fiber is made of glass with following details\n",
"n1=1.55;//RI of glass\n",
"n2=1.51;//RI of clad\n",
"// NA of the fibe is given as\n",
"NA=n1*sqrt(2*(n1-n2)/n1);\n",
"disp(NA,'The numerical aperture is');\n",
"// Acceptance angle is given as\n",
"acc_angle=asind(NA);\n",
"disp(acc_angle,'The acceptance angle is');"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 20.2_2: example_2.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"clc;\n",
"//page no 761\n",
"//prob no. 20.2.2\n",
"//refer example 20.2.1\n",
"d=50*10^-6;wav=0.8*10^-6;NA=0.352;\n",
"//Determination of V number\n",
"V=(%pi)*d*NA/wav\n",
"disp(V,'the V no. is');\n",
"//Determination of approximate number of modes\n",
"N=(V^2)/2;\n",
"disp(N,'the approximate no. of modes are ');"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 20.2_3: example_3.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"clc;\n",
"//page no 763\n",
"//prob no. 20.2.3\n",
"d=5*10^-6;wave=1.3*10^-6;NA=0.35;\n",
"//Determination of V no.\n",
"V=(%pi)*d*NA/wave;\n",
"disp(V,'the v no. is' );\n",
"disp('from the table it is seen that 6 modes have cut off v less than 4.23 ');"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 20.2_4: example_4.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"clc;\n",
"//page no 762\n",
"//prob no. 20.2.4\n",
"//refer example 20.2.3\n",
"a=2;//gradding profile index\n",
"V=69.1;//normalized cutoff freq.\n",
"N=2390;//number of modes supported as a step index fiber \n",
"//Determination of no. of modes supported by graded index fiber\n",
"N_a=(N*a)/(a+2);\n",
"disp(N_a,'no. of modes supported by graded index fiber');"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 20.2_5: example_5.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"clc;\n",
"//page no 763\n",
"//prob no. 20.2.5\n",
"d=10*10^-6;wav=1.3*10^-6;n1=1.55;V_max=2.405clc;\n",
"//page no 762\n",
"//prob no. 20.2.4\n",
"NA_max=(V_max*wave)/(%pi*d);\n",
"//a)Dtermination of maximum normailized index difference\n",
"del=(1/2)*(NA/n1)^2;\n",
"disp(del,'a)the normilized index difference is');\n",
"//b)Determination of reffactive index of claddin glass\n",
"n2=n1*(1-del);\n",
"disp(n2,'b)cladding index required is');\n",
"//Determination of the fiber acceptance angle \n",
"theta_max=asind(NA);\n",
"disp(theta_max,'the max acceptance angle is');"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 20.3_1: example_6.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"clc;\n",
"//page no \n",
"//prob no. 20.3.1\n",
"//A silica fiber with \n",
"A_max=25;A1=2;A2=0.3;\n",
"//a)Determination of repeater dist at 0.9um wavelength\n",
"z1=A_max/A1;\n",
"disp('km',z1,'a)the repeater dist for 0.9um wavelength is');\n",
"//b)Determination of repeater dist at 1.5um wavelength\n",
"z2=A_max/A2;\n",
"disp('km',z2,'a)the repeater dist for 1.5um wavelength is');"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 20.4_1: example_7.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"clc;\n",
"//page no 772\n",
"//prob no. 20.4.1\n",
"//Refer example 20.4.1\n",
"n1=1.55;del=0.0258;l=12.5;z=1000;c=3*10^8;\n",
"//a)Determination of intermodal dispersion\n",
"del_per_km=(n1*z*del)/((1-del)*c);\n",
"disp('s/km',del_per_km,'the intermodal dispersion is');\n",
"//b)Determination of intermodal dispersion for l=12.5\n",
"del_l=del_per_km*l/1000;\n",
"disp('s',del_l,'the intermodal dispertion for l=12.5 is');"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 20.4_2: example_13.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"clc;\n",
"//page no 773\n",
"//prob no. 20.4.2\n",
"//Refer example 20.4.1\n",
"n1=1.55;del=0.0258;z=1000;c=3*10^8;z_disp=12.5;\n",
"del_graded=(n1*z*del^2)/(8*c);\n",
"//Determination of intermodal dispersion\n",
"del_total=del_graded*z_disp;\n",
"disp('sec',del_total,'the intermodal dispersion is');"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 20.4_3: example_8.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"clc;\n",
"//page no 774\n",
"//prob no. 20.4.3\n",
"//Refer example 20.4.1\n",
"wav_0=0.8*10^-6;Dm=-0.15;wav_3=1.5;z=12.5;\n",
"del_t=Dm*wav_3;\n",
"//Determination of total material dispersion\n",
"del_md=del_t*z;\n",
"disp('ns',del_md,'The total material dispersion is');"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 20.4_4: example_9.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"clc;\n",
"//page no 775\n",
"//prob no. 20.4.4\n",
"Dm=6.6;z=12.5;del_3=6;\n",
"del_wg=Dm*z*del_3;\n",
"disp('ps',del_wg,'Expected waveguide dispersion is');"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 20.4_5: example_10.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"clc;\n",
"//page no 776\n",
"//prob no. 20.4.5\n",
"del_imd=0;del_md=2.81;del_wgd=0.495;t_w=2.5;\n",
"del_tot=((del_imd^2)+(del_md^2)+(del_wgd^2))^(1/2);\n",
"disp('ns',del_tot,'The total dispersion is');\n",
"t_r=((t_w^2)+(del_tot^2))^(1/2)\n",
"//Determination of max allowed bit rate\n",
"B=(1000/(2*t_r));\n",
"disp('Mbps',B,'The max allowed bit rate is');"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 20.4_6: example_11.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"clc;\n",
"//page no 778\n",
"//prob no. 20.4.6\n",
"//A multimode step index fiber\n",
"del_t=4;B=10;\n",
"//a)Determination of BW distance product\n",
"BDP=1/(2*del_t);\n",
"disp('Mbps-km',BDP,'a)The BW distance product for fiber is');\n",
"//b)Determiation of dispersion limited length\n",
"z_max_disp=BDP/(B*10^-3);\n",
"disp('km',z_max_disp,'b)The disp limited length for a fiber is');"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 20.5_1: example_14.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"clc;\n",
"//page no 780\n",
"//prob no. 20.5.1\n",
"//3 semiconductor diodes are given\n",
"E1=1.9;E2=1.46;E3=0.954;eV=1.9;//All in eV\n",
"c=3*10^8;//speed of light\n",
"//a)Determination of wavelength and freq for E1=1.9\n",
"wav1=1.241/E1;f1=c/(wav1*10^-6);\n",
"disp('um',wav1,'a)i)the wavelength is');\n",
"disp('Hz',f1,'a)ii)the freq is');\n",
"//b)Determination of wavelength and freq for E2=1.46\n",
"wav2=1.241/E2;f2=c/(wav2*10^-6);\n",
"disp('um',wav2,'b)i)the wavelength is');\n",
"disp('Hz',f2,'b)ii)the freq is');\n",
"//c)Determination of wavelength and freq for E3=0.945\n",
"wav3=1.241/E3;f3=c/(wav3*10^-6);\n",
"disp('um',wav3,'c)i)the wavelength is');\n",
"disp('Hz',f3,'c)ii)the freq is');"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 20.8_1: example_12.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"clc;\n",
"//page no 799\n",
"//prob no. 20.8.1\n",
"//A fiber link is given\n",
"pt=0;pr=-57;Nc=2;BER=10^-9;N=5;Lpt=6;Lpr=6;Lc=1;Ls=0.5;Lf=2;M=5;del_t=0.505;B=35;Ns=5;\n",
"//a)Determination of loss-limited fiber length\n",
"z=(pt-pr-M-(Nc*Lc)-(Ns*Ls)-Lpt-Lpr)/Lf;\n",
"disp('km',z,'a)the loss-limited fiber is');\n",
"//b)Determination of max BW for loss-limited fiber length\n",
"B_max=1/(5*del_t*z);\n",
"disp('Gbps',B_max,'b)the max BW for loss-limited length is');\n",
"//c)Determination of dispersion-limited length \n",
"z_disp=1000/(5*del_t*B);\n",
"disp('km',z_disp,'the dispertion limited length is');"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Scilab",
"language": "scilab",
"name": "scilab"
},
"language_info": {
"file_extension": ".sce",
"help_links": [
{
"text": "MetaKernel Magics",
"url": "https://github.com/calysto/metakernel/blob/master/metakernel/magics/README.md"
}
],
"mimetype": "text/x-octave",
"name": "scilab",
"version": "0.7.1"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
|