GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • KiCad Simulation Examples
  • Introduction to Simulation in KiCad
  • Simulator Basics
  • Simulation DC Operating Point
  • Simulation DC Sweep
  • Simulation AC Sweep
  • Simulation Transient Pulse
  • Simulation Transient Sine
  • Simulation Behavioral and PWL Sources
  • KiCad Simulation Commands
  • Passive RC and RL
  • RC Charge
  • RC Discharge
  • RC Voltage Current

This view

  • Original page
  • New address

GeezerVison is showing feastorg.github.io — KiCad Simulation Examples

58 KiCad schematics that teach circuit simulation with KiCad’s built-in ngspice simulator, in 8 chapters. Each example states what it should show, with the numbers worked out from the circuit, and the simulated plots to compare against. On every pull request, CI simulates each example that has an analysis set up and checks the key figures its README states.

New to KiCad’s simulator? Start with the Introduction to Simulation in KiCad, then Simulator Basics.

Downloads: all schematics as PDFs · the full kit (KiCad projects, workbooks, models, PDFs and READMEs)

Made for KiCad 10.

Simulator Basics

The analyses KiCad’s simulator runs (operating point, DC sweep, AC sweep and transient), and its behavioral and PWL sources.

  • Simulation DC Operating Point
  • Simulation DC Sweep
  • Simulation AC Sweep
  • Simulation Transient Pulse
  • Simulation Transient Sine
  • Simulation Behavioral and PWL Sources
  • KiCad Simulation Commands

Passive RC and RL

Time constants, corner frequencies and phase in resistor-capacitor and resistor-inductor circuits.

  • RC Charge
  • RC Discharge
  • RC Voltage Current
  • RL Voltage Current
  • RC Lowpass
  • RC Highpass
  • RC Bandpass

Resonance and Magnetics

LC resonance and Q, an RLC circuit’s step response, and coupled inductors as transformers.

  • LC Series Resonance
  • LC Parallel Resonance
  • RLC Step Response
  • Transformer 1P 1S
  • Transformer 1P 2S

Diodes and Rectifiers

A diode’s curve, then half-wave, full-wave, bridge and three-phase rectifiers.

  • Simulation Diode Characteristics
  • Rectifier 1D
  • Rectifier 2D
  • Rectifier 4D
  • Rectifier 6D

Transistors

BJT curves, transistors as switches, single-transistor amplifiers, a current mirror and a differential pair.

  • Simulation NPN Characteristics
  • Actuator NPN Switch LED
  • Actuator PNP Switch LED
  • NMOS Switch Inductive Flyback
  • NPN Amplifier CE
  • NMOS Amplifier CS
  • NPN Current Mirror
  • NPN Differential Pair

Op-Amps

The classic op-amp circuits, an integrator, a differentiator and an active filter, a comparator, Schmitt trigger and oscillator, and the open-loop gain and bandwidth behind them.

  • OPamp Voltage Follower
  • OPamp Inverting
  • OPamp Noninverting
  • OPamp Adding
  • OPamp Integrator
  • OPamp Differentiator
  • OPamp Sallen-Key Lowpass
  • OPamp Comparator
  • OPamp Schmitt Trigger
  • OPamp Relaxation Oscillator
  • OPamp Open Loop
  • OPamp Headphone

Power Supplies

Linear regulators fed from a bridge rectifier, protection against reversed or excess supply voltage, and an open-loop buck converter.

  • Rectifier 4D Zener NPN
  • Rectifier 4D Regulator
  • Rectifier 4D Regulator NPN
  • Rectifier 4D Regulator PNP
  • Rectifier 4D OPamp NPN
  • Voltage Protection Discrete
  • Buck Converter Open Loop

Analysis Techniques

Analyses beyond the basics: a DC sweep of the circuit’s temperature, the thermal noise of an RC filter, the poles of an active filter, an amplifier’s DC gain and impedances, measurements on a result, importing a vendor’s SPICE model, and rerunning a circuit for each value of a part with a tuner’s Multi Run.

  • Simulation Temperature Sweep
  • Simulation Noise RC
  • Simulation Pole-Zero
  • Simulation Transfer Function
  • Simulation Measurements
  • Simulation Vendor Model
  • Simulation Multi Run

Credits

The examples were created by Ole Johan (GitHub: OJStuff) and released under CC0 1.0. The original OJStuff/Schematics-Examples repository is no longer available on GitHub; this collection continues from its last commit, 03500e1 (2025-04-03).


Table of contents

  • Introduction to Simulation in KiCad
  • Simulator Basics
  • Passive RC and RL
  • Resonance and Magnetics
  • Diodes and Rectifiers
  • Transistors
  • Op-Amps
  • Power Supplies
  • Analysis Techniques
  • Contributing a Simulation
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.