Skip to content

About

Collection of electronic schematic examples done in KiCad, prepared for easy simulation with all spice components included.

Topics

Resources

Contributing

Stars

10 stars

Watchers

0 watching

Forks

Repository files navigation

KiCad Simulation Examples

CI

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 schematic: a 10 ohm resistor feeding a 1 uF capacitor RC Lowpass AC sweep: gain flat to about 1 kHz, -3 dB near 16 kHz, then falling

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.

What's Inside

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

Checked by Simulation

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.

Getting Started

  1. Open an example's .kicad_sch from simulations/ in KiCad 10.
  2. 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.

Contributing

See CONTRIBUTING.md.

Credits and License

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.

About

Collection of electronic schematic examples done in KiCad, prepared for easy simulation with all spice components included.

Topics

Resources

Contributing

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages