summaryrefslogtreecommitdiff
path: root/3834/CH11/EX11.3.3/Ex11_3_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3834/CH11/EX11.3.3/Ex11_3_3.sce')
-rw-r--r--3834/CH11/EX11.3.3/Ex11_3_3.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3834/CH11/EX11.3.3/Ex11_3_3.sce b/3834/CH11/EX11.3.3/Ex11_3_3.sce
new file mode 100644
index 000000000..660ab5f03
--- /dev/null
+++ b/3834/CH11/EX11.3.3/Ex11_3_3.sce
@@ -0,0 +1,25 @@
+//Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
+//Example 11.3.3
+//windows 7
+//Scilab version-6.0.0
+clc;
+clear ;
+//given
+
+M=20;//Multiplication factor of a photodiode
+Pin=0.1E-6;//Average input power in W
+T=300;//Room temperature in K
+BWpd=2.5E+9;//Bandwidth of a photodiode in Hz
+Rl=50E+3;
+R=0.9;//Responsivity of a photodiode
+e=1.6E-19;//Electrons value in Coulomb
+
+//case 1
+FsSi=2.49;//excess noise factor of Si avalanche photodiode
+SNRs=(R*Pin)/(2*e*FsSi*BWpd);//SNR of Si avalanche photodiode
+mprintf("SNR of Si avalanche photodiode = %.2f",SNRs);//the answer vary due to rounding
+
+//case 2
+FsInGaAs=12.78;//excess noise factor of InGaAs avalanche photodiode
+SNRt=(R*Pin)/(2*e*FsInGaAs*BWpd);//SNR of InGaAs avalanche photodiode
+mprintf("\nSNR of InGaAs avalanche photodiode = %.2f",SNRt);//the answer vary due to rounding