# KiCad Spice Library
This organization and repo is born from the need of having an easy way to find Spice models. It is not made by KiCad or Spice themself but it is user powered
There are a total of 50.093 models
## Modules
In this folder there are all the modules and libraries, I tried to organize them with a minimum of logic but better approaches then mine are really welcome
## Supported.txt
This is the list of supported parts in a human readable way, useful if you wish to do a quick search
## Scripts
### check_supported.py
This script check if a given part is between the supported modules. If yes it says us from which file it cames so we can easily add to our Spice simulation. It also contain a simple but working wrong-spell checks. See the examples at the end of the README
In the future it could be easily turned into a command line interface script or maybe a KiCad plugin
### extractModels.pl
This script extracts the models for the requested components from the libraries.
You can redirect it to a file like 'localSpice.lib' in your KiCAD project to have a local copy to reference. This avoids several side effects (libraries that are too big, libraries with invalid characters, duplicate models).
You can add the models you need to 'spiceModel.lst' so that you can automate the extraction in a script.
Run the script without parameters for help.
### generate_supported.py
This script generate the list of supported modules, it should be run only when new files are added to the repo
NOTE: Right now I am extracting the `.model` and `.subckt` from `*.lib` and `*.mod` files, the `.subckt` from `*.fam` files and the models from `EESchema-LIBRARY Version 2.x` so maybe there are some hidden modules around
### downloader.py
This script downloaded all the 1803 files from http://espice.ugr.es/espice/src/modelos_subckt/ and saved them. It is not needed anymore and is here only for reference
## Supported.pickle
This file is a [python serialized dictionary](https://docs.python.org/3/library/pickle.html) where every key is a model and the items are path to libraries where that model is defined. It is not made to be read by humans, use [Supported.txt](Supported.txt) instead
# License
I do not own any license for the files inside the `Modules` folder, if you find any of them that breaks a license open an issue or send a message and it would be removed as soon as possible. All library, modules and other are released with their own license. The GPL3 is related only to the files in the `Scripts` folder
# Contribuite
Do a pull request, add a library, module, whatever in the category that suit better in [Modules](/Modules) or improve the python scripts
I would like to accept in the organization other KiCad or Spice fans to keep this page going on, if you would like to partecipate open an issue
# Resources
- http://espice.ugr.es/espice/src/modelos_subckt/
- https://github.com/ryansturmer/kicad-spice-library
- https://groups.yahoo.com/neo/groups/LTspice/info
- https://forum.kicad.info/t/adding-spice-components-that-do-not-exist-in-pspice-library/12036/2
- http://ltwiki.org/index.php?title=Main_Page
# Examples
Here there are a few possible usage scenarios with `check_supported.py`:
- Searching `bc337`
```
Write here the part you are looking for: bc337
bc337 found in /Models/Manufacturer\Infineon Technologies\infineon.lib, /Models/Transistor\BJT\BJTN.LIB, /Models/uncategorized\spice_complete\siemens.lib
Also other 10 similar part has been found:
bc337/sie found in /Models/uncategorized\spice_complete\siemens.lib
bc337ap found in /Models/Manufacturer\Zetex Semiconductors\ZMODELS.LIB, /Models/Transistor\BJT\BJTN.LIB, /Models/uncategorized\spice_complete\zetex.lib, /Models/uncategorized\spice_complete\zmodels.lib
bc337ap_zx found in /Models/uncategorized\spice_complete\zetex.lib
bc337c_in found in /Models/Manufacturer\Infineon Technologies\infineon.lib
bc337s found in /Models/uncategorized\spice_complete\S_AFBJT.LIB
qbc337-16/plp found in /Models/uncategorized\spice_complete\phil_bjt.lib
qbc337-25/plp found in /Models/uncategorized\spice_complete\phil_bjt.lib
qbc337-40/plp found in /Models/uncategorized\spice_complete\phil_bjt.lib
qbc337/plp found in /Models/uncategorized\spice_complete\phil_bjt.lib
qbc337a/plp found in /Models/uncategorized\spice_complete\phil_bjt.lib
```
- Searching `2n2222`
```
Write here the part you are looking for: 2n2222
2n2222 found in /Models/uncategorized\IdealDiode.lib
Also other 5 similar part has been found:
2n2222a found in /Models/uncategorized\spice_complete\zetex.lib, /Models/uncategorized\spice_complete\zmodels.lib
2n2222a_zx found in /Models/uncategorized\spice_complete\zetex.lib
2n2222c found in /Models/uncategorized\spice_complete\ad.lib
q2n2222 found in /Models/uncategorized\spice_complete\cadlab.lib
q2n2222a found in /Models/Manufacturer\TRT-Electronics\2n2222a.lib, /Models/Manufacturer\Zetex Semiconductors\ZMODELS.LIB, /Models/uncategorized\spice_complete\cadlab.lib
```
NOTE: there are different models of these IC produced by different manufacturers, so we can pick the model more similar to our use case
- If we don't know/remember perfectly the IC we are looking for
```
Write here the part you are looking for: 2n2
2n2 not found, maybe you meant one of these: 2n2102_on, 2n2222, 2n2222a, 2n2222a_zx, 2n2222c, mtd2n20, mtp12n20, mw32n20e, q2n2219, q2n2219a, q2n2222, q2n2222a, q2n2905, q2n2905a, q2n2907, q2n2907a, tn0102n2, tn0602n2, tp0102n2, tp0602n2
```
- Searching less common part like the `2sa1940`
```
Write here the part you are looking for: 2sa1940
2sa1940 not found, maybe you meant one of these: q2sa1940
Would you like to do another search? q2sa1940
q2sa1940 found in /Models/uncategorized\spice_complete\other_models\BJT_PNP\TOSH_PWR.LIB
```
Just for reference this is the output that I got from `generate_supported.py` the first time I run this project, now after better filtering the models are much more
```
5 txt found
375 lib found
290 mod found
699 spi found
71 fam found
356 cir found
9 other kind found
There are 8004 models
```
没有合适的资源?快使用搜索试试~ 我知道了~
用于存储用于模拟的KiCadSpice模块的集中存储库___下载.zip
共2082个文件
lib:773个
spi:700个
sub:202个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 79 浏览量
2023-04-16
20:27:55
上传
评论
收藏 13.39MB ZIP 举报
温馨提示
用于存储用于模拟的KiCadSpice模块的集中存储库___下载.zip
资源推荐
资源详情
资源评论
收起资源包目录
用于存储用于模拟的KiCadSpice模块的集中存储库___下载.zip (2082个子文件)
RC4558.301 1KB
TLE2027.302 2KB
LM2901.5_1 918B
standard.bead 28KB
standard.bead 22KB
standard.bead 17KB
standard.bjt 473KB
standard.bjt 93KB
standard.bjt 29KB
standard.bjt 18KB
standard.cap 379KB
standard.cap 323KB
standard.cap 323KB
TSV912.cir 12KB
LM324LV.cir 12KB
LMx58_LM2904.CIR 12KB
TLV314.cir 10KB
LTRA_2.CIR 9KB
LTRA_3.CIR 8KB
LARGE.CIR 8KB
DIGSR.CIR 8KB
TORONTO.CIR 5KB
COMPARE.CIR 5KB
AD8237.cir 5KB
ad623.cir 4KB
LTRA_1.CIR 4KB
ad734.cir 4KB
adg719.cir 4KB
ad8397.cir 4KB
MOS6INV.CIR 4KB
LMV824.cir 4KB
ADG849.cir 4KB
BSIM2TST.CIR 3KB
BSIM1TST.CIR 3KB
op249.cir 3KB
altertest.cir 3KB
BIPOLE.CIR 3KB
ad620a.cir 3KB
ad620s.cir 3KB
adtl082.cir 3KB
Ad8014.cir 2KB
potentiometer.cir 2KB
stag.cir 2KB
ad8603.cir 2KB
CIRCUIT4.CIR 2KB
AD8244.cir 2KB
ad8611.cir 2KB
POWAMP.CIR 2KB
SMALL.CIR 2KB
bsim3test2.cir 2KB
74HCT595.CIR 2KB
bsim3test1.cir 1KB
mosamp.cir 1KB
MOSAMP2.CIR 1KB
tswitch.cir 1KB
TL3472.cir 1KB
TL072.cir 1KB
LF347.cir 1KB
TL082.cir 1KB
sweep.cir 1KB
JFET3.CIR 1KB
2n222mix.cir 1KB
RCA3040.CIR 1023B
MIXDISTO.CIR 980B
BJT.CIR 965B
MC33071.cir 935B
LM101A.cir 926B
LM308.cir 920B
MOSMEM.CIR 812B
DIFFPAIR.CIR 796B
FULLWAVE.CIR 788B
Motor.cir 681B
SCHMITT.CIR 638B
AD633AN.cir 631B
psmdeval.cir 600B
ASTABLE.CIR 581B
XFORMER.CIR 576B
RTLINV.CIR 517B
minmax.cir 499B
PHONOAMP.CIR 461B
JFET1.CIR 455B
EXAMP107.CIR 447B
JFET2.CIR 435B
DIODISTO.CIR 426B
CIRCUIT1.CIR 422B
CIRCUIT2.CIR 382B
diffamp.cir 369B
amptest.cir 363B
CIRCUIT3.CIR 325B
RESNOISE.CIR 321B
CIRCUIT5.CIR 306B
BJTNOISE.CIR 291B
PZ2.CIR 285B
PZT.CIR 259B
vswitch.cir 253B
iswitch.cir 216B
INVRIAA.CIR 198B
RC.CIR 160B
FMDEEMPH.CIR 149B
SIMPLEPZ.CIR 122B
共 2082 条
- 1
- 2
- 3
- 4
- 5
- 6
- 21
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功