SPICE models in Symbol Library

Bug #1793062 reported by Sebastian Kulik on 2018-09-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Low
Seth Hillbrand

Bug Description

Hi Guys!
It will be very helpfull if SPICE models can be added directly in symbol- library.
Is ist possible to integrate them in this way?
BEst regards,
Sebastian

Maciej Suminski (orsonmmz) wrote :

That is how it used to work, I think we should restore it for 5.1. Ideally there should be also a setting to configure model path, as is done with symbols and footprints.

Changed in kicad:
milestone: none → 5.1.0

well, it will be great to implement/add model just right in symbol-lobrary.
Most developers will be very happy (me too as well :,-) )

Changed in kicad:
status: New → Triaged
importance: Undecided → Low

one more thing: some existing SPICE Models have fully different pin-order.
It will be great if symbol pins (thats match with allready existing footprints as well) can be re-mapped for more flexible usage: in this case any SPICE model can be used without fixing pin-mapping by hand.
What do you think, guys?
Cheers,
Sebastian

Maciej Suminski (orsonmmz) wrote :

Do you have any particular symbols in mind? AFAIR all footprints in pspice library have pins and Spice nodes matching, but I might be missing something here.

well, every model have apins, right, use SPICE model with ".SUBCKT" (subcircuit) - and youll might need to change pin-numbers in part-symbol (or model-file) otherwise simulation will not work correctly.
As example, take a look on my BS170 model, youll find Gate:1, Source:2 and Drain:3 in subcircuit definition.
I use same midel-fine in LTSpice, so, dont wish to change it. In other hand the symbol in KiCAD corresponding with right footprint habe other pin-sequence.
In this very simple (3 Pins only) example you will see two ways to fix it for now:
1. fix corresponding pins in model-file and save it for KiCAD only
2. change symbol and footprint in KiCAD to have a some consistance in SPICE-Model files.

More elegat will be to have a option to remap the pins corresponding to SPICE-model file and let well working symbols&footprints in KiCAD untouched as well.
Cheers,
Sebastian

Maciej Suminski (orsonmmz) wrote :

It is already possible, read the "Alternate node sequence" part in eeschema manual [1].

1. http://docs.kicad-pcb.org/master/en/eeschema.html#_assigning_models

ok, Ill take a look on it, thanks!
But add models directly in symbols will be very very helpful..;-)

KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 170ff66cbbd4f17ebf6fddf24efa7b4d227c15a1
https://git.launchpad.net/kicad/patch/?id=170ff66cbbd4f17ebf6fddf24efa7b4d227c15a1

Changed in kicad:
status: Triaged → Fix Committed
assignee: nobody → Seth Hillbrand (sethh)
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments