All Projects → nik1106 → MNA-MAT

nik1106 / MNA-MAT

Licence: MIT license
An easy-to-use MATLAB tool for SPICE netlist simulation

Programming Languages

matlab
3953 projects

Projects that are alternatives of or similar to MNA-MAT

HAGIWOs Module
eurorack modular synthesizers projects using Arduino.
Stars: ✭ 76 (+65.22%)
Mutual labels:  circuit
MIPS-CPU
A Simulative MIPS CPU running on Logisim.
Stars: ✭ 54 (+17.39%)
Mutual labels:  circuit
antares
Digital circuit learning platform
Stars: ✭ 15 (-67.39%)
Mutual labels:  circuit
PIM NDP papers
No description or website provided.
Stars: ✭ 33 (-28.26%)
Mutual labels:  circuit
OpenCircuits
A free, open source, online digital circuit/logic designer.
Stars: ✭ 140 (+204.35%)
Mutual labels:  circuit
maxwell
Maxwell Circuit Simulator
Stars: ✭ 27 (-41.3%)
Mutual labels:  circuit
open-electronics
📚 💻 Great Resources for Electronics Enthusiasts
Stars: ✭ 347 (+654.35%)
Mutual labels:  circuit
Game-Boy-Color-USB-C-charging-kit
This project contains the files for making an electronic board that allows to charge a Nintendo Game Boy Color by USB-C.
Stars: ✭ 31 (-32.61%)
Mutual labels:  circuit
SpiceSharp
Spice# is a cross-platform electronic circuit simulator based on Berkeley Spice - the mother of commercial industry-standard circuit simulators.
Stars: ✭ 146 (+217.39%)
Mutual labels:  circuit
spydrnet
A flexible framework for analyzing and transforming FPGA netlists. Official repository.
Stars: ✭ 49 (+6.52%)
Mutual labels:  circuit
AAG-Visualizer
🌆 🏙 🌃 Viz.js Graphviz - An Elegant Visualizer for And-Inverter Graph
Stars: ✭ 95 (+106.52%)
Mutual labels:  circuit
logisim-7-segment-display-driver
➿ TTL-7447-like implementation for logisim
Stars: ✭ 28 (-39.13%)
Mutual labels:  circuit
diy-BMS-with-Arduino-Nano
If you have a private powerwall of 18650 cells, this is the battery management system you need. The small PCB is equipped with the cheap Arduino Nano.
Stars: ✭ 33 (-28.26%)
Mutual labels:  circuit

Logo

MNA-MAT

A SPICE netlist simulation tool for MATLAB

MNA-MAT in action

The netlist file being simulated is example8.cir (included in this repository). As it is an RC circuit, the simulation type used is Transient analysis.

alt text alt text

Standard Analysis

increment

Monte Carlo Analysis

increment

About MNA-MAT

MNA-MAT is a simulation tool designed in MATLAB for solving circuits described as SPICE netlists. It uses the algorithm of Modified Nodal Analysis (MNA). It accepts a file (.cir or .txt) with the SPICE netlist description of the circuit to be simulated. As of now, MNA-MAT supports the following circuit elements :-

  • Resistors (R)
  • Capacitors (C)
  • Inductors (L)
  • Independent voltage sources (V)
  • Independent current sources (I)
  • Voltage controlled voltage sources (VCVS) (E)
  • Voltage controlled current sources (VCCS) (I)
  • Current controlled voltage sources (CCVS) (H)
  • Current controlled current sources (CCCS) (F)

MNA-MAT supports the following simulation types as of present :-

  • DC bias point (for purely resistive circuits)
  • Transient analysis (for pure C, pure L, RC, RL, LC or RLC circuits)
  • Monte Carlo analysis (done using one of the above, again based on the type of circuit)

Note :- This tool works only on versions of MATLAB from R2014b onwards. The voltage source currents are taken in conventional current direction i.e. inside the source, negative to positive terminal.

Features

  1. Easy to use and then analyse results.
  2. Accurate (a bunch of circuits were simulated on this tool and then on TopSpice, the results were always identical).
  3. Saves the results of the previous run simulation.
  4. No installation or initial setup required. You can start using the tool as soon as you download it.
  5. No need to add SPICE commands like .TRAN or .DC. A text description of the circuit is enough.
  6. The written code is flexible - it allows room to make changes and add more features if necessary.

Directions for use

  1. Before you start using the tool, make sure you have read-write permissions in the folder where the tool files are stored. If you aren't sure about this, simply start up MATLAB as Administrator.
  2. Place the netlist file (.cir or .txt) you wish to simulate in the folder where the tool files are stored.
  3. Run the file Main.m.
  4. Simply follow the on-screen instructions.

What's included

  1. The three MATLAB tool files.
  2. A set of 12 examples (.cir SPICE netlists) along with schematics (.png images) of the same.

Just a Request

If you find this tool useful, or at least think it to be ambitious, please consider leaving a star or suggesting changes.

Thank You

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].