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
|
{
"metadata": {
"celltoolbar": "Raw Cell Format",
"name": "",
"signature": "sha256:f9d07e6c589e609afd4c8688d217cbc506c0bab4bc60489a3937d03591d8cbc1"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 4: Optical Detectors"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.1,Page number 99"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#given\n",
"\n",
"Tn=5; #in micrometer\n",
"Vs=10**7; #in m/s\n",
"tr=Tn*10**-6/Vs;\n",
"print\"Response time\",tr/10**-12,\"ps\";\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Response time 0.5 ps\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.2,Page number 106"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#given\n",
"\n",
"\n",
"Pd=1.15; #in mW\n",
"\n",
"TA=25; #in deg C\n",
"theta_JA=200; #in C/W for hermetric led\n",
"TJ=TA+theta_JA*Pd/10**3;\n",
"TF=8.01*10**12 *math.e**-(8111/(TJ+273));\n",
"print\"Value of TJ is\" ,round(TJ,4), \"deg C\";\n",
"print\"Value of TF is\" ,round(TF,4), \"deg C\";\n",
"\n",
"BF=1.1*10**-3; #from table\n",
"QF=0.5; #from table\n",
"EF=1; #from table\n",
"RF=BF*TF*EF*QF*1/10**6;\n",
"print\"Value of RF\",\"{0:.3e}\".format(RF);\n",
"print\"Value of MTBF is \",\"{0:.3e}\".format(1/RF),\"hours\";"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Value of TJ is 25.23 deg C\n",
"Value of TF is 12.3614 deg C\n",
"Value of RF 6.799e-09\n",
"Value of MTBF is 1.471e+08 hours\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.3,Page number 114"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#given\n",
"\n",
"R1=0.7;\n",
"R2=0.99;\n",
"ad=0.1;\n",
"\n",
"Ld=1-R1*R2*math.e**-(2*ad);\n",
"print\"Decay Loss \",round(Ld,4);\n",
"trt=40; #fs\n",
"tph=trt/Ld;\n",
"print\"Photon lifetime \",round(tph,4),\"fs\";\n",
"BW=1/tph;\n",
"print\"Bandwidth\",round(BW*1000,4) ,\"Thz\"; #Answer in Thz \n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Decay Loss 0.4326\n",
"Photon lifetime 92.46 fs\n",
"Bandwidth 10.8155 Thz\n"
]
}
],
"prompt_number": 13
}
],
"metadata": {}
}
]
}
|