Installing and using LTspice IV (now including LTXVII), From beginner to advanced

I have the same version, I get this with a model while it did work before. I did send previous post to mike so he can look.
 

Attachments

  • ScreenHunter_1046 Apr. 07 13.59.jpg
    ScreenHunter_1046 Apr. 07 13.59.jpg
    4.6 KB · Views: 217
Last edited:
Administrator
Joined 2007
Paid Member
PSSR can be done by adding a simulated PSU and calculating in the normal way the amplitude of any ripple on the output. See attached file for the PSU details.


Bob C has an excellent write up in his book on how to do the CCIF 19kHz + 20kHz intermodulation test in a sim and how to infer the results.
 

Attachments

  • Blameless Class B 1Khz 50 watt Distortion PSU.asc
    9.6 KB · Views: 66
  • CCIF.PNG
    CCIF.PNG
    108.3 KB · Views: 191
Hi Mooly Thank you very much, I had try a extra voltage source with 1 volts 100 hz sinus in series with the normal 40 volts source, I did get a ripple.

But I go try your setup and read the bob c.

Oh yes almost forgotten I do sim class D, maybe these are more difficult.

have a nice and sunny weekend, earth warming up do not look so bad, summer here.
 
I've noticed that my indexed files keeps growing and growing. This behaviour has been going on for months and I suspect LTXVII might be the culprit with its duplicate lib files appearing in documents and the program files.

I checked the number of indexed files this morning and it was over 19,000 in size. I get W10 to rebuild the index and sure enough, that total drops by over 7000. Now, through the course of the day the total is slowly increasing again. It will take a week or two (or three ;)) to get back to where it was. That number of 7000 or so seems to approximate to the number of items in the documents .lib folder, at least that is the number of items I see clock up if I copy the folder to a USB drive.
Hi Mooly,

You're a lucky guy with only 19.000 indexes.
When I checked my W10 system, I had over 90.000 indexes !

Hans
 

Attachments

  • Index Options.jpg
    Index Options.jpg
    118.4 KB · Views: 163
Hi Mooly Thank you very much, I had try a extra voltage source with 1 volts 100 hz sinus in series with the normal 40 volts source, I did get a ripple.

But I go try your setup and read the bob c.

Oh yes almost forgotten I do sim class D, maybe these are more difficult.

have a nice and sunny weekend, earth warming up do not look so bad, summer here.

I presume, this is what I must see when simulation with a supply like you say? because I see clearly a ripple on the output signal looks like this works fine.

So I learn again some more ltspice tricks.

thanks
 

Attachments

  • ScreenHunter_1105 Apr. 23 19.02.jpg
    ScreenHunter_1105 Apr. 23 19.02.jpg
    158.3 KB · Views: 154
Just as a piece of information.

I have a complex model with over 60 transistors, lots of Leds and Diodes and 8 OPA's.
In LTspice XVII a .tran takes 36 seconds to process a square wave.
Processing a copy of this very model in LTspice IV takes 164 seconds for the same calculation.
That's a factor 4.5 faster in favour of LTSpice XVII !!

Hans
 
Administrator
Joined 2007
Paid Member
I presume, this is what I must see when simulation with a supply like you say? because I see clearly a ripple on the output signal looks like this works fine.

So I learn again some more ltspice tricks.

thanks

That's it :up:

This shows the amp with just 100uF reservoir caps when delivering around 1 watt at 1kHz. Second shot is with the input signal removed. It is valuable to also look at each rail in turn to see where the worst injection points are.
 

Attachments

  • PSRR2.PNG
    PSRR2.PNG
    79 KB · Views: 76
  • PSRR.PNG
    PSRR.PNG
    79.7 KB · Views: 137
That's it :up:

This shows the amp with just 100uF reservoir caps when delivering around 1 watt at 1kHz. Second shot is with the input signal removed. It is valuable to also look at each rail in turn to see where the worst injection points are.

I did with higher output power, because it is a class d, now making a hysteric window for open loop class D probing supply ripple making high PSRR.

THanks for your help..

regards
 
Last edited:
Just as a piece of information.

I have a complex model with over 60 transistors, lots of Leds and Diodes and 8 OPA's.
In LTspice XVII a .tran takes 36 seconds to process a square wave.
Processing a copy of this very model in LTspice IV takes 164 seconds for the same calculation.
That's a factor 4.5 faster in favour of LTSpice XVII !!

Hans

It is also 64 bit, and can calculate faster. If all is good crashes do not occur anymore in .RAW window, I did find the bug and writer has correct it.
 
You guys may tell me why I get the triangle output on the amp output resistor 8 ohms, and the amp output from the triangle generator??? these kind of strange behavior the 64 bit ltspice has in more ocassions getting strange outputs.

it is not such a problem but can be a bug ore more bugs.
 

Attachments

  • ScreenHunter_1116 Apr. 24 16.56.jpg
    ScreenHunter_1116 Apr. 24 16.56.jpg
    286.7 KB · Views: 250
Hi All

Because of the simulation with a integrator who is capacitive coupled the dc do change slowly in simulation until it is set, therefore I need to set a 3 mS before sim starts, is it possible to let ltspice now cap is already charged?, the dc output of integrator do got to seting very slow making long sim time.

thanks.
 
This afcouse is not possible!!! these are the signals on output, upper trace is A middle is B and lower is C.

This behavior is really annoying, making long sims useless, because needs to restart ltspice before it is oke again, so much bugs in 64 bit version? happenly most go oke, but it this is quite common.

it needs to be as in pic two, the two upper levels, upper is B and middle is B and C as that is oke..

regards
 

Attachments

  • ScreenHunter_1190 May. 05 01.07.jpg
    ScreenHunter_1190 May. 05 01.07.jpg
    269.4 KB · Views: 200
  • ScreenHunter_1188 May. 04 16.55.jpg
    ScreenHunter_1188 May. 04 16.55.jpg
    318 KB · Views: 204
Last edited: