• Answer Suggested

TINA/Spice: Can't import .mod spice models

Tool/software: TINA-TI or Spice Models

Does Tina- TI still support importing spice models in .mod form?I can't select my model in the net list editor as it's only giving me the option of .CIR and .LIB extensions.

  • user4938762,

    You should not be using the Netlist editor (File-->Import...). The Netlist Editor is used for importing ready to simulate circuits into TINA-TI, not a single model.

    Please use the New Macro Wizard (Tools-->New Macro Wizard...) to create a macro for your individual model along with the symbol and connectivity. It will look for .MOD files when you open the tool.

    Additionally, you could simply rename the file to a .lib or .cir extension...

    Britt

    Online Design Tools

  • In reply to Britt Brooks - Online Design Tools:

    Thanks Britt,

    The new Macro still won't recognize my files.I have downloaded the spice models and copied them to a text file(notebook) and added the extension.mod or .MOD but it will not recognize the files.Any idea where I'm going wrong?

    Thanks

    Lawrence

  • In reply to user4938762:

    I've managed to get Tina to recognize my .mod spice file but now when i try to open it I get the following message: Missing number.Line:#1. .MODEL 2SC5200 NPN(

    Here is the model I'm trying to import into the Macro Wizard saved on to my desk top: 

    .MODEL 2SC5200 NPN (
    + IS=3.0463E-11 BF=96.20 VAF=100 IKF=15.04256 ISE=5.6190E-11 NE=2.0 BR=4.849 IKR=1.05012 VAR=100 ISC=7.18E-8 NC=1.5 RE=0.0025
    + RB=20.18 RBM=0.0014 IRB=1.0E-7 RC=0.01137 CJE=4.5000E-10 CJC=8.4915E-10 VJC=0.68977 MJC=0.54081 TF=6.8583E-10
    + XTF=9.5721 VTF=10.425 ITF=6.8697E-2 TR=1.000E-8 XTB=1.45 EG=0.82 FC=0.5 mfg=Toshiba)

    Could someone tell me what to edit in the text so that Tina will accept the model please.

    Thanks

    Lawrence

  • In reply to user4938762:

    Lawrence,

    Here is what I used to get the file to import properly.

    2SC5200.lib

    I believe that TINA did not like the mfg field.

    Here is the .TSM file that was created.

    2SC5200.TSM

    Please note that there are several videos on TINA-TI and how to import .MODEL and .SUBCKT devices into TINA-TI. They can be found here:

    Britt

    Online Design Tools

  • In reply to Britt Brooks - Online Design Tools:

    Thanks Britt,
    I've now been able to create a working macro-great!
    Lawrence