r/KiCad•
interlord

spice models?

Hello there (and sry for my english - not my native)

I'd like to know - is it possible to obtain spice models of desired components for simulation? E.g i try to search LM7805 or LD1117 and found nothing.

How do you, guys, make your simulations without spice models?

Posted Feb 24, 2020, 3:03 AM UTC

35
TowelCarrier•

Kicad do not come with SPICE models for IC (it is a problem of license). You can however add models to components : some manufacturers provide SPICE description of their parts. Download it and in the component parameters you can select the file containing the model. I think it is the pspice models that work best if you have the choice. You also have an option to change the pinout of the component if needed.

2
interlordOP•

Is it possible to describe a SPICE model by parameters from datasheet?

1
TowelCarrier•

No. At least there is no method that I am aware of.

The datasheet describes the behaviour of the component as a whole, but a SPICE model rely on the internals, the different doping for the semiconductors for example. If you just want to check that your circuit is working, try to find a component that is equivalent from a different manufacturer. It may not be as good but at least you will be able to check that your design is working properly.

You can always try to send an email to the manufacturer, maybe they can send you something.

2
scintilist•

This isn't entirely true. For basic components like diodes, MOSFETs, and BJTs, models can be made for a component at one of many spice 'levels'. The lowest levels can be generated directly from datasheet parameters, but are also the least accurate.

Models for integrated circuits (like a voltage regulator) are often constructed of a network of component models, with only the most critical components fully modeled, and others replaced by simple dependent sources and resistors. Many IC models would be prohibitively slow to simulate if a complete model at the highest level was used for all components.

2
interlordOP•

Sad story due to not all manufacturers provide this models (

1