kicadODE model generator

Submitted by dmrokan on

Usage

Please, visit Kicad's own documentation for creating a schematic and implementing spice simulations.

KicadODE LTI model generator produces a spice model and corresponding schematic symbol to import into Kicad schematics.

Download and copy generated .lib and .kicad_sym files into your project folder and follow this documentation to import into your schematic. I recommend to add .kicad_sym file as a 'Project Specific Library'. A new symbol with the given model name will be added to symbol libraries.

Place the symbol into the schematic. (You may need to align the symbol to the grid by right clicking on the symbol and selecting 'Align elements to the grid' after adding.) Assign spice model to the symbol by right clicking and opening symbol properties dialog.

Add spice mode.
Click simulation model in symbol properties dialog.
Add spice model.
Assign spice model.

After connecting a desired voltage source, it can be simulated by Ngspice GUI provided by Kicad. Picture below shows an example step response simulation.

Spice simulation.
Schematic for obtaining 2 input 2 output system's step response.
Spice simulation step response.
Obtained step response.