Most libraries come with a bunch of bundled models, all starting with
.subckt and ending with .end.
In between, the model is defined and all odd numbers seem to correspond to the pinout given in the .subckt line.
On the first line we see .SUBCKT (Device) 1 2 3 33 31 4 5 6 7 36 37
Lines starting with a star, meaning a comment. This I know.
What do these numbers stand for? They correspond with pin numbers of the IC, but why not
1 2 3 4 5 6 7 8 and so on?
All the other lines are not very straightforward too, so could someone please explain?
A small extraction of the whole model:
D2 15 6 DD
C3 6 7 2.20E-11
G3 15 7 15 6 4.06E+00
R7 7 15 1E3
D3 7 16 DD
V1 18 16 5.70E+00
D4 17 7 DD
V2 17 19 5.70E+00
Also the lines with . MODEL at the end are not the most obvious to read.
Again a small example:
.MODEL DD D(CJO=0.1PF IS=1E-17)
.MODEL DL D(CJO=3PF IS=1E-13)
.MODEL QI1 NPN (BF=2.29E+03 IS=8E-16)
.MODEL QI2 NPN (BF=1.63E+03 IS=9.54E-16)
It’s difficult to give the full model, all are copyrighted.
It would be helpful if someone could give the basic rules of the syntax.
Thanks
/Hugo
.subckt and ending with .end.
In between, the model is defined and all odd numbers seem to correspond to the pinout given in the .subckt line.
On the first line we see .SUBCKT (Device) 1 2 3 33 31 4 5 6 7 36 37
Lines starting with a star, meaning a comment. This I know.
What do these numbers stand for? They correspond with pin numbers of the IC, but why not
1 2 3 4 5 6 7 8 and so on?
All the other lines are not very straightforward too, so could someone please explain?
A small extraction of the whole model:
D2 15 6 DD
C3 6 7 2.20E-11
G3 15 7 15 6 4.06E+00
R7 7 15 1E3
D3 7 16 DD
V1 18 16 5.70E+00
D4 17 7 DD
V2 17 19 5.70E+00
Also the lines with . MODEL at the end are not the most obvious to read.
Again a small example:
.MODEL DD D(CJO=0.1PF IS=1E-17)
.MODEL DL D(CJO=3PF IS=1E-13)
.MODEL QI1 NPN (BF=2.29E+03 IS=8E-16)
.MODEL QI2 NPN (BF=1.63E+03 IS=9.54E-16)
It’s difficult to give the full model, all are copyrighted.
It would be helpful if someone could give the basic rules of the syntax.
Thanks
/Hugo
I'm not an expert but here goes..........
At a guess, the numbering scheme you refer to started out as a simple model (for example an early op-amp) that got improved to where the new model kept most of the old models numbers and the improvements were added in, hence the 123 33 31 456.
(if I write a spice model I find it helps me to use 1-9 for inputs, 20 - 29 for outs, maybe 30-39 for another section.....)
The "D" stands for diode, "R" for resistor, "C" for capacitor.
the MODEL DD D( -- is a standard Diode model but the CJO parameter is 0.1pF instead of whatever the standard value is.
(CJO= zero-bias junction capacitance)
Have you been to:
http://www.ecircuitcenter.com/
or here,look on left for Transistors and Diodes:
http://bwrc.eecs.berkeley.edu/Classes/IcBook/SPICE/UserGuide/elements_fr.html
At a guess, the numbering scheme you refer to started out as a simple model (for example an early op-amp) that got improved to where the new model kept most of the old models numbers and the improvements were added in, hence the 123 33 31 456.
(if I write a spice model I find it helps me to use 1-9 for inputs, 20 - 29 for outs, maybe 30-39 for another section.....)
The "D" stands for diode, "R" for resistor, "C" for capacitor.
the MODEL DD D( -- is a standard Diode model but the CJO parameter is 0.1pF instead of whatever the standard value is.
(CJO= zero-bias junction capacitance)
Have you been to:
http://www.ecircuitcenter.com/
or here,look on left for Transistors and Diodes:
http://bwrc.eecs.berkeley.edu/Classes/IcBook/SPICE/UserGuide/elements_fr.html
- Status
- Not open for further replies.