H
HAYK
I have this model that runs with Tina, LT does not recognize it and I found another model from Fairchild. Lib, same.
What to do?
What to do?
Attachments
Last edited by a moderator:
The LTspice built-in NMOS symbol expects a device defined with the .MODEL directive, but your 2N7000 model is defined as a .SUBCKT. You need to use a different symbol when using a device defined as a subcircuit.
Attached is a subcircuit-compatible NMOS symbol (the x prefix identifies it as a subcircuit symbol). LTspice symbol files have an .asy extension but the forum won't allow uploading .asy files, so this symbol file is named xnmos.asy.txt. Rename the symbol file to xnmos.asy before trying to use it.
I hope this helps.
Attached is a subcircuit-compatible NMOS symbol (the x prefix identifies it as a subcircuit symbol). LTspice symbol files have an .asy extension but the forum won't allow uploading .asy files, so this symbol file is named xnmos.asy.txt. Rename the symbol file to xnmos.asy before trying to use it.
I hope this helps.
Attachments
The 2N7002 is very close, and it is part of the native library:
https://www.onsemi.com/pdf/datasheet/nds7002a-d.pdf
https://www.onsemi.com/pdf/datasheet/nds7002a-d.pdf
H
HAYK
Thank you for the advices. I remembered that LT can import SUBCKT in auto-generated file that I have added a collection of ICs in the native repertory.
https://www.analog.com/en/technical-articles/ltspice-simple-steps-to-import-third-party-models.html
Now I have the Onsemi and the Fairchild but circuits can't be shared. Of course better to use the 7002.
Thank you very much.
https://www.analog.com/en/technical-articles/ltspice-simple-steps-to-import-third-party-models.html
Now I have the Onsemi and the Fairchild but circuits can't be shared. Of course better to use the 7002.
Thank you very much.
You can create a symbol for each device subcircuit like you have done, and some people prefer that approach. But with the symbol I provided you can "share" that one symbol with other NMOS devices, just like you do with the LTspice built-in symbols. You just place that symbol on your schematic, include the model file on the schematic, and name the device instance to whatever the subcircuit name is. That's my preferred method because I only need one symbol, and can place all of the related SPICE models into one library file.