how to diode spice model in proteus

Status
Not open for further replies.

okbro

Member
Does anybody know how to attach spice model file for diode in proteus. I am trying to make a new 1N5817 component with spice file which i have already downloaded the file 1n5817.lib and put in the library folder.
From the help file in proteus it says to create PRIMITIVE and SPICEMODEL properties as shown below.


And I have added the properties as shown below while creating the diode part,



But when i run simulation it shows error:
 
In the simulation help file it shows exactly how to do this.. You will need to be able to read the spice file to get the exact model to reference.
 
In the simulation help file it shows exactly how to do this.. You will need to be able to read the spice file to get the exact model to reference.
this is what i referenced to and mentioned above, it is not working. there is one example with transistor and it says diode should be similarly configured so i followed it as shown in my post above but i don't what to put in the two properties SPICEMODEL and PRIMITIVE. For PRIMITIVE in the help file for 2N2222 transistor it says to put PRIMITIVE=ANALOGUE,NPN but for diode i dont know what to put, so i put PRIMITIVE=ANALOGUE,D guessing D is for diode. And for SPICEMODEL i wrote DI_1N5817,1N5817.LIB because the spice file has this:


and its not working
 
Yep same as I have done... I asked Ettore at Labcenter and he sent this.
 

Attachments

  • 1N5817.zip
    2.7 KB · Views: 235
The text file has to be in the project directory
But here are the properties
 

Attachments

  • Capture2.jpg
    67.3 KB · Views: 224
Its not an error.. It is just telling you that one of the parameters has to be slightly modified.
In this case the breakdown current..

The cathode isn't specified??

When I make a part I grab a close match first... Starting from scratch is problematic.

I do not get the pin bind error on mine..
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…