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.

164 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
964 views

How can I simulate an NTC on LTspice?

I have a schematic for a temperature controlled device which should operate at a particular temperature. For that I am using an NTC, now I have done the math by hand but it is more efficient and ...
3
votes
1answer
164 views

How can I export the frequency response from LTSPICE without phase wrapping?

After I plotted the frequency response of a circuit using LTSpice as shown: I exported the plots data as a .txt file in order to plot them after that using MATLAB, however, after I plotted the data ...
3
votes
0answers
164 views

Correctly Using the Chan model in LTSpice

I am trying to use the Chan model to better simulate a transformer in my design. When I am making an equivalent transformer circuit, where does the Chan inductor go? On the LTWiki it is implied ...
3
votes
1answer
6k views

How can I model this common mode choke in circuit in LTspice?

How can the common mode choke in below diagram used in LTspice? By an inductor or transformer? How should be the circuit drawn in LTspice? I want to use this to filter out CM noises for single ended ...
2
votes
1answer
47 views

LTSpice: Get linear results using .meas command

Another quirky LTSpice question. I am measuring input impedance and using a .meas directive to get the impedance at specific frequencies: .MEAS AC Zi_freq1 FIND V(in)/I(v1) AT=10k When I right ...
2
votes
0answers
68 views

D-Class Amplifier Design Verification

I have an internship coming up working with comparators and amplifiers, so I wanted to take on a side project involving both of those components. Designing a D-Class amplifier seemed like a great way ...
2
votes
0answers
235 views

High Voltage Cascode with MOSFET LT Spice Simulation

I'm an electronics engineering student and want to develop a high voltage switch with normal Si N-MOSFETs. After some research, I discovered cascode switches for this application. Most of these ...
2
votes
1answer
125 views

Power amplifier simulation and real time experiment mismatch problem

Thanks in advance to anyone who will take the time to read my first post here. At present, I am doing a simulation of a power amplifier in LTSPice. The schematic and relevant files are uploaded in a ...
2
votes
1answer
751 views

Importing transistor spice model to LTSpice not working

Using LTSpice XVII. I want to import the Diodes Incorporated ZXTP19020DG model. The SPICE model from their web site is: ...
2
votes
1answer
206 views

LTSPICE - Simulation Portability

Does anyone know of a comprehensive source of information on LTSPICE directories, libraries, the Control Panel - Sym & Lib Search, model locations, etc. as they relate to simulation portability? ...
2
votes
2answers
604 views

LTSpice: how do I pass to a function a component name as parameter?

Good morning all. I am implementing a subcircuit in LTspice, and I want also to modify the plot.defs to calculate some quantities with the voltages/currents inside the subcircuit. Thus, I will have a ...
2
votes
0answers
51 views

Problem simulating LMP8645 current sense amplfiier in LTspice

Basically the problem i am getting is that the output offset voltage is extremely large (58mv) here is the datasheet for the amp: http://www.ti.com/lit/ds/symlink/lmp8645hv.pdf on page 9 it shows ...
2
votes
0answers
406 views

Can the directory/path on the schematics be disabled for the print in LTspice?

When you print preview from LTspice schematics the program automatically adds path/directory of the file to the bottom of the pdf. Not really a question directly related to an electrical engineering ...
2
votes
0answers
270 views

What's wrong with my input circuit? LTspice

I am designing my first power electronics board in LTspice to convert single phase AC to DC. This DC is fed to asymmetric bridge to drive an SR motor which is connected to a flywheel. This flywheel ...
2
votes
0answers
195 views

Nodal Analysis - solving 2 variables with 3 equations

There are three conditions: before the switch is closed (opened) while the switch is closed (closed) after the switch is closed (opened) I think I need to solve them sequentially, because the system ...
2
votes
0answers
345 views

Simulating varicap diode in LTSpice

I have been looking into making a voltage controlled oscillator using varicap diodes, however I have had hard time simulating the diodes in spice. Would anyone here have an idea how this would be ...
2
votes
0answers
3k views

LTspice, how to model a TLine

I am trying to do a simulation for a transmission line, I can draw below example circuit but got below two questions. How to do this step: .model TLine LTRA(...) ...
2
votes
2answers
445 views

Can I have two (or more) different symbols for the same LTspice schematic? How?

I have two components in my top-level schematic and noticed that the schematics of these components are actually the same. To avoid any duplication of changes done to these subcircuits, it would be ...
2
votes
0answers
2k views

Diode emission coefficient and saturation current

I have created a Zener diode model in LTSpice, and now I am trying to simulate it with different values of the saturation current (IS), emission coefficient (N) and breakdown voltage (BV) using Spice. ...
2
votes
0answers
424 views

Using SPICE to model dV/dt filter for inverter motor drives

I am starting to learn LTSPICE to create model where I can test various passive filter topologies for inverter drives where the output PWM has very short rise times and high switching frequency. I ...
2
votes
0answers
421 views

Spice code for uplim and dnlim?

Does anyone know where I can get sources for LTspice's uplim and dnlim? I'm trying to port a netlist from LTspice to ngspice. ...
2
votes
0answers
5k views

LTSpice Solar / photovoltaic simulation

I've been trying to simulate a solar cell with LTSpice to generate an I-V curve. The model I've been using is the simplified equivalent circuit model with a current source in parallel with a diode. ...
1
vote
0answers
54 views

Capacitor Storage Circuit Having Lower Voltage Than the Simulation

I designed a circuit to store a pulse of 8 volts and duration of 40 micro seconds. When I simulated the circuit it reached 3.5 volts and discharged.The circuit and the simulation is given below; In ...
1
vote
0answers
44 views

Clapp Oscillator Oscillating Frequency Strongly Dependent on the Transistor

For temperature sensing purposes, I have been challenging myself to design a dual mode crystal oscillator operating at the frequencies 30MHz and 90MHz (fundamental tone and the third overtone, ...
1
vote
2answers
79 views

Why is the cutoff frequency of this highpass filter with formula different from LTspice?

I used this online tool to play around and design a Sallen-Key low pass filter with a cutoff frequency of 0.3Hz. When I now put the resulting values for R1, R2, C1 and C2 in the formula I get exactly ...
1
vote
0answers
87 views

Error converting PSPICE model for LT Spice

I'm using LTspice XVII, and I'm having issues generating components from PSPICE component files. Previously, I was able to follow the method of opening the netlist file, highlighting the name, right ...
1
vote
0answers
59 views

opamp simulation

Is the following open loop transient simulation of opamp correct ?
1
vote
1answer
41 views

enveloping curve - LTPSICE

I have built a simple rlc circuit with a pulse input and performing transient analysis on it. I am interested in the voltage of the behavioral voltage source as shown in circuit. The system is an ...
1
vote
0answers
49 views

analogous mechanical electrical system- LTSPICE

I have created a basic series and parallel rlc circuit in LTPSICE. According to this http://lpsa.swarthmore.edu/Analogs/ElectricalMechanicalAnalogs.html and https://www.tutorialspoint.com/...
1
vote
2answers
233 views

LM317 maximum current output as a voltage regulator

I built the following circuit in LTSpice using LM317. With a current load at the output, stepping from 0.1A to 1A, I noticed the output voltage collapsed at around 800mA. This is a surprise, since I ...
1
vote
0answers
77 views

How to convert maxim MAX9650 pspice file to LTspice compatible file?

I am trying to simulate the opamp MAX9650 in ltspice with the model provided here: https://www.maximintegrated.com/content/dam/files/design/tools/modeling-simulation/pspice/MAX9650.FAM I changed the ...
1
vote
1answer
131 views

VCVS in LTSpice Operating as a Comparator

I am using a VCVS in LTSPICE. I am confused about the command in the Spiceline for using a Table. I want to use the VCVS as a 1 bit Comparator instead of making a transistor based one. What will ...
1
vote
0answers
56 views

LTspice - using save/load bias with a parameter sweep

I have a circuit which has some hard time converging in a DC simulation. The circuit does converge nicely in a transient simulation when skipping initial condition calculation. Therefore, I've ran ...
1
vote
0answers
247 views

In LTspice can I convert the units of an FFT which by default seem to be shown in dBV to dBµV?

In LTspice can I convert the units of an FFT which by default seem to be shown in dBV to dBµV? Cause of reason: The reason for this is that I've a modeled a LISN in LTspice where I want to simulate ...
1
vote
0answers
129 views

Auto-numbering components in LTspice

I'd like to re-number the components of my LTspice simulation from left to right and top to bottom to make the schematic more presentable. For example, in the circuit below, I'd like R44 to be R1, R50 ...
1
vote
0answers
2k views

3-Phase Inverter simulation

I'm trying to simulate a 3-phase inverter for BLDC(PMSM) in LTSpice. The problem is that drain current is way too high and also phase voltage isn't right. **New image *One leg If I put one source(...
1
vote
0answers
268 views

LTspice simulation of AD8421 instrumentation amplifier giving incorrect output voltages

I am trying to run a simple simulation of an instrumentation amplifier (AD8421, model from here) running on a single supply, but the output does not seem to be correct. The screenshot below shows the ...
1
vote
0answers
154 views

Improve mosfet spice model for LT spice solver

I have a SI7460DP spice model that I would like to use in a DC DC buck\boost converter (LT8390). I'm using the standard LT spice file generated by LT powercad (boost converter going from 12 to 15V). ...
1
vote
1answer
82 views

Isolated three level pwm LTSPICE

I am doing a simulation on LTSpice of a three level ANPC. The ground is connected to the neutral point (i.e in the middle point of the DC input) and the gate drivers are isolated by using a DC DC ...
1
vote
1answer
367 views

Simulating ADL5536 Gain Block with Ideal Amplifier

I'm trying to simulate the ADL5536 Gain Block in LTspice. A link to the datasheet can be shown below: http://www.analog.com/media/en/technical-documentation/data-sheets/ADL5536.pdf Analog Devices ...
1
vote
0answers
109 views

LTspice Hung Up For Certain Voltages?

I am running a transient model of a Type-E PFN circuit (probably not an important detail) and my processing time jumps from about 1 minute for one DC source voltage to roughly 475 years for another. ...
1
vote
0answers
412 views

How's this for an SSR LTspice model?

I probably need to use an SSR for a design. I have never used SSRs, I just know things that have read on data sheets and the internet. I am planning on using the following spice circuit for a model... ...
1
vote
1answer
318 views

Some questions about a magnetically coupled circuit

Below the RLC circuit on the left side by the help of a periodic impulse generator V1 generates periodic damped oscillations with a certain frequency, and the resulting oscillating current couples to ...
1
vote
0answers
56 views

irritation in LTspice

I have written some measurement commands in LTSpice to calculate the weighted harmonic distortion (PWHD) .meas a1n INTEG (I(Lgra)*cos(2*n*180*fg*time)) .meas an PARAM a1n*2*fg .... (if somebody ...
1
vote
0answers
2k views

LTspice unicode trouble with micro symbol

I am having a pretty simple issue with LTspice, I built my circuit and it works fine, but the units for the capacitors don't display properly and I get the that "fE" unicode error I guess instead of ...
1
vote
0answers
138 views

Modelling a LED Array for SPICE simualtion

I am currently looking to model a whole LED array within LTSPICE. I am working on all of hte logistics right now. I currently have a LED array with about 300 LEDs on the array. Instead of modelling ...
1
vote
0answers
360 views

Precision absolute value circuits

I see several options for this; there is the TI's application bulletin (originally a Burr Brown App. Bull. from 1997) --- www.ti.com/lit/an/sboa068/sboa068.pdf There's LT's LT1001-based circuit: http:...
1
vote
1answer
636 views

Import MCP602 Model into LTSpice - Timestep Error

Good evening Community, I would like to use the MCP602 model in LTSPice, but I am having simulation errors. Please see schematic below. I have downloaded the model from Mircochip and opened it via ...
1
vote
2answers
5k views

Fourier transform - LTSpice

Is it possible to get the Fourier transform in LTSpice? For example I'd like to plot the Fourier transform of the following signal: $$s(t)=A \space sin(2\pi f_0t)$$ Can you attached a LTSpice ...
1
vote
0answers
82 views

Problem with Simulation Results VS Tested Results for a signal

For the circuit shown i am having some trouble wondering why my tested signal looks like this (i understand that it could be clipping) but when i measure my circuit in the simulation it is correct? ...