Question about importing spice models
-
- Professional User
- Posts: 6
- Joined: Wed 2023-04-12 17:08
Question about importing spice models
Dear Mr/Mrs,
I've imported the hardware design of the SFH6916 optocoupler. I've found a spice model
(see below) but run into trouble when following the tutorial on simulation.
The problem I ran into is the following:
- I've defined the PRIMITIVE property, THe SPICEMODEL, the SPICEFILE and the SPICEPINS.
- The SPICEPINS seems to be the problem I've got the spice model from here:
https://www.vishay.com/product/83687/ta ... tools-ppg/
I've imported the hardware design of the SFH6916 optocoupler. I've found a spice model
(see below) but run into trouble when following the tutorial on simulation.
The problem I ran into is the following:
- I've defined the PRIMITIVE property, THe SPICEMODEL, the SPICEFILE and the SPICEPINS.
- The SPICEPINS seems to be the problem I've got the spice model from here:
https://www.vishay.com/product/83687/ta ... tools-ppg/
Re: Question about importing spice models
Hi,
I don't think that this is a Berkley SPICE model so therefore not supported... But I will check with the Dev guys, thanks.
Regards,
Dave.
I don't think that this is a Berkley SPICE model so therefore not supported... But I will check with the Dev guys, thanks.
Regards,
Dave.
Re: Question about importing spice models
Unfortunately this is a PSPICE Cadence format model which is not Berkley SPICE format supported, as said.
However, in this case it's possible to translate it in PROSPICE primitives (the Proteus SPICE).
To get the translated model and instruction how to use it, go to LIBRARIES AND MODELS->"Library and Model Requests" licensed user's forum: the topic is "SFH6916 model".
However, in this case it's possible to translate it in PROSPICE primitives (the Proteus SPICE).
To get the translated model and instruction how to use it, go to LIBRARIES AND MODELS->"Library and Model Requests" licensed user's forum: the topic is "SFH6916 model".
Kind regards,
Ettore Arena - Labcenter Electronics.
Ettore Arena - Labcenter Electronics.
-
- Professional User
- Posts: 6
- Joined: Wed 2023-04-12 17:08
Re: Question about importing spice models
Where can i find this forum. What is the url?LIBRARIES AND MODELS->"Library and Model Requests" licensed user's forum
Re: Question about importing spice models
As your status appears as "Professional User" you should see almost all additional forum sections. The link is here, let us know if you can see it. viewtopic.php?t=8378
Kind regards,
Ettore Arena - Labcenter Electronics.
Ettore Arena - Labcenter Electronics.
-
- Professional User
- Posts: 6
- Joined: Wed 2023-04-12 17:08
Re: Question about importing spice models
Okay i've managed to follow the steps in the LIBRARY AND MODELS forum.
So what I dit was the following and try to attach the MODEL FILE to my SFH6916 model:
In you're example project you can zoom in on the opto-coupler and there is the schematic model of the opto-coupler defined and the pins .
But I don't now how to do that with my existing model, since there is no child sheet in my existing device.
So what I dit was the following and try to attach the MODEL FILE to my SFH6916 model:
- I put the BJT_5MA.MDF in de models directory.
- I've defined a property MODFILE=BJT_5MA.MDF
- I've defined a property REL_CTR=1.
- I've defined a property BF=100
In you're example project you can zoom in on the opto-coupler and there is the schematic model of the opto-coupler defined and the pins .
But I don't now how to do that with my existing model, since there is no child sheet in my existing device.
-
- Professional User
- Posts: 6
- Joined: Wed 2023-04-12 17:08
Re: Question about importing spice models
Could you please post your project test file ?
I'm not exactly sure what are you doing but It seems you're drawing a single part with 4 couplers where I was expecting you were making a Multi-Element Homogeneous Device with four identical sections as for example like LM324. The BJT_5MA.MDF model is for only one section, though.
I'm not exactly sure what are you doing but It seems you're drawing a single part with 4 couplers where I was expecting you were making a Multi-Element Homogeneous Device with four identical sections as for example like LM324. The BJT_5MA.MDF model is for only one section, though.
Kind regards,
Ettore Arena - Labcenter Electronics.
Ettore Arena - Labcenter Electronics.
-
- Professional User
- Posts: 6
- Joined: Wed 2023-04-12 17:08
Re: Question about importing spice models
In the attachment i've included the testproject a 5Vdc to 24Vdc 0,5A driver circuit.
- Attachments
-
- Test1a.pdsprj
- (22.13 KiB) Downloaded 1072 times
Re: Question about importing spice models
Ok, here it is your version fixed. Type CTRL+C when your mouse pointer is over U1 to see how you should have done that to make it to work.
However I think that a more professional method (and much better adopted practice) is what we call Multi-Element Homogeneous Device. You see that approach in SSH6916.pdsprj file. The SSH6916_test.pdsprj is the your test project with Multi-Element Homogeneous Device approach. In order to work both TIP117.LIB and BJT_5MA.MDF models must be in the same directory of those projects.
However I think that a more professional method (and much better adopted practice) is what we call Multi-Element Homogeneous Device. You see that approach in SSH6916.pdsprj file. The SSH6916_test.pdsprj is the your test project with Multi-Element Homogeneous Device approach. In order to work both TIP117.LIB and BJT_5MA.MDF models must be in the same directory of those projects.
Kind regards,
Ettore Arena - Labcenter Electronics.
Ettore Arena - Labcenter Electronics.
-
- Professional User
- Posts: 6
- Joined: Wed 2023-04-12 17:08
Re: Question about importing spice models
Thanks very much.