0% found this document useful (0 votes)
63 views2 pages

Installer Bibliotheques Dans PSPICE

The document provides instructions for installing tube and symbol libraries in PSpice to allow for circuit simulations using vacuum tube models. It describes downloading and installing two files - the tube symbols file (TUBE.SLB) and the SPICE models file (TUBE.LIB) - through the Schematics program library settings. It also provides an example of how to define part attributes to link drawings to models in the libraries.

Uploaded by

M P
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views2 pages

Installer Bibliotheques Dans PSPICE

The document provides instructions for installing tube and symbol libraries in PSpice to allow for circuit simulations using vacuum tube models. It describes downloading and installing two files - the tube symbols file (TUBE.SLB) and the SPICE models file (TUBE.LIB) - through the Schematics program library settings. It also provides an example of how to define part attributes to link drawings to models in the libraries.

Uploaded by

M P
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Installing the tube and symbol libraries

After you've installed PSpice on your computer


you must install or create the tube models.
Although PSpice is up to level 9.1 as I write this,
I use version 6.3 for this example because I'm
familiar with it and because you can also get
away with a few more parts than newer versions
allow. I assume you've downloaded my models.
You'll need to install two files: the tube symbols
(TUBE.SLB) and SPICE models (TUBE.LIB).
Both are installed from the Schematics program.

Installing the symbol library (TUBE.SLB)--


From the Schematics screen, click Options,
Editor Configuration..., Library Settings. The
screen on the right appears. Enter the foll
pathname of the file containing the schematics
symbols, except for the extension, in the Library
Name: window,
C:\NORMK\AUDIO\TubeShar\TUBE in the
example. Check the box to the left of Symbol to
get the .slb file extension. Click OK, OK.

Installing the SPICE model library


(TUBE.LIB)-- From the Schematics
Screen, click Analysis, Library and
Include Files... The screen on the right
appears. Enter the full pathname of the
SPICE model file (including extension) in
the File Name: window,
C:\NORMK\AUDIO\TubeShar\TUBE.LI
B in the example. Click Add Library*,
OK, OK.

PSpice should be ready to run with tubes!


Creating your own models

The technique for linking drawings to models is quite complex, and the PSpice tutorial must be
studied to grasp it. It would be wise to look it over before continuing! The following steps will
bring up a good example that can be adapted for tube models. From Schematics, click on File, Edit
Library to get into the Parts Library editor. Click on File, Open..., eval.slb to open a library file that
contains some parts useful as examples. (Be patient: Your screen will still be blank at this point.)
Click on Part, Get..., IRF9410 to load the drawing for a P-channel mosfet. (Choose another part if
you desire, but this MOSFET is as close as you can get to a tube in this library.) Click on Part,
Attributes... to see the statements that define this part. For the IRF9410, they are
template=M^@refdes %d %g %s %s @MODEL
refdes=M?

PART=IRF9140
MODEL=IRF9140

Template links the part to the model library: With appropriate substitutions, for example, IRF9140
for @MODEL, it appears in the netlist. A number on the schematic diagram replaces ? in refdes. To
alter an attribute, click on it in the box on the right and edit it in the boxes on the upper left. The
attributes of the 12AX7 that link it to its subcircuit in TUBE.LIB are:
template=X^@REFDES %P %G %C @MODEL
refdes=TU?
PART=12AX7
MODEL=12AX7

To create a new library file, click on File, New, then File, Save as..., tube.slb (or a full path name of
your choice). To insert a part into the new library file, draw it following instructions in the tutorial
or modify an existing part (such as the IRF9410), then save it by clicking Part, Save to Library...
Either type the library file name or use the usual Windows navigation techniques to locate it. Good
luck and please do the tutorial.
Parts are entered into PSpice Schematics drawings by clicking on the little box with the "and" gate.
You can enter "R", "L", "C", "BUBBLE", etc. for common parts, or click on Browse... to examine a
library of parts. I recommend using the rubberband option, which can be set by clicking Options,
Display Options..., Rubberband. Named nodes (1G, 1P, etc.), which are created by double-clicking
on lines and entering a name, are required for voltages to be examined in Probe. Input files to
Schematics have the three character extension .SCH. Clicking Analysis, Create Netlist creates files
with extensions .CIR (the control file), .NET (the netlist), and .ALS (an alias file which speeds up
analysis) which are used as inputs to Pspice. The .CIR and .NET files contain ASCII text in SPICE
format, as described in Paul Tuinenga's excellent text10. Clicking Analysis, Simulate creates the
netlist, runs Pspice, and loads Probe to display results. Press the Insert key to select a voltage or
current for Probe display. You can use "VDB" or "VP" to display a voltage in dB or its phase in
degrees. There are many more possibilities for controlling the display.

You might also like