¿ªÔÆÌåÓý

I added a CD4007 model


 

Hi all,
I was missing a CD4007 model, so there it is.
It is bare bones hierarchical model (so far) that I left that way so that it is easier to check what I did. If everything goes well, I'll make a subcircuit out of it.
The transistors models are based on the 4007 library used at csupomona.edu, like this:

.model NMOS NMOS LEVEL=2 VTo=1.4 Kp=.6m LAMBDA=0.005

.model PMOS PMOS LEVEL=2 VTo=-1.0 KP=.6m LAMBDA=0.01

No diodes or capacitances, and no resistors in this model. Just MOSFETs. Surprisingly this simple model produces a very nice Rds_on transfer plot, and triggers no alarms in error log.
So far I'm happy with it.

In CD4007L2_h.asc which is a hierarchy file i placed some comments about an easy way procedure of making a symbol out of a hierarchy, but please don't consider it a tutorial of any kind.


 

Hello,

The model DC characteristic may be ok, but? model with no capacitances is not reasonable.? You might be better off using LTspice logic devices.

Rick



On Saturday, December 7, 2013 6:46 PM, "davorslistdepot@..." wrote:
?
Hi all,
I was missing a CD4007 model, so there it is.
It is bare bones hierarchical model (so far) that I left that way so that it is easier to check what I did. If everything goes well, I'll make a subcircuit out of it.
The transistors models are based on the 4007 library used at csupomona.edu, like this:

.model NMOS NMOS LEVEL=2 VTo=1.4 Kp=.6m LAMBDA=0.005

.model PMOS PMOS LEVEL=2 VTo=-1.0 KP=.6m LAMBDA=0.01

No diodes or capacitances, and no resistors in this model. Just MOSFETs. Surprisingly this simple model produces a very nice Rds_on transfer plot, and triggers no alarms in error log.
So far I'm happy with it.

In CD4007L2_h.asc which is a hierarchy file i placed some comments about an easy way procedure of making a symbol out of a hierarchy, but please don't consider it a tutorial of any kind.



 

Hello,

The model DC characteristic may be ok, but? model with no capacitances is not reasonable.? You might be better off using LTspice logic devices.

Rick



On Saturday, December 7, 2013 6:46 PM, "davorslistdepot@..." wrote:
?
Hi all,
I was missing a CD4007 model, so there it is.
It is bare bones hierarchical model (so far) that I left that way so that it is easier to check what I did. If everything goes well, I'll make a subcircuit out of it.
The transistors models are based on the 4007 library used at csupomona.edu, like this:

.model NMOS NMOS LEVEL=2 VTo=1.4 Kp=.6m LAMBDA=0.005

.model PMOS PMOS LEVEL=2 VTo=-1.0 KP=.6m LAMBDA=0.01

No diodes or capacitances, and no resistors in this model. Just MOSFETs. Surprisingly this simple model produces a very nice Rds_on transfer plot, and triggers no alarms in error log.
So far I'm happy with it.

In CD4007L2_h.asc which is a hierarchy file i placed some comments about an easy way procedure of making a symbol out of a hierarchy, but please don't consider it a tutorial of any kind.



 

Hello

There is another example "" with the CD4007 in our Files section.


http://groups.yahoo.com/neo/groups/LTspice/files/%20Lib/


Best regards,

Helmut


 

True, but that one's transistors' model is more off than this one, and there is no proper symbol that goes with it. I tried that model and I was not happy at all. For the vast majority of my projects a simple model is far better than the one with all the perks attached.
I've tried some models that at first seemed more elaborate than this one, and they mostly sucked at DC, and took forever to converge in transient. I can imagine several applications where various parasitics come to play, but the funniest part is that people who push the models to the limit often use only W and L and nothing else.

Replacing the model I supplied is incredibly easy, so whoever has a better model than this one, please share it.

I tried also this:

.model NMOS NMOS LEVEL=1 VTO=1.4
+ L=5e-6 W=124e-6 TOX=1080e-10
+ LAMBDA=0.01 KP=20e-6 PHI=0.6 GAMMA=1.5
**
.model PMOS PMOS LEVEL=1 VTO=-1.4
+ L=5e-6 W=480e-6 TOX=1080e-10
+ LAMBDA=0.02 KP=6e-6 PHI=0.6 GAMMA=1.5

and this:

.model NMOS NMOS Level=1 Gamma=0
+ Tox=1200n Phi=.6 Rs=0 Kp=111u Vto=2.0
+ Lambda=0.01 Rd=0 Cbd=2.0p Cbs=2.0p
+ Pb=.8 Cgso=0.1p Cgdo=0.1p Is=16.64p N=1
**
.model PMOS PMOS Level=1 Gamma=0
+ Tox=1200n Phi=.6 Rs=0 Kp=55u Vto=1.5
+ Lambda=0.04 Rd=0 Cbd=4.0p Cbs=4.0p
+ Pb=.8 Cgso=0.2p Cgdo=0.2p Is=16.64p N=1

and also this one that performed much better than the rest of them:
(attributed by kcin_melnick, see message #16897)
?
.MODEL NMOS NMOS (
+ LEVEL=1 VTO=1.44 KP=320u L=10u W=30u GAMMA=0 PHI=.6 LAMBDA=10m
+ RD=23.2 RS=90.1 IS=16.64p CBD=2.0p CBS=2.0p CGSO=0.1p CGDO=0.1p
+ PB=.8 TOX=1200n)
?
.MODEL PMOS PMOS (
+ LEVEL=1 VTO=-1.2 KP=110u L=10U W=60U GAMMA=0 PHI=.6 LAMBDA=40m
+ RD=21.2 RS=62.2 IS=16.64P CBD=4.0P CBS=4.0P CGSO=0.2P CGDO=0.2P
+ PB=.8 TOX=1200N)



The last one has also more realistic DC transfer. I could go with that one.