Making new component using Spice model.

Discussion on the Schematic Capture module of the Proteus Design Suite.
Post Reply
oilslick
Unlicenced User
Posts: 2
Joined: Wed 2009-12-16 21:50

Making new component using Spice model.

Post by oilslick »

Hello,

First I apologize for my English, I am learning it only since 2006.

I am using Proteus ISIS and trying to make component for a spice model I have.

I managed to make the component, bu I don't manage to associate the spice model with.

It is a triode model :

Code: Select all

* Connections: Plate
*              | Grid
*              | | Cathode
*              | | |
.SUBCKT WE300B P G K
E1  2  0  VALUE={V(P,K)+3.87*V(G,K)}
R1  2  0  1.0K
Gp  P  K  VALUE={119.5E-6*(PWR(V(2),1.5)+PWRS(V(2),1.5))/2}
Cgk G  K  9.0P
Cgp G  P  15P
Cpk P  K  4.3P
.ENDS WE300B
I have made a component with 3 pins (plate, grid and cathode), but I don't manage to make the simulation to work.

Can someone give me a link to a tutorial or a procedure to make things working ?

Thank you by advance,

OilSliCK
David
Site Admin
Posts: 2259
Joined: Mon 2006-02-20 14:56
Location: Head Office
Contact:

Re: Making new component using Spice model.

Post by David »

Hi,

Please can you E-mail a screen shot of your Help > About box to support@labcenter.co.uk. Once received we can then provide you with support.

Kind regards,
David Spencer - Labcenter Electronics.
oilslick
Unlicenced User
Posts: 2
Joined: Wed 2009-12-16 21:50

Re: Making new component using Spice model.

Post by oilslick »

I am actually using the demo.

I guess you ask me this information because you provide support only to ISIS Professionnal customers.
Andrew
Labcenter Staff
Posts: 453
Joined: Fri 2006-03-24 15:34
Contact:

Re: Making new component using Spice model.

Post by Andrew »

Hello,

You actually may not run simulation of your own schematic designs in Demo version.

Cheers,
Andrew.
David
Site Admin
Posts: 2259
Joined: Mon 2006-02-20 14:56
Location: Head Office
Contact:

Re: Making new component using Spice model.

Post by David »

Hi,

How to attached a SPICE model is fully explained in the Proteus VSM Help.

You need a drawn schematic part and a Berkeley SPICE Model ( typically in the form *.cir but extensions vary).

For simplicity I recommend you simply place the SPICE file in the ..\models directory of your Proteus installation. Basically the SPICE file has to be
in a directory specified on your MODELS path (as entered via System-Set Paths).

The following steps outline the process of attaching the SPICE model file to a library part.

1) Select the required part and click on make device.
2) Attach the correct package
3) Add the following properties (I have attached some BMP's for reference)

SPICE MODEL:
------------
- In the SPICE model property under 'default value' place the name that comes after the .subckt in the SPICE model (Please see the Spice model below).

SPICEFILE or SPICELIB:
----------------------
- If you have a *.sml or a *.LIB file with multiple SPICE models, enter the name of the file to which the particular SPICE models is in including the extension or if the model is in its own file then you have SPICEFILE and the name of the individual file including the extension.

PRIMITIVE:
----------
The SPICE model has a *.subckt so you need to add 'ANALOG,SUBCKT' in the primitive property under default value field.

PACKAGE:
--------
- This will be added automatically if you have selected the correct package. (If not then just add the property and type in the package name in
the default value field)

SPICE PINS:
-----------
In the SPICE model you will find a short list of SPICE pin names that looks like:

Node assignments
* vinp
* | common
* | | vpos
* | | | vneg
* | | | | vout
* | | | | | gpos
* | | | | | | gneg
* | | | | | | | fdbk
* | | | | | | | |
.SUBCKT AD603 3 2 99 50 48 40 41 49

Place these names in the correct order in the default value field. you must
put in the same names as what you have named the pins on your schematic
part but in the same order as above.

Then continue to make the device.
Please note that ProSPICE is based on the Berkeley SPICE kernel and may not
work with PSPICE,XSPICE,ISPICE or other variations.

Kind regards,
Dave Spencer - Labcenter Electronics.
Post Reply