blob: d18d101a79f368d96c5318285e1df0b6abd421a7 (
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
|
// Example 6.31
// Calculation of a)peak photocurrent , b)shot noise and c)mean square shot noise current
// Page no 489
clc;
clear;
close;
//Given data
n=0.7; // Efficiency
lambda=0.9*10^-6; // Wavelength
R=5*10^3; // Load resistance
I=2*10^-9; // Dark current
P=300*10^-6; // Incident power
B=15*10^6; // Bandwidth
T=298; // Room temperature
h=6.62*10^-34;
c=3*10^8;
e=1.602*10^-19; // Charge of an electron
k=1.381*10^-23; // Boltzman constant
// a)Peak photocurrent
I=(n*P*e*lambda)/(h*c);
I=I*10^6;
//b) Shot noise and mean square shot noise current
s=2*e*B*(2+I);
s=s*10^11;
//c) mean square shot noise current
t=(4*k*T*B)/R;
t=t*10^17;
//Displaying results in the command window
printf("\n Peak photocurrent (in nA)= %0.3f ",I);
printf("\n Shot noise(in 10^-20 A)0 = %0.1f ",s);
printf("\n Mean square shot noise current(in 10^-17 A) = %0.2f ",t);
// The answers vary due to round off error
|