Individual Component Temperature Set/Sweep in LTSPICE simulation

LTSPICE allows to set individual device temperature. However, this possibility is not described in documentation. Read more

Passing Parameters to Hierarchical Block in LTSPICE

There were a couple of questions on how to pass parameters to Hierarchical Blocks from main level schematic in LTSPICE. In fact, until recently, I was having troubles doing this. But solution is very simple and strait forward. Read more

Undocumented LTSPICE features-solving some of convergence problems using backward Euler integration method.

LTSPICE is surprisingly flexible simulator but some of important options are not described in documentation. One of them is additional method of integration that you can use to address convergence problems. This method is called backward Euler. Read more

Audio Total Harmonic Distortion Analyzer for LTSPICE, making THD vs. Amplitude and Frequency sweeps in LTSPICE

FFT capabilities integrated into LTSPICE simulator are nice and flexible. However, if you would like to evaluate frequency or amplitude dependence of distortions, you have to take these measurements point by point and then manually plot them.

I created an LTSPICE add-on to automate THD measurements and plot result in the form of THD vs. Amplitude and THD vs. Frequency graphs. Read more

Adventures with .MEASURE in LTSPICE

.MEASURE or .MEAS is a very convenient and one of the few options for built in post processing of simulation results in LTSPICE. Though, you should be careful, while using it. Read more

Baxandall inspired tone control – response simulation

Here is an example of parametric sweep, showing one possible way of potentiometer and variable resistor simulation in LTSPICE. I will use commonly referenced tone control, originally suggested by James and modified by Baxandall to utilize active tone control scheme. Read more

Stepping Component and Model Parameters in LTSPICE

Stepping component and model parameters is essential for many SPICE simulations. Some SPICE simulation programs are offering better capabilities than the other. Read more

Subsircuit analisys, converting subcircuit netlist to schematic

Imagine, you are lucky to get subcircuit for component you’d like to simulate. How good this subcircuit is?

Quality of simulation strongly depends on quality of subcircuit model that is used. Unfortunately, netlist for complicated subcircuit does not look like schematic drawing and is hard to interpret. Yes, everything is there, but as many design engineers, I’m thinking in terms of schematic when it is comes to necessity of interpreting functional behavior. Read more

Hierarchical Blocks in LTSPICE

LTSPICE is offering very nice possibility to incorporate repeatable portions of schematic into simulation, that is not available in many other SPICE simulation programs- hierarchical blocks. Hierarchical blocks represent reusable portions of schematic, visible on higher level of schematic as a symbol. While LTSPICE is missing multipage schematic editor, hierarchical blocks are offering another simple way of creating complex schematics. Read more

Schematic Integration of Subcircuit into LTSPICE

LTSPICE is offering very simple and straight forward way to create a symbol and  connect it to subcircuit definition.

Every subcircuit that you want to use should have corresponding schematic symbol. Symbol is a drawing, used to represent a device, described by a subcircuit or a hierarchical block. You may use existing symbol if it’s pinout and functional drawing corresponds to your subcircuit, or you may create a new drawing to represent unique subcircuit definition that you just created. Read more

keep looking »