Questions tagged [simulation]

About tools to simulate circuits. Specify the tool used.

Filter by
Sorted by
Tagged with
72 votes
7 answers
86k 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 ...
21 votes
6 answers
29k views

LTspice automation

I have a battery-powered boost converter and I'm attempting to measure the maximum input (battery) voltage droop under various load conditions of high current draws (different duty-cycles/...
Joel B's user avatar
  • 3,487
0 votes
1 answer
1k views

Simulating a variable mutual inductance model

Can we simulate a time varying mutual inductance in Matlab Simulink (or any other simulation tool). Matlab Simulink has a variable inductor, but I could not find not mutual inductor.
Pojj's user avatar
  • 858
32 votes
5 answers
71k views

LTspice: Vary a resistor's value over time

I want to simulate the load regulation of a power-supply. I'm sure I remember being able to vary the value of a resistor over the course of a simulation in LTspice, but I can't remember how. Anyone?
volting's user avatar
  • 897
2 votes
1 answer
5k views

LTSpice capacitance dependend on voltage source

I am looking for a way to change the value of a capacitance dependent on the voltage source of the circuit. How do I create a voltage dependent capacitor in LT spice? Edit: Two capacitances in a row ...
soderhans's user avatar
1 vote
1 answer
133 views

How determinate parameters for thermal-model battery (Advanced question about battery modelling)

I'm trying to simulate an electrical model based on Ceraolo battery model for lead-acid battery. The challenge in this model is to determine the parameters that describe it. I can understand and ...
SrnLord's user avatar
  • 157
42 votes
3 answers
17k views

How do Circuit Simulators actually work?

I recently had the opportunity to play around with LiveWire, which is a circuit simulator and began wondering how exactly they computed the voltages across each component and the current going through ...
Thomas Russell's user avatar
8 votes
1 answer
6k views

Modeling a solar panel for simulations

I need to simulate a power conversion system (using SIMetrix/SIMPLIS) in which solar energy is captured by a solar panel, which is then connected to an inverter for supplying current to the grid. ...
DavideM's user avatar
  • 594
5 votes
4 answers
3k views

What exactly are IBIS simulation models? Can I use them like a normal simulation component?

I read a lot about IBIS. "What I understood is that they basically model the input and output voltage and current data based on actual performance instead of describing them through equations ...
needbrainscratched's user avatar
4 votes
2 answers
31k views

How to trace down why LTSpice simulation is slow?

I have a pretty complicated schematic in LTSpice (at least it is the most complicated schematic I ever tried to simulate in LTSpice). For some reason simulation of just 20 ms turns into about 15 ...
Roman Matveev's user avatar
3 votes
2 answers
7k views

How to create Spice / LTSpice repeatable damped sinusoid

Is there a more elegant and/or simpler method to model a repeating, damped sinusoid from SPICE or LTSpice rather than chaining the damped SINE sources in series? Below is a schematic and the ...
smoothVTer's user avatar
3 votes
1 answer
5k views

Diode Bridge in Simulator not behaving as expected

Hi I have a Diode Bridge as outlined in the image below. As you can see I am getting a negative voltage on one pair of diodes instead of this voltage being flipped to positive. Can you see anything ...
skyfoot's user avatar
  • 203
0 votes
1 answer
286 views

How does this BJT affect the circuit? If it does, how should I simulate on Circuitlab to see the effect?

I am trying to understand how NPN Q23 in the picture below affects the operation of the left circuit. If it doesn't then what we get is the circuit on the right with the only transistor now being Q30....
Geo's user avatar
  • 744
0 votes
3 answers
614 views

Can't simulate RC in LTspice

I am trying to learn LTspice. I have drawn a simple RC circuit and the probe-cursor is currently at the node connecting the cap and the resistor (Vc) (cursor image is not captured by PrintScreen). I ...
Jimmy Falcon's user avatar
24 votes
7 answers
7k views

How do I learn HDL

I have a course in Digital Design in this semester and just love it. Now I know that most of the work in embedded system and digital design is done on computer simulators first and then implemented ...
Rick_2047's user avatar
  • 3,917
9 votes
2 answers
19k views

How to change the top directory in LTspice?

I installed LTspice in C:\Program Files, and when I go to "search components", the top directory is C:\Documents. How can I ...
SummerGorilla's user avatar
8 votes
1 answer
16k views

How do I achieve XY mode on LTspice?

I have two node voltages that I wish to plot against each other, similar to the XY mode on an oscilloscope. How do I achieve this via LTspice? LTspice only plots quantities against time.
user8244's user avatar
  • 183
8 votes
3 answers
53k views

LTspice error: timestep too small

This is the error I see: This is my simulation command: What is the issue here?
Neil Dey's user avatar
  • 367
7 votes
3 answers
3k 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 ...
user434565's user avatar
5 votes
2 answers
21k views

How can I use/model a custom diode in LTSpice?

I would like to simulate the behaviour of a zener diode in LTspice. Consider the following schematic simulate this circuit – Schematic created using CircuitLab I'm interested in simulating its ...
mickkk's user avatar
  • 1,060
4 votes
3 answers
14k views

How to make LTSpice sub-circuits available globally?

LTSpice Hierachy block can not be found if it is not in current working directory. I am using this tutorial to create sub-circuits in LTSpice: http://www.audio-perfection.com/spice-ltspice/...
Dr. Ehsan Ali's user avatar
3 votes
3 answers
13k views

How to plot voltage vs current graph on Proteus Software?

I have designed a basic Series Regulator which implements fold back current limiting. I wish to simulate this on Proteus software. I am expecting the following graph which shows how the output ...
rrz0's user avatar
  • 1,181
3 votes
2 answers
668 views

References for writing spice model code?

I'm currently looking into building my own spice models from datasheet specs to ensure accuracy. Are there any references for this sort of thing? I've looked around online and haven't found anything ...
Jaywalk's user avatar
  • 539
3 votes
1 answer
9k views

How to take Time Measurements using LT Spice

I've been fooling around with LT spice .MEAS feature for a while now and I just can't seem to determine how to take the time measurements I need for an assignment. I can look at the time values on ...
Cody Richards's user avatar
2 votes
2 answers
2k views

LTSpice Simulation - How to design a non ideal voltage source and limit its current?

I am trying to simulate a circuit which should pull the supply down. The problem here is that the supply is not current limited and the whole voltage is dropping across the \$0.1\Omega\$ RC of Q4 and ...
Eggi's user avatar
  • 334
2 votes
1 answer
2k views

LTSpice: Find settling time using .meas

I want to find the settling time (i.e. the voltage at C1 not leaving a band of 1% anymore) of a step response in a circuit like this: The step response looks like ...
DPF's user avatar
  • 439
2 votes
1 answer
2k views

LTspice simulation doesn't work, what am I doing wrong?

We were talking about this simple ramp generator: What would be the simplest BJT based *linear* ramp generator? and talking about simulation. So I downloaded LTspice drew up the circuit and started to ...
Gunther Schadow's user avatar
1 vote
1 answer
1k views

How to approximate the behavior of a phototransistor in the circuit editor?

While phototransistors are often used in this common turbidity sensor application (at least in part) because of their gain, their response is not linear since the gain will depend on the intensity of ...
uhoh's user avatar
  • 3,429
1 vote
2 answers
245 views

What is the fool-proof method to confirm whether the op-amp has -ve feedback?

As the theory goes, following are the 2 cases of op-amp operation: If there is a valid -ve feedback, inverting terminal volt = non inverting terminal voltage If there is no -ve feedback, o/p acts ...
Dynamic_equilibrium's user avatar
1 vote
3 answers
1k views

which is the best circuit simulator for my purpose?

hi all i want to know the the limit of my circuit,upto which it can withstand,so that i can select or change the components accordingly.When i tried simulation in NI MltiSIM, it works fine,but the ...
test's user avatar
  • 11
1 vote
2 answers
286 views

How to explain the strange results from this circuit (op-amp : differential amplifier?)

I have a differential amplifier. Problem of "gain" of the op-amp or "how it is wired." I have simulated this as a voltage source controlled voltage (VofV.) As a generic amplifer. ...
Antonio51's user avatar
  • 13.2k
1 vote
1 answer
1k views

Is it possible to model a PIN InGasAS photodiode in a SPICE simulator?

I want to know if it is possible to model a InGasAs panchromatic PIN photodiode, in accord with datasheet, in simulator SPICE MicroCAP 12. Because the supplier doesn't provide a SPICE model. And if it ...
Dragos Baciu's user avatar
1 vote
3 answers
27k views

LTSpice Transient Analysis - How to specify the number of data points per step

I performed a 1us duration transient analysis on a basic inverting op-amp circuit with the resistor value Rx sweeping from 846 Ohms to 1385 Ohms. When I export the data to a text file (File -> Export ...
Ken Lin's user avatar
  • 145
1 vote
1 answer
1k views

Simulation of a class E power oscillator using LTspice

My goal is to understand and design a class E power oscillator. To this end, I am trying simulate the following schematic using LTSpice. Circuit topology and the design values are extracted from the ...
Pojj's user avatar
  • 858
0 votes
1 answer
86 views

Can anyone tell me how to find permittivity of a dielectric sample using a rectangular waveguide

Im trying to find the material paramters of a dielectric sample using a waveguide(X band) employing the Transmission/Reflection technique. While performing simulation in CST, how to properly orient ...
Jithin 's user avatar
0 votes
2 answers
667 views

Keysight's Advanced Design System users, what's wrong with this common drain circuit simulation?

For those of you that use Advanced Design System (ADS), from this circuit: Fundamental Frequency for transient simulation tool is set to 1 GHz. Yet, I'm getting this output: Main question: Since ...
kozner's user avatar
  • 319
0 votes
1 answer
91 views

Investigating the effect of PCB layout parasitic in an op-amp amplifier by simulation

Would you please let me know what components I should add to my schematic as result of PCB parasitic to make my simulation more accurate? As an example, the following image shows an amplifier ...
Andromeda's user avatar
  • 115
0 votes
1 answer
2k views

Free online circuit simulator [closed]

Is there some free online circuit simulator where I can see see the electrons fluxing,imitating real-life circuitry?
sergiol's user avatar
  • 391
0 votes
1 answer
736 views

What's wrong with my RC circuit transient simulation in Cadence Virtuoso?

I am trying to do a simple RC transient simulation in Cadence virtuoso. Please see the circuit below: I am trying to see the transient current and voltage of the capacitor being charged,however I got ...
Leey's user avatar
  • 3
40 votes
11 answers
58k views

Free circuit simulator for educational purposes

I am looking for a free circuit simulator for educational purposes. My requirements are: Visual ("draw a circuit diagram, click simulate") It should contain light bulbs as circuit components such ...
student's user avatar
  • 503
36 votes
7 answers
44k 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 ...
sj755's user avatar
  • 889
24 votes
7 answers
3k views

What do HDLs compile/synthesize to?

I'm a software engineer. As a programmer, I have an understanding of what my compiler does for me because I've manually written a close textual representation of what it outputs (e.g. assembly). For ...
Jake's user avatar
  • 351
19 votes
6 answers
12k views

Simple Circuit Simulation tutorial

For the last few days I have been trying without any luck to find a good tutorial on simple circuit simulations. I am a relatively new hobbyist and I figure if I use simulations and play around the ...
Rick_2047's user avatar
  • 3,917
16 votes
6 answers
26k 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) ...
sj755's user avatar
  • 889
14 votes
7 answers
23k views

Free RF Simulation Software

What free tools are there to simulate RF circuits?
cksa361's user avatar
  • 3,834
13 votes
2 answers
14k views

Does an ideal capacitor dissipate power?

On several circuit simulators I have seen capacitors with a "Power" figure. Also, I have wondered how capacitive power supplies work. Does an ideal, zero resistance, zero leakage, zero inductance ...
Thomas O's user avatar
  • 31.8k
13 votes
7 answers
9k views

Program for simulating circuits on linux [closed]

Do you know any program that works on linux and can simulate complex circuits?
13 votes
10 answers
33k views

Fastest way to get integer mod 10 and integer divide 10?

If a hardware doesn't support modulus or division operations, it takes many more CPU cycles to simulate modulus/division by software. Is there any faster way to calculate division and modulus if the ...
Donotalo's user avatar
  • 347
10 votes
1 answer
5k views

LTspice: How can I show multiple probes with waveforms using stepping parameters in different colors?

I'm using LTspice IV (4.23I) and I am using the .step command to vary the capacitance of a capacitor, so that I can see multiple waveforms for a single probe. If ...
Bort's user avatar
  • 5,142
10 votes
2 answers
9k views

Can you interface a Modelsim testbench with an external stimuli

I am working on a team that is doing both driver software and FPGA development. The FPGA simulation is being done in Modelsim and driver software is written in C. To minimize integration risk, I ...
Cort Ammon's user avatar
  • 2,916