¿ªÔÆÌåÓý

Date

Time domain based frequency response analysis

 

A lot of simulators have added POP/PSS (Periodic Operating Point/
Periodic Steady-State) solvers to their repertoire. Micro-Cap
recently added POP capability. They discuss it here:



Notice the effect it has on the resolution of the FFT example.

Many other simulators take this further with the addition of a
time domain based fast running FRA (Frequency Response Analyzer)
capability (SIMPLIS, PSIM and NL5 come to mind, but there are
others as well). This capability allows the simulator to directly
produce Bode plots and loop gain analyses for switched circuits
such as switched-mode power supplies (a very good feature, IMO).

The application of small-signal frequency-domain analysis to
switching piecewise-linear systems presents tremendous challenges.
Some years ago I made a FRA completely within LTspice using its
special a-devices (still available in our group files section).
About that time, Mike added some FRA examples to LTspice that use
post processing (.meas statements) to complete the analysis and
plot the results. Mike writes about this at length in the FAQ
section of LTspice's Help file topic ("How to get a Bode Plot
from a SMPS"). He argues that it is not worth the trouble because
it is generally not needed in order to be able to compensate a
design using an LTC IC because most of them use current mode
control.

Both of the above LTspice FRA approaches (mine and Mike's) are
painfully slow and suffer numerical dynamic range noise problems.
SIMPLIS (which has a free, but node limited demo) will solve for
the frequency response and/or loop gain of SMPS circuits with no
noise issues and will run the complete response analysis within a
few minutes (LTspice might take hours to do the same thing).

Here is link to a paper in which a basic buck stage is simulated
with SIMPLIS. The schematic is on page 16 and the SIMPLIS output
is shown on the next page (out to several times the switching
frequency).



The results shown look very clean with just the right sort of loop
response as expected for the extended frequency range simulated.
In the past, I have measured SMPS loops with an HP4194A loop gain
analyzer. The lab measurements look just like the SIMPLIS results.
I have also used the Ridley AP analyzer, but it is not quite as
accurate as the HP4194A. I have been told that the Venable analyzer
produces very good results as well (perhaps the best of all).

SIMPLIS type simulators are very fast in part because they approx-
imate all the nonlinear switched devices (diode, MOSFETs, etc.)
with line segment approximations through the switch transition
(some allow the number of segments used to be specified). Part of
their speed comes from the use of the POP/PSS analysis to quickly
find the operating point. I think a large part of their speed
also comes from having a native frequency response analyzer device
directly built into the simulator code.

LTspice already has a lot of these types of capabilities (ideal
diodes and switches with smooth transitions), POP/PSS sensing (but
no accelerator to get there). It has fast state transition sensing
devices (the digital a-devices). Personally, I would like to see
Mike add a native FRA device to LTspice so that it could generate
Bode plot loop-gain curves for switched mode products. It would
not be necessary to be as fast as SIMPLIS because LTspice does not
use the less accurate line segment approximations, but noise free
results would be a must. Run times of one third to one tenth the
speed of SIMPLIS (or the others) would be okay.

There are lots of tricks Mike could use to speed up the analysis.
For example, the Venable analyzer looks at phase change rate to
dynamically adjust the spacing of the frequency measurement points.

For LTC current mode ICs, all this may not be necessary, but for
general SMPS design there are many cases in which second order
effects dominate the loop response (series ESR in capacitors,
parallel loss in inductors, variable operating point dependent
delays in opto-isolator devices, etc.). In cases like these, or
when using non standard control methods, depending on averaged
models and standard concepts may lead to false conclusions and
bad choices in compensation design. A time domain FRA capability
in an excellent general purpose simulator such as is LTspice would
allow the designer better insight into the circuit and would be a
big plus to its feature set.


LTspice models for rad-hard RH regulators

 

Are people using LTxxxx models to simulate RHxxxx. For example, are people using LT117 models to simulate the RH117?

Are people happy with the gain/phase margin accuracy of the LTspice regulator models?


Re: LTspice Genealogy - The Heritage of Simulation Ubiquity

 

dear A.S.
I believe my answer was correct with respect to programs labelled "SPICE".
And you can research too.
Hank McCall

On 7/22/2013 11:45 AM, analogspiceman wrote:
--- In LTspice@..., "analogspiceman" wrote:

Segueing back to the history of LTspice, I just found a very in-
formative article that appeared in Electronic Design from October
of last year. In the middle, it has a long section in which Mike
Engelhardt recounts in a level of detail that I haven't seen
elsewhere, the technical history of the development of LTspice.

Here's the pertinent excerpt:

"Free Downloadable Spice Tools Capture And Simulate Analog Circuits"
by Don Tuite, Electronic Design, Oct. 23, 2012 (web edition).

How Engelhardt Made LTspice

Engelhardt is essentially the godfather of Linear Technology's freeware LTspice, and he has been supporting it and making it faster for 15 years. It all started because Bob Swanson and Bob Dobkin asked for a promotional tool. They got rather more than they bargained for because Engelhardt is the kind of engineer who obsesses about doing the job as thoroughly as possible. In this case, he wanted to make LTspice the world's fastest.

He also wanted to give Linear's chip designers the opportunity to make the best models. He points to Linear's current-mode switching supplies as an example. "A current-mode switch-mode power supply is basically a glorified flip-flop," he begins. "Something sets the flop, turns on a power switch, and a current is monitored, and when a condition is met, the thing is reset." As long as the designer gets that flip-flop working correctly, gets the "reset" condition correctly, and has the right transfer function between the compensation of voltage and peak current, "basically everything else is a detail."

This approach led Engelhardt to conclude that behavioral models are more useful than transistor-level models. "When we make analog models, we can avoid a bunch of numerical difficulties. When we get done setting up the system simultaneous equations that need to be solved, we have many fewer non-zero elements," he says. That makes it possible to solve the equations more rapidly.

Sometimes, this comes down to a black-box approach. Returning to that switching-supply example, Engelhardt says, "The main flip-flop of current-mode switcher is basically about a dozen gates. That's because you have to accommodate a maximum duty cycle and you want to set it with an edge and reset it with an analog condition." In terms of a fine-granularity model, implementation typically takes about a dozen gates. Instead of modeling that, Linear has a native circuit element that does that, and its behavioral model simulates faster.
"World's Fastest Spice"

Engelhardt says his approach to accelerating Spice evolved in an interesting fashion, and it required breaking some rules. "In the '70s when you were writing a numerical solver, and you were being disciplined about it, you would always keep firmly in mind that the fastest way to complete something was to not compute it all but to put it in a lookup table," he says, but that wasn't for him.

"That's the worst thing you can do. The computer CPU is hundreds of times faster than memory. Every time you use a lookup table, you have to fire those transistors in the RAM. You have to keep everything in cache," he says.

Surprisingly for someone who is talking about designing a Spice to run on PCs, Engelhardt turned to Seymour Cray for inspiration. Engelhardt says that matrix solving is a classic application of parallel processing.

"The Cray was about being able to take a row of a matrix, multiplying it all by one number and subtracting it from a number of rows," he says. Initially, in fact, Engelhardt had written a multi-threaded matrix solver and found it hundreds of times slower than a single-threaded matrix solver. So, he analyzed the actual time required to execute all of the instructions.

He found that the timing of the different threads was, in a sense, chaotic. It turns out to be better to use one thread than multiple threads because the timing between threads means it's impossible to get any speed up from using multiple threads. That insight sent him to the literature about multi-threaded sparse-matrix solvers, which confirmed what he was finding out.

"You can implement a multi-threaded solver that runs faster than a single-threaded solver if the matrix is exceedingly this sparse. But to solve the circuit matrix for a big IC, only a few parts out of a thousand are non-zero," he says. One problem was selling that concept in an engineering environment that expects a multi-threaded solver, so he told people that it was a multi-threaded solver, but the matrix itself was single threaded.

That wasn't the end, though. He then thought he could write a faster matrix solver. Engelhardt's next discovery was related to the number of clock cycles it takes to perform a floating-point operation. Benchmarking the kind of 3-GHz processors that were in common use, he figured each clock was 300 ps, and three of them were required to execute one floating-point operation.

"After the operation has been completed, if there's a long pipeline, you've got to wait to give the result to the processor at the end of the pipeline," he says. With Engelhardt's approach, the processor has to sit there and twiddle its thumbs for 900 ps before it can multiply two floating-point numbers to yield a 64-bit accurate result. He reckons that if you're counting floating-point operations, this makes a multithreaded architecture run at probably something like only 10% of its theoretical speed. So, he found a way to fix thatanother technique based on the wise use of memory. The only important thing, he says, is how well you use the cache.

"When you're coding in a high-level language, much of the time when we refer to `X,' it's not X, it's the address of X. And, the programming language doesn't know where X is stored. So you have to ping the transistors on the motherboard a few times to get the actual bit pattern that's your double-position number. And that's unavoidable," he explains.

But here's the trick: "After you know where your data is, if you to look at all your addresses, at that point you could call an assembly language program that would access the data itself, keeping the pipeline full. And that's what LTspice does."

Effectively, after it loads all the data, LTspice finds a strategy for pivoting the matrix and solving it. Then it accesses the assembly language program, assembles it, links it, and just calls each address to solve the matrix. "And that sped up the process by a factor of three," he says.

When experienced circuit designers began to download LTspice and use it, they immediately noticed the difference from PSpice. They didn't see it immediately in terms of efficiency, but it was noticeably faster. However, Engelhardt also notes that LTspice is for circuit design. It's not intended to compete with an IC design tool such as Cadence's HSPICE. On the other hand, it's free, versus $1500.

Of course, the implementation of the modeling is only part of the story. The other part is the models. Engelhardt says that modeling power MOSFETs is tricky. "Power MOSFETs are hard to simulate in most Spice programs because a power MOSFET is a vertical structure. It has a drain on the back of the die. In contrast, in modeling an IC, everything is lateral and on the same side of the silicon," he says.

"We made a vertical MOSFET model where the gate and drain can be different sizes, and the channel is in between them, with the capacitance between the gate and the drain being dependent on whether the channel is enhancement or depletion. That charge model doesn't exist in other Spice programs," he says.

He says it's important to have that capability. The need for it became obvious when it became clear that with other Spice programs, "Switching waveforms from power MOSFETs didn't match what you see on the bench, and that's because this gate-drain capacitance introduces a Miller effect that dominates the switching characteristics," he says.




------------------------------------

Yahoo! Groups Links




Re: Convergence Problems.

 

--- In LTspice@..., "jason.vanryan" <andrewc.russell@...> wrote:

I have some files that ran ok in simulation a few months ago.

I moved everything to a folder on my desktop, but leaving the library in the the same folder as the LTSice executable ( program86 folder in windows). I've done this to ease back up etc.

Some of my files still seem to run ok ( transient analysis), but others won't run - ie I get a few hundred nano seconds of simulation and everything grinds to a halt. I tried using different transistors types, still no joy. Interestingly, the loop gain simulations run ok. Weird.

Any ideas as to what could be the problem? I've set everything in the tools tab to default. BTW.
Thanks for the feedback. This is happening on the latest version I downloaded and after I hav set all sim variables to default in the tool tab.

I will try the cap idea and see how it works out.


Re: LTspice Genealogy - The Heritage of Simulation Ubiquity

 

--- In LTspice@..., "Steven" <swkunkle@...> wrote:

You might find this interesting.

Thanks, but that was one of the first pages I found when I first
started to research the history of SPICE.

Some interviews with early SPICE developers and pictures of them.
Yes, it *is* a good reference and worth a read. I really should
add it and some more of the best such links to the wiki.

I don't know if it adds anything to your wiki, but the
predecessors to SPICE such as ECAP from IBM (~1965) and SCEPTRE
led to the development of more generally useful simulators.
Yeah, and so did a pencil & paper and then the slide rule. :)
(You gotta draw the line somewhere.)

CANCER was really the first true progenitor of SPICE (the others
you mentioned were just distant relatives without a very good
genetic match, in my opinion). CANCER really was the first circuit
simulator to utilize sparse matrix techniques and integrated DC
operating point analysis, small-signal AC analysis and transient
analysis all into one package.


Re: Convergence Problems.

 

jason.vanryan <andrewc.russell@...> wrote:

I have some files that ran ok in simulation a few months ago.
LTspice is continually being updated and improved. It's possible a
simulation that barely got by before, has a problem now due to a subtle
change. I don't have any specifics, just saying that it's possible.
Unfortunately, without a side-by-side comparison, you can't say for sure.

I moved everything to a folder on my desktop, but leaving the library in
the the same folder as the LTSice executable ( program86 folder in
windows). I've done this to ease back up etc.
Moving files could cause the simulation to bring in a different model than
before. Any change is susceptible to error.

Some of my files still seem to run ok ( transient analysis), but others
won't run - ie I get a few hundred nano seconds of simulation and
everything grinds to a halt. I tried using different transistors types,
still no joy. Interestingly, the loop gain simulations run ok. Weird.
The loop gain simulations use .AC analysis. AC analysis is inherently
simpler because what is simulated is 100% linear; and most of the problems
that cause transient analysis to get stuck, are due to nonlinear things
that are ill-behaved (such as discontinuities in a function or its
derivative).

Any ideas as to what could be the problem? I've set everything in the
tools tab to default. BTW.
Were you using the defaults before?

Sometimes the Alternate Solver helps.

Sometimes loosening up on ABSTOL (making it less small, i.e., a
less-negative exponent) and/or RELTOL can help, but this can affect
accuracy.

Various other control panel options may sometimes help too.

Regards,
Andy


Re: LTspice Genealogy - The Heritage of Simulation Ubiquity

Steven
 

You might find this interesting.





Some interviews with early SPICE developers and pictures of them. I don't know if it adds anything to your wiki, but the predicessors to SPICE such as ECAP from IBM (~1965) and SCEPTRE led to the developement of more generally useful simulators.

--- In LTspice@..., "analogspiceman" <analogspiceman@...> wrote:

Please visit this new page at the LTwiki.



It is still "under construction" and I would appreciate your
suggestions for corrections, omissions noted or improvements
needed. -- a.s.


Re: Step Change to k of Coupled Inductors During Transient Analysis

 

it's readable for me.

update your browser's font

--- schockenbaum@... wrote:

From: "Heinz-W. Schockenbaum" <schockenbaum@...>
To: LTspice@...
Subject: [LTspice] Re: Step Change to k of Coupled Inductors During Transient Analysis
Date: Tue, 23 Jul 2013 14:35:32 -0000

--- In LTspice@..., "bordodynov" <BordodunovAlex@...> wrote:


Hi Alex. Updated your browser to a readable characterset? ;-)
Welcome!

hws


Re: Step Change to k of Coupled Inductors During Transient Analysis

 

--- In LTspice@..., "bordodynov" <BordodunovAlex@...> wrote:


Hi Alex. Updated your browser to a readable characterset? ;-)
Welcome!

hws


Re: subcircuit macromodel

 

Thanks for your help.

Kind Regards,
Mike





From: "Helmut" <helmutsennewald@...>
To: LTspice@...
Date: 23/07/2013 11:14
Subject: [LTspice] Re: subcircuit macromodel
Sent by: LTspice@...




Hello Mike,

You could look in our Files section for models and examples.

Files > Lib > Tubes_Valves > Koren_Tubes.cir Tube_IM.lib



Another source


Best regards,
Helmut

--- In LTspice@..., Michael.Harris@... wrote:

Thanks Andy, Helmut,

This is helpful.

The Triode symbol within LTSpice does not have a subcircuit macromodel
attached to it, I need to supply this myself.

As I am not familiar with the format of how these subcircuits appear
within LTSpice or what it is for a Triode does anyone know where I can
get
this from?
Is there a library online that I can get it from or a subcircuit that I
can edit?

Kind Regards,
Mike Harris





From: Andy <Andrew.Ingraham@...>
To: LTspice@...
Date: 23/07/2013 03:59
Subject: Re: [LTspice] subcircuit macromodel
Sent by: LTspice@...




The other alternative, if the triode subcircuit is relatively short (say
less than one or two dozen lines), is to paste it directly onto the
schematic.

In LTspice, click on the ".op" icon (far right on the toolbar) to add a
"SPICE directive". A SPICE directive can be anything that you want to
appear in the SPICE netlist. That includes subcircuits. Now copy
(ctrl-C)
the contents of the subcircuit from a text editor, and paste it (ctrl-V)
into the box in the SPICE directive pop-up window, and click OK. Place
it
in any available space on the schematic (the position doesn't matter).

Functionally, a .lib or .include (.inc) statement does the same thing.
It
makes the subcircuit appear in the SPICE netlist.

Andy










Re: LTspice Genealogy - The Heritage of Simulation Ubiquity

Tony Casey
 

<snip>
When experienced circuit designers began to download LTspice and use it, they immediately noticed the difference from PSpice. They didn't see it immediately in terms of efficiency, but it was noticeably faster. However, Engelhardt also notes that LTspice is for circuit design. It's not intended to compete with an IC design tool such as Cadence's HSPICE. On the other hand, it's free, versus $1500.
</snip>
Whilst the Electronic Design article was interesting and informative, it was a pity it was also inaccurate, and not sufficiently proof-read, as pointed out by several readers at the time. HSPICE is, of course, sold by Synopsys, not Cadence. I'd also be impressed if anyone could obtain it for $1500.

Regards,
Tony


Re: Mosfet

 

Thank you, will give your idea a try. Best Kevin.


________________________________
From: Helmut <helmutsennewald@...>
To: LTspice@...
Sent: Tuesday, July 23, 2013 6:55 AM
Subject: [LTspice] Re: Mosfet



?


--- In LTspice@..., "kbyrne10" <kbyrne10@...> wrote:

I am in the need for two models if anyone can assist. Number one
IRF540. Number two IRF9540. Thank you for any assistance. Best Kevin.
Hello,

Please search with your web browser in this file.

Files > Tables of Contents > all_files.htm



Normally I firstly look on the manufacturer's web page to get
the latest version. If it's not there, I look in our group as
shown above. A Google-search is also a good idea to get an
overview what's available.

Best regards,
Helmut




[Non-text portions of this message have been removed]


Re: Mosfet

 

--- In LTspice@..., "kbyrne10" <kbyrne10@...> wrote:

I am in the need for two models if anyone can assist. Number one
IRF540. Number two IRF9540. Thank you for any assistance. Best Kevin.
Hello,

Please search with your web browser in this file.

Files > Tables of Contents > all_files.htm



Normally I firstly look on the manufacturer's web page to get
the latest version. If it's not there, I look in our group as
shown above. A Google-search is also a good idea to get an
overview what's available.

Best regards,
Helmut


Mosfet

 

I am in the need for two models if anyone can assist. Number one
IRF540. Number two IRF9540. Thank you for any assistance. Best Kevin.


Re: subcircuit macromodel

 

Hello Mike,

You could look in our Files section for models and examples.

Files > Lib > Tubes_Valves > Koren_Tubes.cir Tube_IM.lib



Another source


Best regards,
Helmut

--- In LTspice@..., Michael.Harris@... wrote:

Thanks Andy, Helmut,

This is helpful.

The Triode symbol within LTSpice does not have a subcircuit macromodel
attached to it, I need to supply this myself.

As I am not familiar with the format of how these subcircuits appear
within LTSpice or what it is for a Triode does anyone know where I can get
this from?
Is there a library online that I can get it from or a subcircuit that I
can edit?

Kind Regards,
Mike Harris





From: Andy <Andrew.Ingraham@...>
To: LTspice@...
Date: 23/07/2013 03:59
Subject: Re: [LTspice] subcircuit macromodel
Sent by: LTspice@...




The other alternative, if the triode subcircuit is relatively short (say
less than one or two dozen lines), is to paste it directly onto the
schematic.

In LTspice, click on the ".op" icon (far right on the toolbar) to add a
"SPICE directive". A SPICE directive can be anything that you want to
appear in the SPICE netlist. That includes subcircuits. Now copy (ctrl-C)
the contents of the subcircuit from a text editor, and paste it (ctrl-V)
into the box in the SPICE directive pop-up window, and click OK. Place it
in any available space on the schematic (the position doesn't matter).

Functionally, a .lib or .include (.inc) statement does the same thing. It
makes the subcircuit appear in the SPICE netlist.

Andy

[Non-text portions of this message have been removed]






[Non-text portions of this message have been removed]


Re: how can i make a susceptance with LTspice

John Woodgate
 

In message <ksle46+itac@...>, dated Tue, 23 Jul 2013, He <he.yang@...> writes:

Actually i want to find a device, that can descript the reciprocal of 'L'(Inductor).is there the device in LTspice, or how can i definit it with k=1/L?
thank you!
According to Wikipedia, there is not even a property name for a '1/L' device, although I seem to recall seeing the term 'inertance' a long time ago. But as far as I can see, for Spice simulation, you need neither the '1/L' device or the susceptance. The reason is that the device is still an inductor, however you describe its electrical property, so you specify its inductance in LTspice.

There may be another reason why you want to deal with '1/L', so if you could explain a bit more what you want to do, I can try to help. For example, if you want to use a list or range of 1/L values in a .STEP PARAM statement, just make the list or range end-points and step from the corresponding L values instead.
--
OOO - Own Opinions Only. See www.jmwa.demon.co.uk
Why is the stapler always empty just when you want it?

John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK


Re: subcircuit macromodel

 

Thanks Andy, Helmut,

This is helpful.

The Triode symbol within LTSpice does not have a subcircuit macromodel
attached to it, I need to supply this myself.

As I am not familiar with the format of how these subcircuits appear
within LTSpice or what it is for a Triode does anyone know where I can get
this from?
Is there a library online that I can get it from or a subcircuit that I
can edit?

Kind Regards,
Mike Harris





From: Andy <Andrew.Ingraham@...>
To: LTspice@...
Date: 23/07/2013 03:59
Subject: Re: [LTspice] subcircuit macromodel
Sent by: LTspice@...




The other alternative, if the triode subcircuit is relatively short (say
less than one or two dozen lines), is to paste it directly onto the
schematic.

In LTspice, click on the ".op" icon (far right on the toolbar) to add a
"SPICE directive". A SPICE directive can be anything that you want to
appear in the SPICE netlist. That includes subcircuits. Now copy (ctrl-C)
the contents of the subcircuit from a text editor, and paste it (ctrl-V)
into the box in the SPICE directive pop-up window, and click OK. Place it
in any available space on the schematic (the position doesn't matter).

Functionally, a .lib or .include (.inc) statement does the same thing. It
makes the subcircuit appear in the SPICE netlist.

Andy


Re: how can i make a susceptance with LTspice

 

--- In LTspice@..., John Woodgate <jmw@...> wrote:

In message
<CALBs-Ti=EVmQ7Kze1GxnidYUebsgYMnm-M_Ne3BY9jBsRLbA4A@...>,
dated Fri, 19 Jul 2013, Andy <Andrew.Ingraham@...> writes:

Is there a susceptance in LTspice, that i can direct use?


A capacitor, or an inductor, are susceptance elements.
I think the question is whether one can enter a susceptance value in a
component's properties. I'm sure this isn't possible, but;

a) you never know what is in fact possible in LTspice;

b) you can overcome it because you can calculate the capacitance C or
inductance L that has susceptance B at frequency f quite easily:

C = B/(2pi*f), L = 1/(2pi*f*B).

Elastance, anyone? (;-)
--
OOO - Own Opinions Only. See www.jmwa.demon.co.uk
Why is the stapler always empty just when you want it?

John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK
thanks John!
Actually i want to find a device, that can descript the reciprocal of 'L'(Inductor).is there the device in LTspice, or how can i definit it with k=1/L?
thank you!
He Yang


Re: Step Change to k of Coupled Inductors During Transient Analysis

 

Hi Bryan.
Look Mutual_Ind_K=F(V).zip in /TEMP.
I made a sub-circuit (subckt) two coupled inductors. The coupling coefficient is controlled by voltage. This allows you to make the coupling coefficient dependent on the time.
Look at my example.

Bordodynov.

--- In LTspice@..., ¨¢???????? ?????????¡Á <BordodunovAlex@...> wrote:

Hi Bryan.
Look Mutual_Inductance_K=F(V)_V2.zip in /TEMP
In my case, made ?€??€?two related inductance of the four sub-schemes and four nonlinear resistors. The coupling coefficient is equal to inductance circuit voltage at node "K". The restriction 0 <K <1. I made "K" time dependent with PWL-source. "K" is changed from 0.9 to 0.1.
Each consists of two inductor. Their sum remains constant, as shown by the current.
Bordodynov.

20.07.2013, 11:06, "bryan.esteban@..." <bryan.esteban@...>:
Greetings,

I'm interested in applying a step change to the coupling coefficient of two coupled inductors during transient analysis at a desired time. Is this something that can be done using the .func & .param commands?

Thanks in advance for any assistance rendered.

Bryan


Re: Convergence Problems.

 

--- In LTspice@..., "jason.vanryan" <andrewc.russell@...> wrote:

I have some files that ran ok in simulation a few months ago.

I moved everything to a folder on my desktop, but leaving the library in the the same folder as the LTSice executable ( program86 folder in windows). I've done this to ease back up etc.

Some of my files still seem to run ok ( transient analysis), but others won't run - ie I get a few hundred nano seconds of simulation and everything grinds to a halt. I tried using different transistors types, still no joy. Interestingly, the loop gain simulations run ok. Weird.

Any ideas as to what could be the problem? I've set everything in the tools tab to default. BTW.

Hello Jason,

Please reset your SPICE settings.

Control Panel -> SPICE-> Reset to default

If it still hangs in .TRAN, you could try with the cshunt option.

.options cshunt=1e-16

It adds a capacitor from every node to GND.
Be warned. If you have too much cshunt, your circuit will
become much different from your design.

Best regards,
Helmut