blob: 3b611b7fbdb5d7fd5cc27545653f46947e5fc723 (
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
|
//Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
//Example 10.3.2
//windows 7
//Scilab version-6.0.0
clc;
clear ;
//given
tau=2E-9;//Carrier recombination lifetime in s
Ith=90E-3;//threshold current in A
Ip=40E-3;//amplitude of modulation current in A
//case 1
Ib=80E-3;//Assumed bias current in A
Td=tau*log(Ip/(Ip+Ib-Ith));
mprintf("The delay time for broad-area laser diode with Ib %.2f mA= %.2f ns",Ib*1e3,Td*1E+9);
//case 2
Ib=70E-3;//Assumed bias current in A
Td=tau*log(Ip/(Ip+Ib-Ith));
mprintf("\nThe delay time for broad-area laser diode with Ib %.2f mA= %.2f ns",Ib*1e3,Td*1E+9);
//case 3
Ib=90E-3;//Assumed bias current in A
Td=abs(tau*log(Ip/(Ip+Ib-Ith)));
mprintf("\nThe delay time for broad-area laser diode with Ib %.2f mA= %.2f ns",Ib*1e3,Td*1E+9);
//multiplication by 1e3 to convert unit to mA from A and multiplication by 1e9 to convert unit from s to ns
//the answers vary due to rounding
|