Attaching new SPICE model

Discussion on both general simulation and Proteus VSM microcontroller simulation.
Post Reply
mosfet50
Professional User
Posts: 209
Joined: Fri 2010-04-23 12:18

Attaching new SPICE model

Post by mosfet50 »

I'm trying to attach a model but my simulator is not seeing it.
Attachments
Capture3.JPG
Capture3.JPG (51.14 KiB) Viewed 1378 times
Capture2.JPG
Capture2.JPG (49.25 KiB) Viewed 1378 times
Capture1.JPG
Capture1.JPG (45.05 KiB) Viewed 1378 times
Pro 2 with advanced simulation
mosfet50
Professional User
Posts: 209
Joined: Fri 2010-04-23 12:18

Re: Attaching new SPICE model

Post by mosfet50 »

the rest of the attachments

Thanks for your time and help,
Rob
Attachments
Capture6.JPG
Capture6.JPG (24.53 KiB) Viewed 1377 times
Capture5.JPG
Capture5.JPG (20.21 KiB) Viewed 1377 times
Capture4.JPG
Capture4.JPG (40.33 KiB) Viewed 1377 times
Pro 2 with advanced simulation
Ettore
Labcenter Staff
Posts: 2935
Joined: Fri 2006-03-03 11:56
Location: Milan
Contact:

Re: Attaching new SPICE model

Post by Ettore »

The settings you've posted look correct.
I believe the string "; REF 6/2/93" to the end of .SUBCKT line is the problem. SPICE3F5 won't recognize it as a comment.
You should delete it or add it to a new empty line by using the syntax like that: * REV 6/2/93

Just a quick note about the model; if it is that reported in the FAIRCHILD's datasheet then you should be aware that it is a PSPICE model so it might get some convergence issues because, possibly, to the VSWITCH models.
Kind regards,
Ettore Arena - Labcenter Electronics.
mosfet50
Professional User
Posts: 209
Joined: Fri 2010-04-23 12:18

Re: Attaching new SPICE model

Post by mosfet50 »

Ettore wrote:The settings you've posted look correct.
I believe the string "; REF 6/2/93" to the end of .SUBCKT line is the problem. SPICE3F5 won't recognize it as a comment.
You should delete it or add it to a new empty line by using the syntax like that: * REV 6/2/93

Just a quick note about the model; if it is that reported in the FAIRCHILD's datasheet then you should be aware that it is a PSPICE model so it might get some convergence issues because, possibly, to the VSWITCH models.
That didn't fix it.
A small note, I think there's an error in the help, should this read "SPICEFILE" AND NOT "SPICEMODEL"?
Attachments
Capture7.JPG
Capture7.JPG (77.89 KiB) Viewed 1361 times
Pro 2 with advanced simulation
David
Site Admin
Posts: 2267
Joined: Mon 2006-02-20 14:56
Location: Head Office
Contact:

Re: Attaching new SPICE model

Post by David »

Hi,

I believe for Primitive you should have analog,subckt and not analog.subckt i.e. comma and not full stop.

Regards,
Dave.
mosfet50
Professional User
Posts: 209
Joined: Fri 2010-04-23 12:18

Re: Attaching new SPICE model

Post by mosfet50 »

Thanks David that worked. How accurate the SPICE is I'll have to see.
Pro 2 with advanced simulation
mike3563
Unlicenced User
Posts: 4
Joined: Tue 2021-01-19 21:32

Re: Attaching new SPICE model

Post by mike3563 »

Hello!

I ask for help for a very similar problem. I need to simulate an OpAmp which is not in the standard libraries.

I found the ECAD file at https://componentsearchengine.com/searc ... rm=LTC6400 and imported to Proteus. Obviously, this package does not include the SPICE instructions that are stored in a separate file and are of the following type:

Code: Select all

* Pinout (same as IC): IN- VOCM V+ OUT+ OUT- V- EN/ IN+ -OUTF +OUTF
.SUBCKT LTC6400-26 1 2 3 4 5 6 7 8 9 10
CG1P 26 0 0.4E-9
CG3P 28 0 20E-12
CG5M 25 0 10E-12
CG5P 24 0 10E-12
*CIN2 3 8a 1p
*CIN3 1a 3 1p
*CIN4 6 8a 1p
*CIN5 1a 6 1p
COCM1 61 0 70p
COCM3 6 2 4E-12
CPSRR1 53 3 4e-14
CPSRR2 54 6 4e-14
I saved these instructions in TXT format in the "Models" folder, however the simulation does not work as the simulation has no output signal. Furthermore, the Spice model is not found in the library. I might assume that the Spice instructions I have are not compatible with Proteus. What do you think?
Attachments
1.PNG
1.PNG (82.46 KiB) Viewed 1272 times
mosfet50
Professional User
Posts: 209
Joined: Fri 2010-04-23 12:18

Re: Attaching new SPICE model

Post by mosfet50 »

mike3563 wrote:Hello!

I ask for help for a very similar problem. I need to simulate an OpAmp which is not in the standard libraries.

I found the ECAD file at https://componentsearchengine.com/searc ... rm=LTC6400 and imported to Proteus. Obviously, this package does not include the SPICE instructions that are stored in a separate file and are of the following type:

Code: Select all

* Pinout (same as IC): IN- VOCM V+ OUT+ OUT- V- EN/ IN+ -OUTF +OUTF
.SUBCKT LTC6400-26 1 2 3 4 5 6 7 8 9 10
CG1P 26 0 0.4E-9
CG3P 28 0 20E-12
CG5M 25 0 10E-12
CG5P 24 0 10E-12
*CIN2 3 8a 1p
*CIN3 1a 3 1p
*CIN4 6 8a 1p
*CIN5 1a 6 1p
COCM1 61 0 70p
COCM3 6 2 4E-12
CPSRR1 53 3 4e-14
CPSRR2 54 6 4e-14
I saved these instructions in TXT format in the "Models" folder, however the simulation does not work as the simulation has no output signal. Furthermore, the Spice model is not found in the library. I might assume that the Spice instructions I have are not compatible with Proteus. What do you think?
There's no SPICEMODEL default value listed, it should read "LTC6400-26".
Pro 2 with advanced simulation
Ettore
Labcenter Staff
Posts: 2935
Joined: Fri 2006-03-03 11:56
Location: Milan
Contact:

Re: Attaching new SPICE model

Post by Ettore »

mike3563 wrote:Hello!

I ask for help for a very similar problem. I need to simulate an OpAmp which is not in the standard libraries.

I found the ECAD file at https://componentsearchengine.com/searc ... rm=LTC6400 and imported to Proteus. Obviously, this package does not include the SPICE instructions that are stored in a separate file and are of the following type:

Code: Select all

* Pinout (same as IC): IN- VOCM V+ OUT+ OUT- V- EN/ IN+ -OUTF +OUTF
.SUBCKT LTC6400-26 1 2 3 4 5 6 7 8 9 10
CG1P 26 0 0.4E-9
CG3P 28 0 20E-12
CG5M 25 0 10E-12
CG5P 24 0 10E-12
*CIN2 3 8a 1p
*CIN3 1a 3 1p
*CIN4 6 8a 1p
*CIN5 1a 6 1p
COCM1 61 0 70p
COCM3 6 2 4E-12
CPSRR1 53 3 4e-14
CPSRR2 54 6 4e-14
I saved these instructions in TXT format in the "Models" folder, however the simulation does not work as the simulation has no output signal. Furthermore, the Spice model is not found in the library. I might assume that the Spice instructions I have are not compatible with Proteus. What do you think?
Just out of curiosity, where did you find that SPICE file from ?
However, in order to check SPICE compatibility you should attach the entire SPICE model file.
Kind regards,
Ettore Arena - Labcenter Electronics.
mike3563
Unlicenced User
Posts: 4
Joined: Tue 2021-01-19 21:32

Re: Attaching new SPICE model

Post by mike3563 »

It is part of a library that I found some time ago I think in a forum but I do not know its origin. Maybe extracted from some other Spice program. It is not produced by me. But maybe it's not compatible.
Ettore
Labcenter Staff
Posts: 2935
Joined: Fri 2006-03-03 11:56
Location: Milan
Contact:

Re: Attaching new SPICE model

Post by Ettore »

mike3563 wrote:...But maybe it's not compatible.
You never know... :roll:
LTC6400-20, LTC6400-26 and LTC6401-8, LTC6401-20, LTC6401-26 parts and related simulation support will be added to 8.12 release.
Kind regards,
Ettore Arena - Labcenter Electronics.
mike3563
Unlicenced User
Posts: 4
Joined: Tue 2021-01-19 21:32

Re: Attaching new SPICE model

Post by mike3563 »

Hi,It is more than good news that they will be included in the next version. Will they possibly also be simulated in the demo version? In the meanwhile i had to do some research because I could no longer find those data. However, I also found them on LTSpice which provides the .asy file and a .LIB file contained in the sub folder which also contains the data relating to the OpAmp above . I would like to know if they are usable in any way. However, the file and the data contained are the property of Linear with relative Copyright. Can I publish it anyway?
David
Site Admin
Posts: 2267
Joined: Mon 2006-02-20 14:56
Location: Head Office
Contact:

Re: Attaching new SPICE model

Post by David »

Hi Mike,

You will be able to simulate them in the Demo, however you will not be able to save the design.

You will need to contact Linear about publishing their copywrited material.

Regards,
Dave.
Ettore
Labcenter Staff
Posts: 2935
Joined: Fri 2006-03-03 11:56
Location: Milan
Contact:

Re: Attaching new SPICE model

Post by Ettore »

mike3563 wrote:... However, the file and the data contained are the property of Linear with relative Copyright. Can I publish it anyway?
Don't waste your time as the new model included in the latest LTSpice release is not translatable to Proteus. You need to wait Proteus 8.12.
Kind regards,
Ettore Arena - Labcenter Electronics.
mike3563
Unlicenced User
Posts: 4
Joined: Tue 2021-01-19 21:32

Re: Attaching new SPICE model

Post by mike3563 »

Yes, I actually use the demo to simulate small circuit and I'm glad they will be included in the demo. Thanks to all for the answers I await 8.12 to take a peek !.
Post Reply