Skip to content

Latest commit

 

History

History
66 lines (49 loc) · 4.24 KB

README.md

File metadata and controls

66 lines (49 loc) · 4.24 KB

Simulation Examples for KiCad 8.0 Using Ngspice

The subfolders contain KiCad 7.99/8.0 projects with schematics containing ngspice simulations, created by Holger Vogt, originally published in a KiCad forum post

⚠️ Directories in this repository are named after the original 7z file name and may differ from the xxx.7z folder name and the contained xxx.kicad_pro project file. This should probably be refactored to follow KiCad best practices of naming the folder the same as the contained .kicad_pro file. This is, however, not a trivial task, as several of the original 7z archives contain multiple .kicad_pro project files.

FOSDEM 2024 presentation

A number of these circuits were included in a presentation on FOSDEM 2024: ngspice circuit simulator - stand-alone and embedded into KiCad (slides)

FOSDEM 2024 - ngspice circuit simulator stand alone and embedded into kicad

Ngspice User's Manual

For convenience, here are some useful links to ngspice documentation:

Simulation Examples

The new simulator interface in KiCad 8.0 is offering a lot of enhancements, which make it absolutely worthwile to have a look at.

The examples provided should all run out-of-the-box:

  1. Locate the project subfolder
  2. Open the *.kicad_pro project or directly open the schemtic in the *.kicad_sch file
  3. In the KiCad Schematic Editor: Inspect ➡️ Simulator ➡️ Run (green triangle).

Simulation Circuits

The circuits shown below are not optimized, but may serve as a good starting point.