A famous textual circuit simulator with a number of graphic front-ends

learn more… | top users | synonyms

28
votes
7answers
12k views

What are the freeware SPICE simulators available?

Does anyone know of a freeware SPICE / circuit simulator? SPICE (Simulation Program with Integrated Circuit Emphasis)is a general-purpose, open source analog electronic circuit simulator. It is a ...
11
votes
2answers
7k views

How do I model an LED with SPICE?

What diode modifiers are used in practice to model LEDs with SPICE (Berkeley v.3f5)? These are available to me: ...
11
votes
1answer
389 views

Mathematical models for vacuum tubes?

Are there any commonly accepted algebraic models for vacuum tube operation (triode, tetrode, and pentode)? In the same way that BJTs have a Gummel-Poon or Ebers-Moll model, and (macroscale) MOSFETs ...
9
votes
3answers
3k views

Comparison Between SPICE Simulators

I've recently realized that I can't do everything easily in ngspice, mainly because analysis has to be performed through the interpreter. I'm considering switching to a new SPICE simulator. I'd like ...
8
votes
4answers
702 views

What are the most widely used circuit simulators in industry?

I was wondering if anyone knows what the most widely (not favorite) used circuit simulation tools are in industry. I have a couple options here at the company I work at, but I still like to use ...
7
votes
3answers
332 views

About SPICE: Should I use transient analysis or DC linear analysis?

My question is specifically linked to an exam problem where I had to find a function in terms of time for the current on a capacitor and a resistor. The circuit was very simple: A current time-variant ...
6
votes
1answer
360 views

Is there a solution for converting printed schematics to spice netlists?

I would like to be able to scan circuit diagrams into a circuit simulator. While I am aware that symbols are not entirely standardized, is there any software that will do an approximation of this?
5
votes
4answers
158 views

Software suggestions for electronic simulations?

I am a beginner in EE engineering and want to use a software where I can analyze signals or even motor speeds, power electronics ect. But the Spice programs looks so boring and detailed for me. Maybe ...
4
votes
3answers
884 views

SPICE Simulator at Linux

What is the better choice to get opensource SPICE simulator on Linux? I am fan of Proteus (Windows) is there any alternative like it?
4
votes
3answers
954 views

Emitter Follower Output

I cannot afford a function generator and oscope right now, so I'm trying to learn analog electronics with Spice (MacSpice, to be specific). Below is the Spice model for a simple emitter-follower ...
4
votes
3answers
503 views

KCL vs KVL in circuit analysis

I'm making a simplified version of SPICE to teach basic electronics to high school students (This is for a high school independent study). Why does SPICE analyze circuits using Kirchhoff's current ...
4
votes
2answers
454 views

PSpice generates gray hair, not correct answers

I have an extremely simple circuit that involves a NMOS, three resistors, and a voltage source. The circuit and info are shown below. Please understand that I could probably analyze this circuit while ...
4
votes
1answer
2k views

How to correctly simulate a simple LM2907 circuit in LTSpice?

I'm trying to convert the frequency of a 0-5V square wave, which ranges from 0-20kHz, to a voltage using a simple LM2907 (8 pin) circuit. Using R1 as 100k, I've calculated C1 to be 416pF for a ...
4
votes
1answer
146 views

Simple LED model for circuit simulation

I'm new to electronics and I'm learning the basics for a small home project involving LEDs, fiber optics, and microcontrollers. I'd like to simulate the circuit I plan to build to get a better ...
3
votes
1answer
179 views

Difference between .MACRO and .SUBCKT in SPICE

What is the difference between .MACRO and .SUBCKT in SPICE simulators, such as HSPICE?
3
votes
2answers
3k views

How to plot current in ngspice?

I wish to plot out the current and power in ngspice. In the case of voltage, for example, if I wanted to plot the voltage at node 1 I would use: plot v(1) ...
3
votes
1answer
1k views

Measuring Resistance/Impedance with SPICE

How does one measure impedance/resistance using SPICE? I have access to regular SPICE(MacSpice) and HSpice. The DC current divider circuit at the bottom of this webpage seems to be one method. 0V ...
3
votes
1answer
452 views

PSpice homework Question

I'm having trouble with this question. Can somebody help? I know the equation for part a) is: $$P_{\text{max}} = \frac{1}{4} \cdot \frac{\mid{}V\cdot{}t\cdot{}h\mid{}^2}{R_\text{L}}$$ And I'm ...
3
votes
1answer
139 views

Loop through a vector in ngspice

ngspice is not capable of performing a DC analysis while sweeping transistor length. I'm trying to do a workaround by creating a vector, looping through it, and altering ...
2
votes
3answers
1k views

Spice Simulation Models?

Where can one go to find SPICE models? I am curious if there is a giant repository out there somewhere that I can search? In particular, I am looking for a model for an LM317 voltage regulator, at ...
2
votes
1answer
210 views

Very simple circuit on spice

I have a very simple low-pass filter with an AC source a capacitor and a resistance in series. Now I set C and R so that R*C=100 but when I plot the diagram whit db(out), it looses 3dB at 156Hz ...
2
votes
1answer
200 views

Can I simulate any component with LTSpice?

I'm trying to build a very basic 3.3V supply, but would like to simulate the circuit in LTSPice if possible, before I physically build the circuit. I'm using a couple of components not found in ...
2
votes
2answers
812 views

Adding Diode Model to gschem

I'm looking to use the D1N914 diode in a netlist for use with ngspice. Thankfully I've found the model for free here: ...
2
votes
3answers
207 views

How can one label a node with more than one name in SPICE/ LTspice

Update: node name "alias" (aka synonym) resolution seems to work fine in simple circuits... even though one of the two names "goes away" it's doing what I'd expect by namely referring everything to ...
2
votes
1answer
283 views

Good Introductory HSPICE Books

I have an assignment to create basic digital circuits in HSPICE using various manufacturing processes. I've written a couple of HSPICE decks, but it was just copying off a paper, and it was just ...
2
votes
2answers
443 views

How do I construct a SPICE model from a data-sheet?

This may not be the ideal forum for the question; please migrate if a forum is better suited for the question. I'm looking at a component for which my attempts at locating a SPICE model online were ...
2
votes
2answers
450 views

How to apply process corners in HSPICE?

How can I apply process corners (TT, SS, FF) to my simulation in HSPICE?
2
votes
1answer
139 views

Spice : Error Message: Note: No “.plot”, “.print”, or “.fourier” lines; no simulations run

I try to run a simple RLC circuit under ngspice in batch mode and the netlist is written as follows: ...
2
votes
2answers
357 views

Exporting LTspice waveforms to txt or csv

I have used the file _>export facility to generate txt /csv file for subsequent analysis in Matlab. The problem is that the exported waveform time steps are not uniform and the waveform is quantized. ...
2
votes
1answer
221 views

How do I prevent line wrapping in HSPICE output tables?

For example, I have the following .measure lines in my HSPICE netlist: ...
2
votes
2answers
422 views

Trying to simulate a PWM model of a boost converter in gnucap

There's a paper called "Simplified Analysis of PWM Converters Using Model of PWM Switch (part 1)" by Vatché Vorpérian which introduces a "PWM switch" to model the switch and diode in a switching ...
2
votes
1answer
1k views

How to get started using ngspice?

I've recently finished some work with hspice, and now I don't have access to the server. I've installed ngspice on my Fedora 15 machine, but I'm unfamiliar with how it works. In hspice, I was able to ...
2
votes
0answers
26 views

PSpice VSIN frequency - how to set it in rad/s?

I know, that if I want to set FREQ, I need to set it in Hz, not in rad/s. I know, that 1 Hz = 2*pi rad/s, but how to do this in PSpice? What should I enter exactly? and btw. if I want to set VOFF ...
2
votes
0answers
48 views

Negative time measurement with hspice?

I was wondering what the best way to measure the standard tPHL, tPLH parameters was in HSPICE. Specifically I was wondering the best way to address the negative values I am getting. I have a circuit ...
2
votes
1answer
167 views

How to modify spice transistor model

I have a few transistor (example 2n3906, 2n2222, etc) models and have used them with ngspice & gnucap with no issues. I would like to use another transistor (example 2n4401) but I am not able to ...
1
vote
5answers
837 views

IR Demodulator Design

I am designing an IR demodulator circuit to replace the one shown in this question. Basically I want to demodulate a simple IR signal modulated at 32.678 kHz. I just need to know if the signal is ...
1
vote
1answer
53 views

SPICE Model For Voltage Reference

Anyone aware where can I find SPICE models for MAX6126, MAX6250 etc? I searched a lot and could not find. If anyone knows, can you please share the link/file?
1
vote
2answers
168 views

Defining a nonlinear capacitor in Ngspice

I try to simulate an electronic circuit depicted in the schematic below. This circuit contains two nonlinear devices : These two devices are depending on the charge density and are defined as ...
1
vote
2answers
73 views

Spice_ Capacitors in series

I try to simulate an RLC circuit depicted in the annexed file. I have noticed that ngspice is not able to compile two capacitors which are connected in series. The netlist is written as follows: ...
1
vote
1answer
227 views

.SUBCKT command in SPICE

In the User’s Guide and Reference of SPICE I see this definition of .SUBCKT command .SUBCKT SubcircuitName N1 [N2 N3 ... NN ] As I can understand SubcircuitName ...
1
vote
1answer
226 views

Simulation of Band-Pass Filter (RLC) in ngspice

*I think I've found the answer myself. Check out the question comments.* Sorry for my bad English, I'm still learning it. This week I started using ngspice. I've built some simple circuits to get ...
1
vote
3answers
1k views

Pspice OpAmp Integrator Problem

I am trying to get PSpice to simulate an integrator but I am having difficulties. The output should be a triangle wave form that is approximately 1.3 volts. However I keep getting something much ...
1
vote
1answer
79 views

VerilogIn and Spice out in Cadence or Synopsys

I want to convert a verilog netlist into a simulatable SPICE (or HSPICE) format. I have seen people talking about verilog-In and spice out in Cadence. How does this process actually work? What are the ...
1
vote
1answer
254 views

Command line simulation using pspice

I'd like to use OrCAD Pspice's "psp_cmd" to do three simulations using only one .cir file. The problem is that execution of psp_cmd mycircuit.cir creates only ...
1
vote
1answer
488 views

RESOLVED: General Pspice and 555 timer question regarding precision

I have been experimenting with values recorded using a multimeter versus the voltages (rms) simulated using capture. I simultaneously setup a circuit using a breadboard and draw the exact same circuit ...
1
vote
1answer
304 views

Where can I find the maximum value of length and width that a PMOS or NMOS supports?

I searched the web but didn't come up with something good. I am using the 0_25umMODEL_TYP.md module of spice. I was wondering, what is the maximum size transistor ...
1
vote
1answer
159 views

Drawing Out Circuits from SPICE Description

I've become familiar with ngspice on Linux (Fedora 15). I even got syntax highlighting going for .sp files in gedit. However, when I describe the circuit in a SPICE deck I have no way of telling ...
1
vote
1answer
111 views

Setting up Norton Equivalent of RLC circuit automatically?

I'm trying to gain a better understanding of how the internal SPICE solve works, and for the most part I understand the basics of DC analysis and transient analysis when it comes to RLC networks. The ...
1
vote
0answers
93 views

Simulation of a circuit

I am trying to simulate this circuit i want to know if the circuit i assembled is correct? i want the current of VCCS element 1 and 2 plotted on a graph as i vary Vtun, Vsprog and Vdprog. I am ...
1
vote
0answers
232 views

Is it possible to add several plots to the same PSpice simulation?

I'm using OrCAD Capture/PSpice 16.3 to simulate a MOSFET circuit. One of the difficulties I'm facing is plotting a timing diagram of several voltages. If I simulate the project and choose which ...

1 2