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

Simply by using dv(…)
To be more exact, edit the plot trace name by enclosing it in d(.......) such as d(V(out)). This gives you a slew waveform plot and you can use a cursor to find the positive and negative peaks. It is common that the positive slew limit is different from the negative slew limit. There is probably also a .measure directive that will find the peaks and report it in the error log. Note that the slew scale will be labeled in MegaVolts/Second, which is the same as V/uS.
 
  • Like
Reactions: tommost
Edit... see next post.

I've noticed something different recently but I'm honestly not sure if its me or LT. I think it must be LT because what worked in the past now does not.

Its the timestep. In the past I could always just add the timestep as a .op command as here. This is an old sim and it runs correctly. The distortion comes out at the expected value. All good.

Screenshot 2022-06-27 180035.jpg

If I delete that .op statement and then re apply it the distortion is massive and gets worse the longer the sim runs. It took me a while to suss out but now the timestep has to be entered into the 'Transient' sim tab so that it appears as one statement.

So old sims that have the timestep entered as a copy and paste still seem to work OK but if altered they do not, and the timestep has to be re entered onto the Transient tab. I discovered this when simply resaving a circuit under a different name to modify something and the distortion results were really poor. Delete the .op entry for timestep and reapply it via the Transient tab and it all works.

Screenshot 2022-06-27 180655.jpg

Hope that makes sense 🙂
 
Last edited:
Please note, I am changing transistor with another one that is available and can be simulated on LTSpice. It is a real headache to find the parts. I will simulate with MJE15030 as a VBE multiplier transistor because it is packaged in a TO220 package which can be securely mounted on the back of one of the eight power transistors. I am getting the impression simulations are not as deterministic in this, it seems the sure way is to install the MJE15030, find an approximate but good bias and then proceed to compensate for temperature changes. The setup has to be done experimentally as this is the only way which provides some reliability. The voltage margin is too small for calculations and simulations to be very predictable.
 
Calculations and simulations have shown using this rather expensive transistor does not provide any advantage over other less expensive transistors. Contrary to what I expected from a more expensive device, temperature tracking is less effective with quiescent currents which can easily give rise to low amplitude self oscillations.

I will have to be contented with a BD135 transistor as it provided the best bias stability versus temperature. My next calculations will now focus on a narrower temperature range starting from 10C to 45C.
 
Hello again guys,
I'm not so sure if this is the proper thread to post my query but since it is LTSpice specific, I might as well ask it here.
Has any one of you manage to refine the text on THD windowing under Wine on Linux?
I'm on pure Arch with Mate as the desktop environment. I tried installing and enabling compton (window compositor) but I get the same result. I used to work on Xfce on the lighter/speedier side but screen tearing is terrible especially when scaling windows.

Thanks!

Spice_mate.png
 
I would like to have a variable: GAIN.
I have seen a simulation where it was used in a formula.

Here is what I want to use it for: to see the distortion in the output. And be able to quickly change components and see the effect.
I now have determined the gain from the screen (where gain = 3.86) but two decimal accuracy is only found with checking various values sequentially, which costs me some time to manually approximate the real value. [On a distortion meter there is that nice knob 'phase' which is handsome to null the distortion to its lowest point.]


EL34 triode dist 2022-07-23 .png
 
Hello again guys,
I'm not so sure if this is the proper thread to post my query but since it is LTSpice specific, I might as well ask it here.
Has any one of you manage to refine the text on THD windowing under Wine on Linux?
I'm on pure Arch with Mate as the desktop environment. I tried installing and enabling compton (window compositor) but I get the same result.
Finally fixed it! By following the instructions at Wine-ArchWicki and installing ms-fonts via extraction from an ISO windows installer, it worked real nice!

Spice_fonts_corrected.png
 
Its a good tip is that and useful for testing things like outputs of regulators (with a switched load).

(Have you tried using the voltage controlled switch? which will give you a 'perfect' short that is not dependent on polarity)
 
Its a good tip is that and useful for testing things like outputs of regulators (with a switched load).

(Have you tried using the voltage controlled switch? which will give you a 'perfect' short that is not dependent on polarity)

I've tried the switch but I can never remember the model as you need one for the switch component. I've used it once and you do get a nice impulse spike too. I should really dig out a switch model and make a sub-circuit model for the library then simply include it in.
If you don't put some resistance in you will end up with a stupidly high current, so adding some in-series resistance is useful to simulate either a path of resistance and/or a wet path of resistance.

You can do point-to-point shorts simply doing the same but with two labels and a switch. Then move the labels around.