Posts

An open source signal processing toolbox for ngspice (an open source circuit simulator)

Image
Inspired partly by curiosity to learn about signal processing and controls and partly by Matlab simulink , which can simulate circuits as well.   ( https://in.mathworks.com/help/physmod/sps/powersys/ug/building-and-simulating-a-simple-circuit.html ) (where we can  directly include components like lpf and integrator as blocks). I thought it would be nice to have such blocks in open source for ngspice. ( http://ngspice.sourceforge.net/ )   Installation this tool box is built as a ngspice code model and can be compiled along with ngspice as described in the manual ( http://ngspice.sourceforge.net/docs/ngspice-34-manual.pdf ).   This tool is being developed in a separate fork of the main ngspice branch which can be cloned from here :     https://sourceforge.net/u/harshcht/ngspice/ci/master/tree/ Then build ngspice using the steps described in section 32.1.2 of the user manual.   Examples the main example file (feedback_example.cir) is an example ...