Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: How to use spice model script in TINA

$
0
0

Fenny,

You need to import the model into TINA-TI. Use the New Macro Wizard. However, the information you have shown is missing a couple of key items. First, you only have the model parameters and no .MODEL statement. Second, you do not have a name for the model. The model file should look more like this:

.MODEL <NAME> NPN (<Parameters>)

The parenthesis are not usually necessary, however, some simulators do require them. In this case, I have changed the model file to:

.MODEL NTRAN NPN (Is=44.14f Xti=3 Eg=1.11 Vaf=100 Bf=78.32 Ne=1.389 Ise=91.95f Ikf=.3498 Xtb=1.5 Br=12.69m Nc=2 Isc=0 Ikr=0 Rc=.6 Cjc=2.83p Mjc=86.19m Vjc=.75 Fc=.5 Cje=4.5p Mje=.2418 Vje=.75 Tr=1.073u Tf=227.6p Itf=.3 Vtf=4 Xtf=4 Rb=10)

To import, use the New Marco Wizard under the Tools menu:

Choose a name for the device and navigate to the saved location of the model file (in this case, NTRAN.LIB). Hit Next to continue. Since this is a .MODEL statement, the connecivity is automatically assigned by TINA and the next window will be blank:

Simply hit Next and save the new .TSM file. You will then be asked if you want to place it and here is the result:

See below for the attached .TSM file. It can be placed using the Insert --> Macro function in TINA-TI.

Britt

(Please visit the site to view this file)


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>