1 |
florent_ba |
1 |
*Increase mdl_k ->> Decrease mdl_kdisc ! Bad discontinuitites otherwise
|
|
|
2 |
.SUBCKT p_type_laser_diode LA LK MA MK OPTW PARAMS: seff=0.8 ith=15m cjo=16p pmdsens=1.3u 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 fully continuous model
|
|
|
11 |
*2.66 is the value of the exp. temperature factor at 125°C
|
|
|
12 |
*BVOPT OPTW 0 V = { (seff/mdl_k) * ln(1 + exp(mdl_k*(I(VIMEAS) - ith * exp((temp - 27)/100) )) ) }
|
|
|
13 |
|
|
|
14 |
BVOPT OPTW 0 V = if(I(VIMEAS) - mdl_kdisc*ith - 0.5,
|
|
|
15 |
+seff*(I(VIMEAS) - ith*exp((temp - 27)/100)),
|
|
|
16 |
+(seff/mdl_k) * ln(1 + exp(mdl_k*(I(VIMEAS) - ith * exp((temp - 27)/100) )) ))
|
|
|
17 |
*Monitor photodiode basic model
|
|
|
18 |
*including junction capacitance vatiation Vs reverse bias
|
|
|
19 |
DMONITOR MA CAT dhigh_juncvar
|
|
|
20 |
RSH MA CAT 5e9
|
|
|
21 |
RS CAT MK 20
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
*Flow -->>m
|
|
|
25 |
GPH CAT MA OPTW 0 {pmdsens}
|
|
|
26 |
|
|
|
27 |
.model dhigh_juncvar D(CJO={cjo})
|
|
|
28 |
.model diode_basic D(RS=0.1)
|
|
|
29 |
|
|
|
30 |
.ends
|