40 KiCad 10 schematics that teach circuit simulation with KiCad's built-in ngspice simulator, from an RC filter to a regulated power supply. Each README states what the example should show, with the numbers worked out from the circuit, and 39 of the 40 come with their analyses already set up; the 40th is a cheat sheet of simulator commands.
RC Lowpass: 10 Ω and 1 µF put the −3 dB corner at 1/(2πRC) = 15.9 kHz. The simulation puts it at 15.9 kHz.
Browse it all on the site: https://feastorg.github.io/KiCad-Simulation-Examples/
| Chapter | Examples |
|---|---|
| Simulator Basics: operating point, DC sweep, AC sweep, transient | 6 |
| Passive RC and RL: time constants, corners, phase | 7 |
| Resonance and Magnetics: LC resonance, transformers | 4 |
| Diodes and Rectifiers: diode curve, half-wave to three-phase bridge | 5 |
| Transistors: BJT curves, switches, amplifiers | 5 |
| Op-Amps: followers, amplifiers, summer, comparator, open loop | 7 |
| Power Supplies: linear regulators, polarity and overvoltage protection | 6 |
On every pull request, CI exports each example's netlist with kicad-cli, runs its analyses
in ngspice, and checks the key figures its README states, the ones listed in its
expect.toml. One example, KiCad Simulation Commands, is a cheat sheet with no analysis
set up, so it has nothing to check.
- Open an example's
.kicad_schfromsimulations/in KiCad 10. - Click Simulate and run the analyses already set up in its workbook.
Or download everything: all schematics as PDFs, or the full kit with every KiCad project, workbook and model.
See CONTRIBUTING.md.
The examples were created by Ole Johan (GitHub: OJStuff) and first published in the
OJStuff/Schematics-Examples repository. That repository is no longer available on GitHub.
This collection continues from its last commit, 03500e1 (2025-04-03), which is part of
this repository's history.
The work is released under CC0 1.0, except for third-party SPICE model files, which keep their authors' copyright. See LICENSE.md.
