Author Topic: How to compensate for transistor lead inductance in power amp?  (Read 2296 times)

0 Members and 1 Guest are viewing this topic.

Offline IonforbesTopic starter

  • Contributor
  • Posts: 48
  • Country: gb
How to compensate for transistor lead inductance in power amp?
« on: February 21, 2022, 03:33:53 pm »
Hi all,

I'm working on a class AB audio amp that's experiencing high-frequency oscillation of ~100mV pk-pk at ~25MHz. I'm fairly sure this is a result of the lead inductance or capacitance of the 2N3055s, since they're TO-3 devices and are connected to the PCB via 15cm wires, 16AWG for collector and emitter and 22AWG for the bases an. Simulating the circuit shows now oscillation whatsoever. Curiously, the oscillation is affected by the position of the wires. If I move the collector and emitter leads of Q2 closer, and move the base and emitter leads of Q1 further apart, the amplitude of the oscillations decreases largely, and if I touch both collectors together with my fingers as well, the oscillation goes away completely! Using a different mounting method is not an option for me, and so I'm trying to see if I can calm the oscillation with another compensation capacitor somewhere, but I can't figure out where. Could anyone provide some pointers? I should add I'm testing this with no load at the moment.

Thanks,
Ion
 

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 8009
  • Country: us
Re: How to compensate for transistor lead inductance in power amp?
« Reply #1 on: February 21, 2022, 03:45:50 pm »
I would start by checking C3 and if it is good, doubling or tripling it to see if that eliminated the issue.  Then you'd have to see how much that change affects the HF rolloff to see if it is acceptable.
A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 
The following users thanked this post: Ionforbes

Offline bson

  • Supporter
  • ****
  • Posts: 2457
  • Country: us
Re: How to compensate for transistor lead inductance in power amp?
« Reply #2 on: February 21, 2022, 03:49:35 pm »
It's probably not the 2N3055's that are oscillating; they have a unity gain bandwidth of a few MHz, nowhere near 25MHz.

More likely it's the predrivers (Q8, Q9) that oscillate.  They have much higher bandwidth and could probably use some compensation (across B-C). 
 
The following users thanked this post: Ionforbes

Online mawyatt

  • Super Contributor
  • ***
  • Posts: 3895
  • Country: us
Re: How to compensate for transistor lead inductance in power amp?
« Reply #3 on: February 21, 2022, 04:12:41 pm »
Emitter followers are notorious for oscillating, this usually caused by the extra phase shift in the BE junction that is usually not modeled in most simulation models.  Any additional phase delay such as base lead inductance can increase the potential for oscillation because what "appears" as a negative resistance at the base.

As mentioned by bson, since the frequency is ~25MHz, likely not the 2N3055 but the driver transistor.

A couple simple things to try are adding a series R (~100) in the base lead of the driver to make the overall base effect have a positive resistance. Also load the driver emitter with a resistor (~500) across the 2N3055 Base Emitter.

There's a couple other techniques, but try the base resistor 1st.

Best,

Edit: I didn't see you were referring to Q2 in OP schematic. The driver (2N4890) here isn't an EF but composite that makes Q2 appear as a power PNP. Adding a degeneration resistor (~30) in series with the driver emitter will reduce the "loop gain" between Q2 and the driver, also a shunt (~500) across Q2 BE will also reduce the "loop gain".

« Last Edit: February 21, 2022, 04:27:58 pm by mawyatt »
Curiosity killed the cat, also depleted my wallet!
~Wyatt Labs by Mike~
 
The following users thanked this post: SeanB, Ionforbes

Offline magic

  • Super Contributor
  • ***
  • Posts: 7226
  • Country: pl
Re: How to compensate for transistor lead inductance in power amp?
« Reply #4 on: February 21, 2022, 04:16:19 pm »
Also load the driver emitter with a resistor (~500) across the 2N3055 Base Emitter.
Indeed, both drivers are completely unbiased. They only run on whatever base current the outputs take under quiescent condition.
 
The following users thanked this post: Ionforbes

Offline IonforbesTopic starter

  • Contributor
  • Posts: 48
  • Country: gb
Re: How to compensate for transistor lead inductance in power amp?
« Reply #5 on: February 21, 2022, 04:20:33 pm »
I increased the 150pf to 300pf and also added 47pf b-c capacitors to the drivers, but to no avail. I'll try the resistors and report back. I also have a picture of the oscillation.
 

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 8009
  • Country: us
Re: How to compensate for transistor lead inductance in power amp?
« Reply #6 on: February 21, 2022, 04:53:08 pm »
I increased the 150pf to 300pf and also added 47pf b-c capacitors to the drivers, but to no avail. I'll try the resistors and report back. I also have a picture of the oscillation.

Is this something you are constructing or is it an existing device that you have repaired or are repairing?

As I think others have been covered, the reason the amplitude of your oscillation is only 100mV instead of breaking up entirely is that the 2N3055s themselves aren't that fast, but the stuff before them might be.  I usually run into this sort of issue when repairing an amplifier and substituting in newer transistors.  If you compensate back where C3 is, you can use a very small capacitor, but further down the line you need larger values.  If compensating back at C3 didn't help, perhaps try 1nF across R14 and R15.  I'm not discounting the other suggestions that have been made either, especially if this is a new device you are making.

Of course your other option is to just live with it.   :)   Seriously, there are plenty audio amps out there that oscillate and nobody notices.
A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 
The following users thanked this post: Ionforbes

Offline Conrad Hoffman

  • Super Contributor
  • ***
  • Posts: 2011
  • Country: us
    • The Messy Basement
Re: How to compensate for transistor lead inductance in power amp?
« Reply #7 on: February 21, 2022, 04:53:22 pm »
I notice the circuit has no inductor at the output. This is usually a coil of moderate gauge magnet wire wound on some arbitrary 2W resistor used as a coil form. It will usually be associated with a 0.1 uF cap to ground. Look at some other amp circuits. I'd start there.
 
The following users thanked this post: Ionforbes

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22433
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: How to compensate for transistor lead inductance in power amp?
« Reply #8 on: February 21, 2022, 04:53:27 pm »
It's probably not the 2N3055's that are oscillating; they have a unity gain bandwidth of a few MHz, nowhere near 25MHz.

More likely it's the predrivers (Q8, Q9) that oscillate.  They have much higher bandwidth and could probably use some compensation (across B-C).

2N3055s haven't been "2N3055" for decades; it's quite possible there is sufficient gain left up there in an epitaxial, perforated-emitter, etc. type.  Note that basically any power transistor of roughly those ratings, can be sold as a '3055.  You really have no idea what you're getting.  So, I recommend against using them, as a rule.

The wire length and positioning is your key.  There is a loop combined with, probably device capacitances, making a resonator.  Dampen this loop, by reducing its inductance, or increasing its resistance, and you're set.  Resistance can be added by placing ferrite beads on relevant wires.  Although a bead on the collector is unlikely to help, as ferrite beads saturate at fairly low currents (100s mA to some A), so, it might work at idle but not under peak currents (resulting in intermittent or squegging oscillation).  A small capacitor or R+C around Q8 or Q9 B-C ought to serve a similar purpose.

Also, why such an old fashioned design?  It's weird actually, it's not even old, it's just, not great.  I mean---in the old days they would've had more economy with respect to the still-expensive transistors; for example, a bootstrap ("Q") capacitor to maximize output swing at signal frequencies (without requiring current sink/source), but this just has straight up resistors into the bias diodes (R12-R15), so it's not going to swing to the rails very well at all.    And the asymmetrical drive connection (into the middle of the diodes!?) isn't doing any favors for that.  Or the even less efficient driver (R11 ~ 1.16W!).  Not to mention the unbalanced coupling capacitors ensuring maximal turn-on THUMP!

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: SeanB, Ionforbes

Offline magic

  • Super Contributor
  • ***
  • Posts: 7226
  • Country: pl
Re: How to compensate for transistor lead inductance in power amp?
« Reply #9 on: February 21, 2022, 05:42:15 pm »
Q7 also runs at over 1W and it's a TO39 device and the reason for such high bias is quite unobvious. Maybe it's a typo and 2k2 was meant?
Nevermind, high Q7 bias is pointless but R11 needs to somehow be able to pull all those 4k7 resistors close to the negative rail ::)

However, I see no excuse for R5 being that high. It should be ~200Ω for the sake of input stage balance.
« Last Edit: February 21, 2022, 07:00:20 pm by magic »
 
The following users thanked this post: Ionforbes

Offline Benta

  • Super Contributor
  • ***
  • Posts: 6257
  • Country: de
Re: How to compensate for transistor lead inductance in power amp?
« Reply #10 on: February 21, 2022, 05:58:29 pm »
It's probably not the 2N3055's that are oscillating; they have a unity gain bandwidth of a few MHz, nowhere near 25MHz.

More likely it's the predrivers (Q8, Q9) that oscillate.  They have much higher bandwidth and could probably use some compensation (across B-C).

2N3055s haven't been "2N3055" for decades; it's quite possible there is sufficient gain left up there in an epitaxial, perforated-emitter, etc. type.  Note that basically any power transistor of roughly those ratings, can be sold as a '3055.  You really have no idea what you're getting.  So, I recommend against using them, as a rule.

The wire length and positioning is your key.  There is a loop combined with, probably device capacitances, making a resonator.  Dampen this loop, by reducing its inductance, or increasing its resistance, and you're set.  Resistance can be added by placing ferrite beads on relevant wires.  Although a bead on the collector is unlikely to help, as ferrite beads saturate at fairly low currents (100s mA to some A), so, it might work at idle but not under peak currents (resulting in intermittent or squegging oscillation).  A small capacitor or R+C around Q8 or Q9 B-C ought to serve a similar purpose.

Also, why such an old fashioned design?  It's weird actually, it's not even old, it's just, not great.  I mean---in the old days they would've had more economy with respect to the still-expensive transistors; for example, a bootstrap ("Q") capacitor to maximize output swing at signal frequencies (without requiring current sink/source), but this just has straight up resistors into the bias diodes (R12-R15), so it's not going to swing to the rails very well at all.    And the asymmetrical drive connection (into the middle of the diodes!?) isn't doing any favors for that.  Or the even less efficient driver (R11 ~ 1.16W!).  Not to mention the unbalanced coupling capacitors ensuring maximal turn-on THUMP!

Tim

+1 to this. It's a really old-fashioned design.
Also, pay attention to R16 and R17. At those values they are typically wire-wound and thus inductive, causing trouble. I've seen this in other designs. Better to user some film resistors in parallel instead.
 
The following users thanked this post: Ionforbes

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22433
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: How to compensate for transistor lead inductance in power amp?
« Reply #11 on: February 21, 2022, 09:20:28 pm »
Well, I wouldn't worry about R16/17, inductance there just rolls off the output stage gain.  I suppose inductance might oscillate with a capacitive load.  (Another good reason for the Zobel network / Boucherot cell (shunt R+C and/or series R||L) at the output, as recommended.)

Note that film and oxide resistors are typically spiral cut as well; the cutoff frequency (where inductive reactance dominates) ranges from a few MHz for wirewound, to some 10s of MHz for film.  Leaded resistors of these values are not typically resistive to much higher, but SMT chips can go into the low 100s MHz.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: Ionforbes

Offline Vovk_Z

  • Super Contributor
  • ***
  • Posts: 1458
  • Country: ua
Re: How to compensate for transistor lead inductance in power amp?
« Reply #12 on: February 21, 2022, 10:19:12 pm »
I don't see if there is a reason to use SMT type resistors as emitter resistors having 15 cm long output transistor wires. Any through-hole film or oxide resistors will work fine and are much reliable.
 
The following users thanked this post: Ionforbes

Offline IonforbesTopic starter

  • Contributor
  • Posts: 48
  • Country: gb
Re: How to compensate for transistor lead inductance in power amp?
« Reply #13 on: February 21, 2022, 11:01:39 pm »
Thanks everyone for your replies, it's getting a bit late here so I'll try everything later. I did put 470 ohm resistors between the bases and emitters of both 2N3055s but it increased the oscillation's amplitude.  I think this might be a good thing though, as perhaps it meant the previous unbiased driver didn't have much gain at low current
 
Quote
Of course your other option is to just live with it.   :)   Seriously, there are plenty audio amps out there that oscillate and nobody notices.
Wait, really? I suppose it is a bit outside my hearing range  ;D

Quote
2N3055s haven't been "2N3055" for decades; it's quite possible there is sufficient gain left up there in an epitaxial, perforated-emitter, etc. type.  Note that basically any power transistor of roughly those ratings, can be sold as a '3055.  You really have no idea what you're getting.
These are 'real' 2N3055s from CDIL, they don't specify a maximum ft but the minimum is 2.5MHz, so I wouldn't imagine it's much higher on mine. Choice of transistor was price, it was the cheapest TO-3 and I wanted an externally mounted can for aesthetics.

Quote
The wire length and positioning is your key.
I can get it to stabilise by  moving the Q2 leads closer and Q1 leads further fron each other, but it's precarious and hacky for a permanent 'solution.'

 

Offline magic

  • Super Contributor
  • ***
  • Posts: 7226
  • Country: pl
Re: How to compensate for transistor lead inductance in power amp?
« Reply #14 on: February 21, 2022, 11:36:31 pm »
Offset voltage between the bases of Q3 and Q5 is something like 75mV, correct?
 
The following users thanked this post: andy3055, Ionforbes

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22433
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: How to compensate for transistor lead inductance in power amp?
« Reply #15 on: February 22, 2022, 12:30:24 am »
Right, B-E resistance pulls more bias current --> more transconductance --> stronger oscillation.  Not that this is a bad thing, it does improve performance (higher bandwidth, lower distortion) -- assuming the amp isn't doing weird shit that makes performance worse (typically the oscillation causes a shift in offset or bias, hence adding distortion as the oscillation goes up and down, increasing power consumption, etc.).  Such currents are reached in normal operation anyway, so it's not like you can avoid oscillation by sweeping it under the rug... :)

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: Ionforbes

Offline floobydust

  • Super Contributor
  • ***
  • Posts: 7473
  • Country: ca
Re: How to compensate for transistor lead inductance in power amp?
« Reply #16 on: February 22, 2022, 01:45:58 am »
OP you'd have to add a film/disk cap across C5 because electrolytics at 10's MHz don't do much. Also your circuit grounding and layout can aggravate things at those frequencies.

I find any audio amplifier or chip amp with a lop-sided output stage - Darlington up top and Sziklai pair on the bottom is always a PITA to get stable. The voltage gain between +ve and -ve half-cycle is non-symmetrical. There's a inherent instability in the Sziklai people mention.
Q9 would tend to oscillate, National Semi called it the "bottom-side fuzzies" where there's a burst of RF occurring on the bottom half-cycle. They add a Boucherot cell 10R/0.1uF at the output to stop that.
 
The following users thanked this post: Ionforbes

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 8009
  • Country: us
Re: How to compensate for transistor lead inductance in power amp?
« Reply #17 on: February 22, 2022, 05:25:18 am »
National Semi called it the "bottom-side fuzzies" where there's a burst of RF occurring on the bottom half-cycle. They add a Boucherot cell 10R/0.1uF at the output to stop that.

Which doesn't always work when you have to sub in modern driver transistors...

A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 
The following users thanked this post: Ionforbes

Offline Circlotron

  • Super Contributor
  • ***
  • Posts: 3334
  • Country: au
Re: How to compensate for transistor lead inductance in power amp?
« Reply #18 on: February 22, 2022, 05:28:29 am »
Google "Baxandall diode"
Simple mod to improve a quasi complementary setup.

And definitely 10R and 100n in series across the speaker output. Some chip amps take off without this. 
« Last Edit: February 22, 2022, 10:30:55 pm by Circlotron »
 
The following users thanked this post: Ionforbes

Offline IonforbesTopic starter

  • Contributor
  • Posts: 48
  • Country: gb
Re: How to compensate for transistor lead inductance in power amp?
« Reply #19 on: February 22, 2022, 01:57:59 pm »
Cheers everyone for your help; a 47pF capacitor across Q9's BC junction and a few turns through a ferrite bead on Q2's base lead and the oscillation is 100% gone  :-+
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 14795
  • Country: de
Re: How to compensate for transistor lead inductance in power amp?
« Reply #20 on: February 22, 2022, 02:17:44 pm »
The conbination around Q9 Q2 is definitely prone to oscillation. Some resistant or the mentioned ferrite bead at the emitter can help and a base to emitter resistor for Q2 is also a good idea.

There are more problems like the high power loss for the poor 2N2905 and 2N3054. The circuit also still has not short circuit protection.
 

Offline Conrad Hoffman

  • Super Contributor
  • ***
  • Posts: 2011
  • Country: us
    • The Messy Basement
Re: How to compensate for transistor lead inductance in power amp?
« Reply #21 on: February 22, 2022, 08:55:43 pm »
Now, don't forget to test it under real world conditions. That means with the expected length of speaker cable, attached to a real speaker. Blow the signal way up and look for "fuzzies" on the top and bottom.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf