Skip to content
This repository has been archived by the owner on Dec 29, 2021. It is now read-only.

Latest commit

 

History

History
30 lines (18 loc) · 810 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 810 Bytes

Python - SPICE interface and plotting

GNUcap / NGspice voltage multiplier sim.

Used for my Ph.D. qualifying exam, and a follow-on to my harmonic radar tag improvements.

NOTE: Consider using PySpice instead of this approach.

Prereqs

apt install gnucap ngspice

Usage

Simulate no-driver LED problems due to wire voltage drop, using ledDrop.net and StringIO to avoid output file mess.

python ledDrop.py

Other programs

These programs run from GNU Octave or Matlab.

  • runDub.m run and plot basic voltage doubler current input and voltage output vs. time
  • runDubTry.m plot spectrum
  • runDubMult.m multi-stage voltage multiplier: voltage, current, impedance
  • runMos.m using MOS simulation