Rev 1 | Blame | Compare with Previous | Last modification | View Log | RSS feed
*Increase mdl_k ->> Decrease mdl_kdisc ! Bad discontinuitites otherwise
.SUBCKT laser_diode LA LK OPTW PARAMS: seff=0.8 ith=15m cjo=16p RS=0.1 mdl_k=22 mdl_kdisc=5.92
*voltage source to measure diode current
VIMEAS LA ANODE DC 0
DLASER ANODE LK diode_basic
*Optical power from ABM source
*Use of softplus function for 1/2 continuous model
*2.66 is the value of the exp. temperature factor at 125°C
BVOPT OPTW 0 V = if(I(VIMEAS) - mdl_kdisc*ith - 0.5,
+seff*(I(VIMEAS) - ith*exp((temp - 27)/100)),
+(seff/mdl_k) * ln(1 + exp(mdl_k*(I(VIMEAS) - ith * exp((temp - 27)/100) )) ))
.model diode_basic D(RS={RS})
.ends