diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /848/CH9 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '848/CH9')
-rwxr-xr-x | 848/CH9/EX9.1/Example9_1.sce | 15 | ||||
-rwxr-xr-x | 848/CH9/EX9.2/Example9_2.sce | 41 |
2 files changed, 56 insertions, 0 deletions
diff --git a/848/CH9/EX9.1/Example9_1.sce b/848/CH9/EX9.1/Example9_1.sce new file mode 100755 index 000000000..78a17c813 --- /dev/null +++ b/848/CH9/EX9.1/Example9_1.sce @@ -0,0 +1,15 @@ +//clear//
+//Caption:Program to find Relative Intensity Noise (RIN)
+//Example9.1
+//page 320
+clear;
+clc;
+close;
+IB_Ith = [1.3,1.4,1.5,1.6];//ratio between bias current and threshold current
+f = 100e06; //frequency = 100MHz
+RIN = ((IB_Ith-1)^-3)/f;
+RIN_dB = 20*log10(RIN);
+disp(RIN_dB,'Relative Intensity Noise(RIN) in dB/Hz RIN_dB =')
+//Result
+//Relative Intensity Noise(RIN) in dB/Hz RIN_dB =
+// - 128.62728 - 136.1236 - 141.9382 - 146.68908
diff --git a/848/CH9/EX9.2/Example9_2.sce b/848/CH9/EX9.2/Example9_2.sce new file mode 100755 index 000000000..d6657f7ea --- /dev/null +++ b/848/CH9/EX9.2/Example9_2.sce @@ -0,0 +1,41 @@ +//clear//
+//Caption: Program to Find limiting conditions for pin-photodiode
+//Example9.3
+//page 323
+clear;
+clc;
+close;
+T =300;//room temperature in kelvin
+kB = 1.38054e-23; //Boltzmann's constant in Joules/k
+m =0.25; //modualtion index
+RIN_dB = -143; //Relative intensity in dB/Hz
+RIN = 10^(RIN_dB/10);
+Pc = (10^(0/10))*1e-3; //power coupled to optical fiber in dBm
+R = 0.6; //Responsivity A/w
+Be = 10e06; //bandwidth 10MHz
+ID = 10e-09; //dark current 10nA
+Req = 750; //equivalent resistance 750 ohm
+Ft = 10^(3/10); //in 3 dB
+M = 1; //Multiplication factor for pin photodiode
+R = 0.6; //responsivity in A/m
+q = 1.602e-19; //charge in coulombs
+p = 0:-1:-20;
+P = (10^(p/10))*1e-3;
+C_N_1 = 0.5*((m*R*P)^2)/(4*kB*T*Be*Ft/Req);
+C_N_3 = 0.5*m^2/(RIN*Be);
+C_N_2 = 0.5*m^2*R*P/(2*q*Be);
+figure
+plot(p,10*log10(C_N_1),'r')
+xlabel('Received Optical Power(dBm)')
+ylabel('Carrier-to-noise ratio(dB)')
+title('Carrier-to-noise ratio 1 (Preamplifier receiver noise)')
+figure
+plot(p,10*log10(C_N_2),'m')
+xlabel('Received Optical Power(dBm)')
+ylabel('Carrier-to-noise ratio(dB)')
+title('Carrier-to-noise ratio 2 (Quantum noise)')
+figure
+plot(p,10*log10(C_N_3)*ones(1,length(p)))
+xlabel('Received Optical Power(dBm)')
+ylabel('Carrier-to-noise ratio(dB)')
+title('Carrier-to-noise ratio 3 (Reflection noise)')
|