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
.kicad_pro
file. This is, however, not a trivial task, as several of the original 7z archives contain multiple .kicad_pro
project files.
A number of these circuits were included in a presentation on FOSDEM 2024: ngspice circuit simulator - stand-alone and embedded into KiCad (slides)
For convenience, here is a link to the Ngspice User's Manual
The new simulator interface in KiCad 8.0 is offering a lot of enhancements, which make it absolutely worthwile to have a look at this development.
The previous examples (KiCad 6, ngspice-38) are published in this KiCad forum post, some of which have been updated and included below.
The examples provided should run out-of-the-box: locate the project subfolder, open the *.kicad_pro
project (or directly open the *.kicad_sch
file), in KiCad Schema Editor
➡️ Inspect
➡️ Simulator
➡️ Run
(green triangle).
The circuits shown below are not optimized, but may serve as a good starting point.
- Boost Converter, see Boost
- Regulated boost converter, see boost-complete
- Regulated boost converter, see boost-regulated-os
Version which does not need ngspice-42, as it relies on a pwm generator made with the vernerable one-shot code model. - Buck Converter, see Buck
- Royer Converter, see Royer
- LLC Converter, see LLC
- Digital PWM amplifier, see pwm-audio
- Digital PWM amplifier update, see pwm-audio-2
- Another Class-D 2.5 kW audio amplifier, see Class-D
- Analog multiplier, see analog-multiplier
- Generic symbols with generic models, see intro4
- IBIS interface simulation, see ibis-test
- Amplifier with controlled gain, see gain-ctrl-amp
- Up-Down Counter, see up-down-counter
- Triangle generator with MAX9000, see MAX9000
- The venerable ICL8038, see ICL8038
- Generating a negative voltage from a positive supply with LTC1044, see LTC1044
- Integrated linear amp (LM3886), simple, real, Tian Probe, see LM3886-Tian
- A bipolar 741 operational amplifier, see 741
- Q17, a redesign of the famous QUAD405 High-End Audio Amplifier, see Q17
- Digital Simulation, see QEI_public_799
- rel_osc (missing documentation), see rel_osc
- A simple Phase Shift Oscillator (no documentation), see bip-osc-2
- CMOS555_4 (missing documentation), see CMOS555_4
- FullBridge (missing documentation), see FullBridge