开云体育

Pull-Push transformer for valve amp in LTspice


 

I am having trouble modelling an ideal Pull-Push center tap 8 ohms transformer with a 6.7k primary anode-anode impedance in LTspice.?

Formula:?

8*(Np/Ns)^2=7.6k
Thus, Np/Ns=30.82/1

Here are my LTspice schematic. It doesn't give the correct results. Could someone please help me out?






 

I don't know if it's possible to simulate a double-primary transformer in LTspice. At least not with inductors and coupling between them. Still, if others have different answers, it would be useful to follow the steps in the group's home page about asking for help, how to upload schematics and where.


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.


 

开云体育

Indeed a dual primary xfmr can be created in LTspice.
You need to include all windings in the K statement.

There is a beautiful example of tube amp in the Files, in fact more than one:
Fender Twin Reverb AB763 and Fender Twin Reverb AA270

Also Fisher500c and Laney_Marshall_EL34_50Watt



Le 21/05/2014 15:32, Vlad imbvlad@... [LTspice] a écrit?:

?
I don't know if it's possible to simulate a double-primary transformer in LTspice. At least not with inductors and coupling between them. Still, if others have different answers, it would be useful to follow the steps in the group's home page about asking for help, how to upload schematics and where.


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.


 

开云体育

In fact all these examples use a sub-circuit instead of coupled inductors, but I know that coupled inductors work and are IMO easier to edit.
To my great shame I must admit I haven't been able to edit the OT values in the Fender schemo.



Le 21/05/2014 15:41, Jerry Lee Marcel jerryleemarcel@... [LTspice] a écrit?:

?

Indeed a dual primary xfmr can be created in LTspice.
You need to include all windings in the K statement.

There is a beautiful example of tube amp in the Files, in fact more than one:
Fender Twin Reverb AB763 and Fender Twin Reverb AA270

Also Fisher500c and Laney_Marshall_EL34_50Watt



Le 21/05/2014 15:32, Vlad imbvlad@... [LTspice] a écrit?:
?
I don't know if it's possible to simulate a double-primary transformer in LTspice. At least not with inductors and coupling between them. Still, if others have different answers, it would be useful to follow the steps in the group's home page about asking for help, how to upload schematics and where.


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.



 

> Indeed a dual primary xfmr can be created in LTspice.

Well, I just tried it and you're right, it does work, but I know there was a discussion some time ago (years, probably) about not being able to make a more than one primary transformer in LTspice. Maybe with the Chan core? I really can't remember now.


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.


 

> To my great shame I must admit I haven't been able to edit the OT values in the Fender schemo.

Using the "Fender Twin Reverb" example, the output transformer is modeled in the model file "transPPb.INC". Any text editor should do. I also see extra nodes/elements for parasitic resistances & co. instead of using the builtin Rser/Rpar/etc, but maybe it's intentional, for the purpose of showing.


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.


 

开云体育

The problem with multiple primaries is that it may create conflictss if two sources are too strongly coupled.
Indeed, when using multiple primaries, one must make sure the voltages, phases and source resistance vs. parasitic resistance are sensible.
I think some transformer sub-circuits don't accept the notion of more than one excitation winding.

Le 21/05/2014 15:54, Vlad imbvlad@... [LTspice] a écrit?:

?
> Indeed a dual primary xfmr can be created in LTspice.

Well, I just tried it and you're right, it does work, but I know there was a discussion some time ago (years, probably) about not being able to make a more than one primary transformer in LTspice. Maybe with the Chan core? I really can't remember now.


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.


 

开云体育

I believe you see why I prefer the multiple winding solution. Having to open the model with a text editor and reloading it in the .asc file is not my idea of immediacy.

Le 21/05/2014 15:59, Vlad imbvlad@... [LTspice] a écrit?:

?
> To my great shame I must admit I haven't been able to edit the OT values in the Fender schemo.

Using the "Fender Twin Reverb" example, the output transformer is modeled in the model file "transPPb.INC". Any text editor should do. I also see extra nodes/elements for parasitic resistances & co. instead of using the builtin Rser/Rpar/etc, but maybe it's intentional, for the purpose of showing.


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.


John Woodgate
 

In message <lli8ok+1jht4cj@...>, dated Wed, 21 May 2014,
"pha0001@... [LTspice]" <LTspice@...> writes:


I am having trouble modelling an ideal Pull-Push center tap 8 ohms
transformer with a 6.7k primary anode-anode impedance in LTspice.?

Formula:?

8*(Np/Ns)^2=7.6k
Thus, Np/Ns=30.82/1

Here are my LTspice schematic. It doesn't give the correct results.
Could someone please help me out?
Rather than point you to things to copy, I'll show you how to design.

LTspice schematic
Please post to Files-Temp, not anywhere else unless advised.

You have made the astonishingly common mistake of expecting transformers with microhenry inductors to work at audio or mains frequencies. The
inductances need to be LARGE; their impedances need to be around 10
times the associated circuit impedances.

For example, your secondary winding is 314 MICROhms at 50 Hz and the
load is 8 ohms.

We start with the 6.7 k a-a impedance. That is what the 8 ohms has to
look like when 'seen' through the transformer. 6700/8 = 837.5 and the
turns ratio of the transformer is the square root of that, i.e. 29.

Now the inductance of the primary needs to be high compared with the 6.7
k at the lowest frequency you are interested in. I'll assume 20 Hz,
since I don't have to buy the transformer and find room for it, but I'll
use a factor of 5 for 'high'.

The inductance L = 6700/(2pi*20) = 267 H. The secondary inductance is
267/837.5 = 319 millihenrys.

To model in LTspice, you make the primary of two identical inductors,
each a QUARTER of the total inductance and set k=1. I'm really surprised
at the responses that show considerable uncertainty.

Now if you were going to make the transformer you would have to consider
the power to be handled and from that choose a core size and material.
But I don't suppose you want to go that far.
--
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


 

>??I'm really surprised
> at the responses that show considerable uncertainty.

Guilty, what can I say, but I really can't escape the feeling there was a topic somewhere about some impossibility of having two primaries in a transformer. Maybe there are some crossed neurons somewhere. If so, I'd rather have that checked after I'm gone.


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.


John Woodgate
 

In message <CALFKJk5yokRyVCrWd5VAgEppt-AGJ7Wy6+mx5utH+s0T8JX7_A@...>, dated Wed, 21 May 2014, "Vlad imbvlad@... [LTspice]" <LTspice@...> writes:


Guilty, what can I say, but I really can't escape the feeling there was a topic somewhere about some impossibility of having two primaries in a transformer. Maybe there are some crossed neurons somewhere. If so, I'd rather have that checked after I'm gone.
It's not only you, by any means. Transformers come up here quite often, and I always try to respond because it's clear that many do not understand them. But just like 'Upload to Files => Temp' doesn't seem to register, neither does the transformer 'lore'.

What you may be dimly recalling is something about having two generators feeding two separate windings. It MAY be OK if the numbers are right, but it MAY produce huge currents.

For example, suppose there are two identical windings and 10 V is applied to one. 10 V will appear across the other one, too. Now connect a 100 V source to that second winding as well, and watch the pretty smoke.
--
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


 

开云体育

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 my great shame I must admit I haven't been able to edit the OT values in the Fender schemo.

Using the "Fender Twin Reverb" example, the output transformer is modeled in the model file "transPPb.INC". Any text editor should do. I also see extra nodes/elements for parasitic resistances & co. instead of using the builtin Rser/Rpar/etc, but maybe it's intentional, for the purpose of showing.


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.


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.
It doesn't prevent the sim to work, but I doubt it's the correct value
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


 

? ?"...?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



 

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.


 

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.


 

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.


 

Thank you so much!!! Things are starting to become much clearer now.

If you don't mind, may I ask, why did you take a quarter of the total primary inductance? Why not just half it??

? ?


 

What's the equality between the ratios of the inductances and the number of turns?


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.


On Fri, May 23, 2014 at 4:15 PM, pha0001@... [LTspice] <LTspice@...> wrote:
>
> ?
>
> Thank you so much!!! Things are starting to become much clearer now.
>
>
> If you don't mind, may I ask, why did you take a quarter of the total primary inductance? Why not just half it?


 

pha0001?asked:

? ?"why did you take a quarter of the total primary inductance? Why not just half it?"

Adding to what Vlad already wrote (which should lead you to your answer), it does depend on the amount of coupling between inductors. ?You used a coupling coefficient of 1.

If the inductors had been uncoupled (K=0), then it would have been correct to use half.

Regards,
Andy