1 |
florent_ba |
1 |
*Increase mdl_k ->> Decrease mdl_kdisc ! Bad discontinuitites otherwise
|
|
|
2 |
.SUBCKT laser_diode LA LK OPTW PARAMS: seff=0.8 ith=15m cjo=16p RS=0.1 mdl_k=22 mdl_kdisc=5.92
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
*voltage source to measure diode current
|
|
|
6 |
VIMEAS LA ANODE DC 0
|
|
|
7 |
DLASER ANODE LK diode_basic
|
|
|
8 |
|
|
|
9 |
*Optical power from ABM source
|
|
|
10 |
*Use of softplus function for 1/2 continuous model
|
|
|
11 |
*2.66 is the value of the exp. temperature factor at 125°C
|
|
|
12 |
|
|
|
13 |
BVOPT OPTW 0 V = if(I(VIMEAS) - mdl_kdisc*ith - 0.5,
|
|
|
14 |
+seff*(I(VIMEAS) - ith*exp((temp - 27)/100)),
|
|
|
15 |
+(seff/mdl_k) * ln(1 + exp(mdl_k*(I(VIMEAS) - ith * exp((temp - 27)/100) )) ))
|
|
|
16 |
|
|
|
17 |
.model diode_basic D(RS={RS})
|
|
|
18 |
|
|
|
19 |
.ends
|