zoodlewurdle
New Member
Please can someone help me with this? Consider it a fishing lesson, I'm all for catching my own fish when I know how.
I have a laser diode model from an EDN publication, attached PDF file.. It's from EDN so is likely well-tested and fully and simply explained, but I still can't see how to convert to LTspice based on what I've learned this week.
Here's the net list typed out to save time and effort:
LTspice shows errors suggesting it's not complete, and I'm sure it isn't, the model in the PDF probably has to translate somehow to lines in a .sub file that include that net list and begin with a .subckt line defining a name and the main nodes/pins it has. There also seem to be some odd brackets in that netlist. I copied it VERY carefully but it looks like LTspice isn't having any...
If someone can do me a complete working set of asy and sub files for this, please do. You won't be wasting your efforts, I'll be picking it open to see how it works so I can do it myself next time. Given the scarcity of working laser diode models ANYWHERE you'll certainly please more than me if you do this.
The EDN file:
I have a laser diode model from an EDN publication, attached PDF file.. It's from EDN so is likely well-tested and fully and simply explained, but I still can't see how to convert to LTspice based on what I've learned this week.
Here's the net list typed out to save time and effort:
Code:
Vlas 100 50 1
Dlas 50 200 diode1
F1 0 1 Vlas 1
Rs 1 0 {Sm*sps}
I1 2 0 {Sm*sps*Ith*exp((T/25)-1)}
G1 0 2 1 0 1
Rlim 2 0 1Meg
Ds 2 3 diode
Vm 3 0 0
F2 300 400 Vm 1
Dmon 300 400 diode
Cmon 300 400 Cmon
.model diode d
.model diode d rs=5
.ENDS
LTspice shows errors suggesting it's not complete, and I'm sure it isn't, the model in the PDF probably has to translate somehow to lines in a .sub file that include that net list and begin with a .subckt line defining a name and the main nodes/pins it has. There also seem to be some odd brackets in that netlist. I copied it VERY carefully but it looks like LTspice isn't having any...
If someone can do me a complete working set of asy and sub files for this, please do. You won't be wasting your efforts, I'll be picking it open to see how it works so I can do it myself next time. Given the scarcity of working laser diode models ANYWHERE you'll certainly please more than me if you do this.
The EDN file: