summaryrefslogtreecommitdiff
path: root/3834/CH11/EX11.3.3/Ex11_3_3.sce
blob: 660ab5f03dac3dc096064d5ab960cbcd407f3807 (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
//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