summaryrefslogtreecommitdiff
path: root/Fiber_Optics_Communication_by_H_Kolimbiris/4-Optical_Detectors.ipynb
blob: 1d9734669750dcd9f8b0286315b729d4c5745a14 (plain)
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
{
"cells": [
 {
		   "cell_type": "markdown",
	   "metadata": {},
	   "source": [
       "# Chapter 4: Optical Detectors"
	   ]
	},
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 4.1: Response_time_of_PIN_photodetector.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"//Chapter 4\n",
"//page no 99\n",
"//given\n",
"clc;\n",
"Tn=5;               //in micrometer\n",
"Vs=10^7;          //in m/s\n",
"tr=Tn*10^-6/Vs;\n",
"disp('ps',tr/10^-12,'Response time');"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 4.2: MTBF_of_photodetector.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"//Chapter 4\n",
"//page no 106\n",
"//given\n",
"clc;\n",
"//calculate Tf\n",
"Pd=1.15;            //in mW\n",
"//calculate Tj\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 *%e^-(8111/(TJ+273));\n",
"printf('\n Value of TJ is %0.2f deg C\n',TJ);\n",
"printf('\n Value of TF is %0.2f deg C\n',TF);\n",
"//calculate RF\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",
"disp(RF,'Value of RF');\n",
"printf('\n Value of MTBF is %0.0f*10^6 hours \n',1/RF/10^6);"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 4.3: Photon_Lifetime.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"//Chapter 4\n",
"//page no 114\n",
"//given\n",
"clc;\n",
"R1=0.7;\n",
"R2=0.99;\n",
"ad=0.1;\n",
"//compute Ld\n",
"Ld=1-R1*R2*%e^-(2*ad);\n",
"printf('\n Decay Loss %0.4f \n',Ld);\n",
"trt=40;//fs\n",
"tph=trt/Ld;\n",
"printf('\n Photon lifetime %0.2f fs\n',tph);\n",
"BW=1/tph;\n",
"printf('\n Bandwidth %0.1f Thz\n',BW*1000);//Answer in Thz  \n",
""
   ]
   }
],
"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
}