# Questions tagged [ltspice]

Anything related to LTSpice. LTspice is a SPICE simulation, schematic capture and waveform viewer program from Linear Technology. LTspice is freeware with very liberal license, it is lightweight and isn't crippled in any way.

781 questions
51k views

### How do you simulate voltage noise with LTSpice?

Is there a way to setup a voltage supply with voltage jitter/noise? I want to experiment with filtering out noise on various voltages etc. but not sure how to configure LTSpice to create a noisy ...
36k 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?
3k views

### Why doesn't LTSpice predict this op-amp oscillation?

I'm developing a circuit to act as an electronic load for bench testing power supplies. An earlier question about how to test this circuit received several very useful answers and can be found here: ...
14k views

### Why is my simple boost converter giving me such a high peak output voltage?

I am trying to understand switch-mode power supply fundamentals through a simulation in LTSpice. I wanted to build an excruciatingly simple boost converter circuit following a teaching model often ...
1k views

### LTspice sinusoidal voltage source with offset much larger than amplitude broken?

I've been troubleshooting an analog circuit and have just come to the realization that Sine Voltage sources at mV are broken. Here is one that is supposed to provide a 1mV 1Hz sine wave on top of a ...
7k views

### How to plot “voltage drop” across a specific component in LTSpice?

In the above circuit I can only be able to plot |Vr1+Vc1| = V1 in green plot and Vc1 in blue plot. I use the voltage probe in LTSpice and click on the lines to obtain the plots. If I click on the line ...
16k 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/...
23k views

### Why does LTSpice say that my “Matrix is singular” for this ideal-transformer circuit?

I'm trying to do find the voltage over R1 in the following circuit, where L1/L2 is an ideal transformer. LTSpice complains that the "Matrix is singular". Why? I've tried to play around with lots of ...
683 views

### Issue with parallel resistors in LTSpice

I'm trying to build a reactive load box, so I can run a guitar amplifier without a speaker. It's basically a device that simulates the impedance/frequency curve of a relatively high power speaker. I ...
23k views

3k views

### LTSpice: How to vary resistances in a simulation depending on the value of a voltage?

I am trying to implement the Hodgkin-Huxley model for simulating neurons using LTSpice. One feature of this model is that the resistances at any given time actually depend on the transmembrane voltage ...
5k views

### SPDT in LTspice

I'm currently new to using LTspice as a circuit simulation software. Right now I'm trying to check if the IC (BD6221F-E2) that I included in the program is working. The process of making this IC is ...
10k views

### LTSpice (mac) How can I display the current in the schematic?

I want to simulate a circuit and display the current directly in the schematic. However I am only able to display the voltage. Here you can see an example where someone actually displayed the current ...
5k views

### DC power supply simulation trouble

I'm trying to simulate a relatively simple AC->DC power supply in LTSpice, but it's not quite cooperating with me. I've followed this schematic: only replacing potentiometers with resistors due to my ...
1k views

### LTSpice: Can I vary schematic temperature over time?

I'm trying to simulate a temperature sensing schematic with a latching function (meaning that the schematic should go to overtemperature mode at let's say 75C and go back to normal at 50). I can do a ...
6k views

I am very new to LTspice. I would like to ask "How can I add a photodiode in the Ltspice?" Is ideal photodiode (or any specific) model already included in the LTspice or do I need to create third ...
14k views

### “Unknown subcircuit” in LTSpiceXVII

I'm attempting to simulate a circuit that is intended to take a 5V/GND input and make split +/- 2.5V rails with a virtual ground. When I try to simulate, LTSpice complains about "unknown subcircuit" ...
487 views

### How to break components in SPICE?

I've been learning SPICE over the past few days, using the LTSPICE program. One thing that just escapes me, is how exactly do we know when a component's absolute maximum ratings have been exceeded? ...
6k views

### LTspice: Vary a capacitor's value over time

I want to vary a capacitor's value over time. A previous question (LTspice: Vary a resistor's value over time) asked how to vary a resistor's value over time. One of the answers was to use a ...
1k views

### How to model a noisy Zener diode in LTSPICE?

I'm trying to simulate a white noise generator of the Zener diode style. I'm going with current amplification, rather than the more traditional voltage amplification just because. My problem is that ...
8k views

### Parts tolerance simulations in ltspice

I just recently found this tutorial (and various other places mentioning a similar technique) when trying to evaluate how one of my circuits behaves when using real world components with real world ...
2k views

### Why am I getting negative base current in LTSpice simulation?

When I was trying to bias an NPN transistor I noticed that the base current Ib is negative in LTSpice. So for the sake of simplicity I only apply voltage to the base-emitter junction. As you see in ...
2k views

### LTspice gives wrong AC analysis

I have multiple issues with LTspice. Take this trivial example: ...
441 views

### LTSpice transistor output capacitor not decoupling DC

The circuit below shows a Darlington pair that is used to amplify an AM signal picked up by an LC tank. As you can see in the input and output waveforms below, the signal is amplified but not ...