A famous textual circuit simulator with a number of graphic front-ends
-2
votes
0answers
31 views
Working with gEDA [closed]
I want to make a simulation of a simple Buck converter (with freewheeling diode) with gEDA & gSpiceUI.
How do I do that?
I'm totally new to this, it seems difficult to understand.
Do you know a ...
4
votes
1answer
126 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 ...
1
vote
1answer
63 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 ...
2
votes
0answers
43 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 ...
1
vote
1answer
101 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
90 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 ...
3
votes
1answer
435 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 ...
0
votes
0answers
35 views
Spice Physical Constants
According to the manual manual_17.2
ngspice allows using the predefined physical constants.
But if use inside my netlist, for example the electron charge is named as
"echarge", this constant cannot ...
1
vote
2answers
163 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 ...
2
votes
1answer
153 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
1answer
186 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
2answers
72 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:
...
2
votes
1answer
133 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
1answer
185 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 ...
4
votes
3answers
634 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?
2
votes
3answers
190 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 ...
0
votes
1answer
190 views
SPICE Modeling voltage during battery discharge
I am trying to create a spice model of a battery discharging into an LED.
I would like to model the charge remaining (Ah) throughout the discharge and as I understand it this can be acheived by ...
5
votes
4answers
152 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 ...
1
vote
1answer
215 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 ...
0
votes
1answer
283 views
Voltage regulators in SPICE software
I am having trouble figuring out how to add voltage regulators to my circuit for SPICE simulation. The regulator is a 78L10AC voltage regulator, 10V, 5% output tolerance, LP package. I have most of my ...
0
votes
1answer
302 views
Spice model, can't figure it out
I am using LTSpice with the following NMOS model from the library included in the famous book 'Sedra & Smith, Microelectronic circuits' :
...
0
votes
0answers
49 views
Extracting gear implementation source code from ngspice [closed]
As a part of my project I am trying to improve the performance of ng-spice.
My current approach is to improve the gear implementation in ng-spice. But I am having trouble in extracting the gear ...
2
votes
2answers
308 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. ...
1
vote
2answers
378 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
1answer
193 views
How do I prevent line wrapping in HSPICE output tables?
For example, I have the following .measure lines in my HSPICE netlist:
...
3
votes
1answer
172 views
Difference between .MACRO and .SUBCKT in SPICE
What is the difference between .MACRO and .SUBCKT in SPICE simulators, such as HSPICE?
0
votes
1answer
92 views
HSPICE node naming convention
I ran a parameter extraction program and its output is expected to be run under HSPICE. It looks similar to this:
...
4
votes
2answers
437 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 ...
3
votes
1answer
134 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 ...
7
votes
3answers
315 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 ...
0
votes
1answer
366 views
Error when simulating spice model in OrCAD PSpice
I am trying to simulate a circuit based on TS522 op-amp using OrCAD PSpice 16.5. The manufacturer's website did not have a model for this op-amp, and I had to look for it elsewhere. I was able to find ...
0
votes
2answers
137 views
How do I run MacSpice on the Terminal? [closed]
Is there a way to run MacSpice on the Terminal, similar to the Python interpreter?
1
vote
0answers
214 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
vote
1answer
243 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 ...
0
votes
1answer
150 views
pspice olb files
Are there any good places to look for these files? I've been googling for a few hours but haven't found anything substantial.
Also if anyone knows where to find a vpwl off the top of their head any ...
2
votes
2answers
411 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 ...
1
vote
5answers
798 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 ...
11
votes
1answer
375 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 ...
0
votes
0answers
382 views
Can SPICE simulate inductive device flyback effects?
Following up my earlier question, can SPICE simulate inductive device flyback effects? I would expect so, because this would seem to be a critical part of simulating a switching power supply design. ...
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
482 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
296 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 ...
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 ...
0
votes
1answer
411 views
LTspice: when I turn a schematic into a subcircuit it behaves differently. Why?
I'm trying to model a low frequency LED flasher based on a BEAM Pummer (basically a pair of CMOS inverters wired as an oscillator, plus a charge pump) in LTspice. I have the base flasher circuit ...
6
votes
1answer
348 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?
4
votes
3answers
494 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 ...
8
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 ...
2
votes
2answers
796 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: ...
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)
...
1
vote
1answer
152 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 ...
