Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- LTspice
- Messages
Search
Lock horizontal axis
(1) Choose any plot, drag a rectangle over it all, then all
plots get same time axis limits.
(2) Doing this with "Manual Limits" only zooms the plot selected (not all). So: What I'd like to be able to do is - ?? To precisely specify "Manual Time Limits" for all plots at once - like (1) and (2) combined. --- I gather there is a way to do this, "lock horizontal axis" - but I have not found how to acess this feature yet. |
Re: Pull-Push transformer for valve amp in LTspice
Hello analogspiceman I'm not denying that your library works (I have used it a few times, successfully) or that a quasi-real transformer can not be built around the Chan core, but I have never used it with two primaries, which is why I lacked the experience in how to do it and the only very vague notion I had was the remembrance of a past conversation that may have been related to a push-pull, which I couldn't find in the archives. It's also true I didn't insist in searching for it too much but, it's irrelevant now, the question has been answered. Besides, I did try a quick example and I convinced myself that I was wrong (see my post above), which probably means I'm also confused about the memory. And... that's pretty much it.
Vlad ______________________ -- holding, among others: a universal analog/digital filter, block-level models for power electronics (and not only), math blocks with a more stream-lined approach, some digital ADC, DAC, (synchronous-)counter, JKflop, etc. |
Re: Pull-Push transformer for valve amp in LTspice
Hello Vlad, a transformer has multiple windings, but only one core (which is the only nonlinear part).? That is why LTspice does not allow coupling between saturating inductors (either Chan or behavioral).? If a Chan model is used, it must represent only the single common core, not one for each winding (as can be done for perfectly linear windings).? However, it is quite easy to construct a transformer model such that there is only a single internal core part and an arbitrary number of windings, including any number of identical parallel or push-pull primary windings.? A good and proper model matches reality, so it has no problem with any of these typical realistic hook ups.? The model I created does this very well.
|
Re: Need triangular wave with using PWL mode
Kevin replied: ? ? "? PULSE(-6 6 0 5m 5m 1p 10m)"That is how I'd do it too. ?Except that I probably would have used 0 rather than 1ps, because the on-time Ton is allowed to be zero. ?The waveform is indeed piecewise linear. But if Mete insists on using an actual PWL source, you could?have?this: ? ?PWL (0ms -6v 5ms 6v 10ms -6v 15ms 6v 20ms -6v 25ms 6v 30ms -6v) but you need to keep adding points to last the full simulation. ?Or do this, using LTspice's undocumented "repeat forever" syntax: ? ?PWL REPEAT FOREVER (0ms -6v 5ms 6v 10ms -6v) ENDREPEAT Regards, Andy |
Re: Graph Color
Hi John,
I want to analyze just one signal point in 27 variations. Just to understand which influence have my 3 potentiometer in 3 different positions. Helmut's way works great. Even if I only have 4 or 5 curves, LTSpice does not tell me which curve is which. On the .tr directive it gives you the name and color. On the .ac directive it does not. Thanks for the help anyway. Sven |
Re: Graph Color
John Woodgate
In message <llj28q+1ji2evs@...>, dated Wed, 21 May 2014, "helmutsennewald@... [LTspice]" <LTspice@...> writes:
1. Attach a cursor to e.g. V(out).Not quite as difficult as I thought, but with 27 curves it must need steady hand with the mouse. -- OOO - Own Opinions Only. With best wishes. See www.jmwa.demon.co.uk Nondum ex silvis sumus John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK |
Re: Simulating LM 6172
Hello,
Copy the file LM6172.MOD into the folder of your schematic. Place an opamp2 from [Opamps] in your schematic. Change the text opamp2 to LM6172/NS . Include the model file with the SPICE-directive below. .inc LM6172.MOD Never place your schematics in the path C:\Program .... You will not have enough rights in this system path. Best regards, Helmut |
Re: Graph Color
John Woodgate
In message <llj19s+16o17n9@...>, dated Wed, 21 May 2014, "1sailingbear@... [LTspice]" <LTspice@...> writes:
I am new here and have a newbie question.It is possible, I think, but rather complicated. But do you really need all 27 curves on the same plot? You can have more than one plot on the screen (tiled) and you can choose which curves to display on each. With the screen focus on a plot pane, View => Visible traces. -- OOO - Own Opinions Only. With best wishes. See www.jmwa.demon.co.uk Nondum ex silvis sumus John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK |
Re: Graph Color
Hello Sven,
1. Attach a cursor to e.g. V(out). 2. Use the up/down arrow key of he keyboard to jump to the waveform you are interested. 3. Move the mouse cursor near the waveform-crosshair. The mouse cursor will then change to 1, if it's the first of the two possible cursors. Now right mouse click. LTspice will then report: Cursor 1: a=... b=... c=... (Run 7/15) Best regards, Helmut |
Simulating LM 6172
I am new to LT spice. I want to use the component LM 6172 in my schematic, I have downloaded the include file from the the path and used a generic opamp2.asy. However, the attributed is same as general opamp even after including the file. Could you help me how to solve this problem? Also, the way to include the .MOD extension file in LT Spice found in the group.?
|
Graph Color
Hi there, I am new here and have a newbie question. The .ac analysis of my tube schematic shows 27 graphs as I run 3 potentiometer with a step directive: .step param a list .1 .5 .99 The Graph has now 27 lines in different colors. Where can I find which color belongs to which settings of my potentiometer? Regards Sven |
Re: Pull-Push transformer for valve amp in LTspice
No, it wasn't about basic usage such as this, I think it was about analogspiceman's "xfrmr" library, two primaries for a push-pull or similar, some year or two ago. I tried to search the archives but I couldn't find anything. It doesn't matter, anyway, the OP got his answer. Vlad ______________________ -- holding, among others: a universal analog/digital filter, block-level models for power electronics (and not only), math blocks with a more stream-lined approach, some digital ADC, DAC, (synchronous-)counter, JKflop, etc. |
Re: Pull-Push transformer for valve amp in LTspice
? ?"...?I really can't escape the feeling there was a topic somewhere about some impossibility of having two primaries in a transformer.?"
There may be special cases. ?Other than that, though, coupled windings are just windings and it makes no difference whether you call one a primary winding or a secondary winding. ?LTspice correctly handles more than two coupled windings, no problem.
One special case where two primaries can be a problem (if modeled incorrectly), is the not-uncommon dual-voltage power transformer, which has two primary windings that are connected either in parallel or in series, to adapt to the AC mains voltage in your country. ?If you model the primary by simply taking two inductors with no resistance, and connect them in parallel, LTspice will complain about that, and quit. ?It is a legitimate complaint, because paralleled lossless inductors and/or voltage sources are not allowed in SPICE ... easily fixed by adding any amount of series resistance in each winding.
I vaguely recall another situation in this email list, where someone was using a bizarre mixture of both inductors and controlled sources to represent his transformer. ?(Recall that transformers can be modeled using EITHER coupled inductors, OR a network of resistors and controlled sources (google "ideal transformer model"). ?This one haphazardly combined both.)
Regards,
Andy |
Re: Pull-Push transformer for valve amp in LTspice
John Woodgate
In message <537CC53F.1010307@...>, dated Wed, 21 May 2014, "Jerry Lee Marcel jerryleemarcel@... [LTspice]" <LTspice@...> writes:
The description says total primary L=100 and the individual inductances of both half-primaries is spec'd at 50H.The model works as you say, but the total inductance is 200 H not 100 H. -- OOO - Own Opinions Only. With best wishes. See www.jmwa.demon.co.uk Nondum ex silvis sumus John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK |
Re: Pull-Push transformer for valve amp in LTspice
¿ªÔÆÌåÓýOut of morbid curiosity, I opened the "transPPb.INC" model file, and noticed a gross error.The description says total primary L=100 and the individual inductances of both half-primaries is spec'd at 50H. It doesn't prevent the sim to work, but I doubt it's the correct value. It just shows that people who are clever enough to create models don't necessarily undestand the physics of it. Le 21/05/2014 15:59, Vlad
imbvlad@... [LTspice] a ¨¦crit?:
? |
to navigate to use esc to dismiss