Analyse this amplifier for me please :)

AI Thread Summary
The amplifier design features an NE5532P op-amp for voltage amplification and a Darlington transistor output stage using TIP 121 and TIP 126. Feedback from experienced engineers highlights concerns about quiescent current, potential crossover distortion, and the need for better thermal regulation. The circuit is noted to clip at ±14.5V, raising questions about the biasing and whether it operates in class AB or class B. Suggestions include using matched transistor pairs for improved performance and simulating the circuit with LTspice for analysis. Overall, while the design has merit, it requires further refinement to address identified issues.
Gingerbunny82
Messages
13
Reaction score
0
Hi folks, I've designed this amplifier, it uses an Ne5532p op-amp for the voltage amplification and feedback in the non-inverting configuration. The output stage is handled by two Darlington transistors, TIP 121 and TIP 126, these are hopefully biased by TIP 117 and TIP 112.

I was hoping that some more experienced engineers could take a look at this circuit and give me feedback on its performance, and any tips to improve it would be greatly appreciated.

I have managed to build this circuit and it sounds okay to me, I can't hear any distortion, even at low volumes, but are my ears deceiving me? It operates off +- 18v, and I was also wondering about the output stage, is it operating in class AB, or is it purely a class B stage? I don't think it's class B because surely the crossover distortion would be horrible but If you guys could clear up my confusion I would greatly appreciate it, many thanks,

snipd.PNG
 
Engineering news on Phys.org
Gingerbunny82 said:
are my ears deceiving me?
The way to find out would be to take a digital sample of the input and output, then do some kind of statistical analysis of the comparison instead of using your ears.
 
  • Like
Likes Gingerbunny82
assuming you did all the math on the biasing right you'll need a scope to check the transistor inputs as well as running a function generator with sine wave and doing a sweep, one thing I do notice that your missing is a low pf cap across the 56k resistor to prevent high frequency oscillation.
 
  • Like
Likes Gingerbunny82
on second thought I notice another problem, your output bias, you don't have any positive feedback for the output transistors thermal regulation and you may have a problem with the input and/or output transistors where you'll need .7 volts lifted at the gates, this can be done with a couple of small signal diodes in the right place.

/me waits for a more experienced member to comment.
 
  • Like
Likes Gingerbunny82
What output power do you want from this amplifier ??
Well I see you try to use a diamond buffer as a output stage. But why with two Darlingtons ?
Also your output stage quiescent current is not well defined. Because now your quiescent current depends on vbe mismatch.
Also connect your power supply directly to output stage and use RC for supply the OpAmp.
 
  • Like
Likes Jeff Rosenbury and Gingerbunny82
If you download a copy of the free LTspice from the Linear Technology site you will be able to simulate it yourself.
http://www.linear.com/designtools/software/
If you have problems getting LTspice or your circuit to work you can ask or attach .asc files as text files to a PF post.
 
  • Like
Likes Gingerbunny82
Firstly, many thanks for the replies folks,
you may have a problem with the input and/or output transistors where you'll need .7 volts lifted at the gates,
- I was under the impression that this voltage was provided by the driver transistors TIP 117 and TIP 112, is this incorrect?

What output power do you want from this amplifier ??
- I was hoping to get around 25w into 4Ω @ ±18v. Is this obtainable, my circuit draws 30mA with no input connected.

But why with two Darlingtons ?
- I ordered them by accident, so I tried to make them work I realize its not ideal. The downside is my circuit seems to clip @ ±14.5v with power rails @ ±18v. I think this might be because the darlingtons require around 1.2v to turn on, is this correct? Or could it be the op-amp not capable of reaching the rails.

Also your output stage quiescent current is not well defined. Because now your quiescent current depends on vbe mismatch.

- Should I make the TIP 117 and TIP 126 drivers say both TIP 126 instead so they are the same part. Then do the same with the NPN transistors.
Leaving me with matching pairs? Would this help?

Many thanks :)
 
How can you make both outputs the same part when one needs to be PNP and the other NPN? I would say you are correct in saying that the way the driver transistors are configured should bias the outputs correctly. However, this assumes the drivers base-emitter voltage is similar to the outputs base-emitter voltage. If the outputs are darlingtons then of course this won't be true.
 
Thanks for your input Averagesupernova,

How can you make both outputs the same part when one needs to be PNP and the other NPN?

What I meant is make all the NPN transistors the same model and all PNP transistors the same, so the above schematic would have (2x) TIP 121 NPN and (2x) TIP 126 PNP.
 
  • #10
http://www.douglas-self.com/ampins/books/apad.htm

I have all his books, I consider him a god when it comes to amplifier design, I highly suggest you get this book.

here is some more reading: http://www.allaboutcircuits.com/textbook/semiconductors/chpt-4/cascode-amplifier/

and if you want to show off your amp check out diyaudio.com tons of useful info there.
 
Last edited:
  • Like
Likes Gingerbunny82
  • #11
I would not make the drivers the same as the outputs. The base currents will be much larger in the outputs compared to the drivers so the base-emitter voltage drop will also be different and you want the to be as close to the same as possible.
 
  • Like
Likes berkeman
  • #12
I've not used a diamond buffer.

It looks like it would have a low output impedance, but the input impedance seems high due to the ß > 1000 of the darlingtons. Since your emitter resistors are in series with the load, the input resistance to the darlinton emitter follower stage will vary with your speaker impedance (which dominates the input resistance equation). The speaker impedance varies with frequency. This might cause an impedance mismatch between your biasing transistor stage and your darlington stage that will vary with frequency. It should be a small effect and act somewhat like a graphic equalizer, so it's no big deal unless you're an audiophile. (The mismatch seems to be varying from about the right value to several times too high. Too high is better than too low.)

Or I could be wrong.
 
  • #13
The negative feedback in this amplifier should help a lot with frequency response.
 
  • #15
I can see where this output stage cannot be expected to drive very close to power supply rails as the only thing pulling on the base of the output transistors is a resistor. A somewhat clever biasing scheme though. I had never seen this til now but it jumped out at me and made sense.
 
  • #16
So what sets the quiescent current at 0 volts out to make it class AB.
 
  • #17
meBigGuy said:
So what sets the quiescent current at 0 volts out to make it class AB.

The output stage is push-pull. Any quiescent current flowing through the speaker will cause a small voltage drop which will feed back to the negative input of the op-amp, changing the bias points of the push-pull transistors to limit the current. It's a small effect, but it only needs to overcome the mismatch in the darlinton betas.

The quiescent bias current through the darlingtons seems a little wonky since they are being biased by the voltage drop across a regular BJT. (They "should" have twice that.) I think that would limit their RF response, but I don't think it matters much at audio frequencies. It does mean a low quiescent current through the darlingtons, but I don't see a problem there; more of a feature really. (There's a lot of non-linearity as well, but with a push-pull pair I don't think that's a problem either.)

A very clever design.
 
  • #18
The circuit is not bad, but there are some areas that could stand an analysis and a redesign. Off the top of my head:
  • The power dissipation in the driver transistors will be a bit on the high side
  • Since there is almost no local feedback, only an overall feedback, I see a possible problem with TIM (Transient Intermodulation Distortion)
I suggest that you take a look at http://www.w5dor.com/AppNotes/AN485-Hi-Power-Audio-Amps.pdf for a thorough discussion of the stages in a Hi-Fi amplifier.
 
Last edited by a moderator:
  • #19
Svein said:
The circuit is not bad, but there are some areas that could stand an analysis and a redesign. Off the top of my head:
  • The power dissipation in the driver transistors will be a bit on the high side
  • Since there is almost no local feedback, only an overall feedback, I see a possible problem with TIM (Transient Intermodulation Distortion)

Why will the power dissipation be high? The current and voltage drop need to be dissipated somewhere. Admittedly there are switched amplifiers with lower dissipation, but power transistors are built for this sort of job. Make sure the heat sink is up to the task. (He said he built the circuit around the darlingtons, so I assume they are expensive/hefty.)

It's my understanding TIM is when non-linear amplifiers unintentionally act as mixers. Push pull amps are tend to be pretty linear. That applies to the op-amp as well as the darlington stages. So the bias transistors would be the problem children. They look to be emitter followers with a linear gain ≅ their beta, but perhaps I'm missing something.
 
  • #20
Jeff Rosenbury said:
It's my understanding TIM is when non-linear amplifiers unintentionally act as mixers.
No. The Ottala paper states that TIM is due to clipping and saturation in the intermediate stages when little or no local feedback is used. See http://www.shabad.ru/IEEE/otala.pdf.
Jeff Rosenbury said:
Why will the power dissipation be high? The current and voltage drop need to be dissipated somewhere.
Yes, but in a power amplifier class AB the current in the output stages is kept low when the signal is small. The drivers in this case are constantly driving a current through the emitter resistor (about 6mA) with a voltage across them of about 18V (18V*6mA = 108mW). Again, see my reference for a very good design.
 
  • #21
I'm not sure I understood all that. It's been a while since control theory.

But what I think it's saying is that the maximum frequency is limited by something akin to the gain/bandwidth product. When higher frequency signals come in they drive the system to the rails which limits low frequency gain to 1 which is non-linear (at least for a small bit) and mixes. Darlingtons have lots of parasitic capacitance, so that amplifies the problem. But the voltage gain is only 28 (as opposed to 100 or more for typical applications) so that limits the problem. These transistors seem to be made for about 100 kHz operation. (It was hard to tell from the data sheet, but they used that value in a test.) It gives a collector-base capacitance (~150 pF at 18V) but I think the important value would be internal. (The collector-base capacitance on the first transistor inside the pair is important, I think.) Anyway, I have no idea how to figure what the cutoff frequency is. 100 kHZ is clearly problematic, but I'm sure the transistor can manage well above that. Just how far?...

I can see where limiting the high frequency end of the input could help eliminate this problem. Maybe toss in a filter set for 30 kHz or so.
 
  • Like
Likes Gingerbunny82
  • #22
I am not sure power dissipation in the driver stage is that big of a deal compared to other schemes. It's going to take so much drive on the bases of the outputs to get so much power out of them. After a certain point this probably requires an emitter follower (which is exactly what this design uses) and this often means some power dissipated in an emitter resistor. This brings up another point. Does an emitter follower technically have feedback built in with its emitter resistors? When we think of a common collector transistor stage we think of the emitter resistors being part of a feedback path. I would say that the point of the overall feedback in this circuit is to flatten the frequency response and keep the output at zero volts DC. The voltage gain from the output of the op-amp in the first stage to the speaker output is slightly less than one. Pretty hard to apply more 'local' feedback here. I think for what it is in components it is a nice little circuit. I don't think anyone should expect it to outperform the output circuits available in IC form. That would be silly.
 
  • Like
Likes Gingerbunny82
  • #23
In a class AB amplifier, current should flow through the output transistors when the output voltage is exactly zero. That is, a reliable quiescent bias current through the final PNP and the npn NPN when the speaker voltage is exactly zero. How is that accomplished here?
 
  • #24
Hi folks thank you for all your replies, I have been reading through them carefully. Svein I will take a look at that link, thank you. And thank you thankz (lol) for the book suggestion - looks good.

I have not changed the circuit yet, but I have taken some measurements @ ±18v of the circuit which I have here on the breadboard.
The new measurements are in pink.

These measurements are taken with NO input signal, and with a 6Ω speaker connected.

snipe.PNG
 
  • #25
meBigGuy said:
In a class AB amplifier, current should flow through the output transistors when the output voltage is exactly zero. That is, a reliable quiescent bias current through the final PNP and the npn NPN when the speaker voltage is exactly zero. How is that accomplished here?
The darlington pair is somewhat under-biased, but there is some bias voltage/current. Thus the quiescent current is near, but not at zero. In high frequency applications this would probably slow the response. But I doubt it's a problem in audio applications.
 
  • #26
Jeff Rosenbury said:
The darlington pair is somewhat under-biased, but there is some bias voltage/current. Thus the quiescent current is near, but not at zero. In high frequency applications this would probably slow the response. But I doubt it's a problem in audio applications.

- The TIP 126 data sheet says it has a small signal current gain Hfe of 1800 up to 20khz, the 3K3 resistor provides a base current of 5mA. If I make 3K3 a lower value say 1K5 the amplifier sounds horrible. Distorting even at low volumes. Why is this?
 
  • #27
meBigGuy I don't understand why you still have not been able to see how the outputs are biased up. The base voltage on the drivers is zero. Each one is it's own emitter follower all by itself. The voltages shown in post #24 make good sense. However, those outputs should not have been darlingtons and I don't think anyone here will argue that. As Jeff Rosenbury said they are somewhat underbiased. I suppose you could add diodes in the emitters of the drivers to take care of this.
 
  • #28
Gingerbunny82 said:
- The TIP 126 data sheet says it has a small signal current gain Hfe of 1800 up to 20khz, the 3K3 resistor provides a base current of 5mA. If I make 3K3 a lower value say 1K5 the amplifier sounds horrible. Distorting even at low volumes. Why is this?

I think you may be mis-analyzing the bias current to the darlingtons. (Or maybe I am?) Since the quiescent output of the op-amp is zero(ish), the biasing transistors will be operating at some normalish bias. That means they will drop (typically) 0.6 to 0.7 V (one diode drop). Since a darlington has two diode drops, it won't be fully biased. But if we recall our Eber Molls' model, even under-biased, there is some (small) current. That makes it operate in a non-linear mode, but since it's a push-pull, that shouldn't be a problem.

The rest of what you thought was the bias current will drain through the biasing transistors.

BTW, these are explanations are of what I think is happening. Your biasing obviously works. That makes it good.

I have don't know specifically why mis-biasing causes distortion. It may be that the op-amp is being overdriven by the current? (It will only source 10 mA, I think.)
 
  • #29
Jeff Rosenbury said:
I think you may be mis-analyzing the bias current to the darlingtons. (Or maybe I am?) Since the quiescent output of the op-amp is zero(ish), the biasing transistors will be operating at some normalish bias. That means they will drop (typically) 0.6 to 0.7 V (one diode drop). Since a darlington has two diode drops, it won't be fully biased. But if we recall our Eber Molls' model, even under-biased, there is some (small) current. That makes it operate in a non-linear mode, but since it's a push-pull, that shouldn't be a problem.

The rest of what you thought was the bias current will drain through the biasing transistors.

BTW, these are explanations are of what I think is happening. Your biasing obviously works. That makes it good.

I have don't know specifically why mis-biasing causes distortion. It may be that the op-amp is being overdriven by the current? (It will only source 10 mA, I think.)

Thanks for the reply - I thought that because the driver transistors are also darlington transistors, that they would drop double the voltage a single transistor would. Therefore dropping say 1.2 - 1.3v enough to bias the output darlingtons? Like below??

snipg.PNG
 
  • #30
From your measurements, something is wrong around TIP112/TIP126. The emitter voltage should be -1.18V (the mirror image at the emitter of TIP117).
 
  • #31
What is the purpose of the 220k resistors from the op-amp's low-Z output to both supply rails ?
 
  • #32
I can easily see how it works as class B.
Nobody has actually answered by basic question. I'll ask the question another way. When the output voltage is exactly 0, what significant, controllable, current flows through the PNP and NPN final transistor's collectors to make it class AB (and not just a sloppy class B). And what, EXACTLY, sets that current?
 
  • #33
Svein said:
From your measurements, something is wrong around TIP112/TIP126. The emitter voltage should be -1.18V (the mirror image at the emitter of TIP117).

Thanks for the reply, I thought that also, I thought they were supposed to be identical just opposite polarity. But I have a stereo version of the above circuit and both channels show the same difference in voltage. -0.85 for the NPN and +1.18v for the PNP. I can't see how the circuit could influence these voltages either?? :)
 
  • #34
Baluncore said:
What is the purpose of the 220k resistors from the op-amp's low-Z output to both supply rails ?

I'll be honest, none I think. When I first started building this amp I only had basic knowledge of electronic design. I think I originally put them into set the mid-point or DC bias for the op-amp output signal. But I'm not sure they make a difference as the bias is controlled by the op-amp and its feedback.
 
  • #35
meBigGuy said:
I can easily see how it works as class B.
Nobody has actually answered by basic question. I'll ask the question another way. When the output voltage is exactly 0, what significant, controllable, current flows through the PNP and NPN final transistor's collectors to make it class AB (and not just a sloppy class B). And what, EXACTLY, sets that current?

Thanks for your reply, I have taken some current measurements, I believe the bias current is set by the 3K3 resistors connected to the emitters of the drivers.
Current measurements are in orange.
The measurements have been taken with no input signal again. :)

snipe.PNG
 
  • #36
You are correct. I didn't check the data sheets on the biasing transistors.

That makes them properly biased. It also makes for a strange current mirror using virtual grounds. A push pull current mirror with (almost) no quiescent current. Clever.
 
  • Like
Likes Gingerbunny82
  • #37
Jeff Rosenbury said:
You are correct. I didn't check the data sheets on the biasing transistors.

That makes them properly biased.
Nor did I.
 
  • Like
Likes Gingerbunny82
  • #38
meBigGuy said:
When the output voltage is exactly 0, what significant, controllable, current flows through the PNP and NPN final transistor's collectors to make it class AB (and not just a sloppy class B). And what, EXACTLY, sets that current?

with zero offset in the opamp,
I = (Vbe of biasing transistor - Vbe of final transistor )/ 0.33Ω ?
 
  • #39
Now I see one weakness with the construction. The driver transistors do not drive the output transistors, they work by stealing bias current from them.

Example: Assume that the OpAmp goes as high as possible (assume +15V). This brings the bases of TIP112/117 to +15V. This again takes the emitter of TIP112 to about +14V, causing a current through the 3.3k resistor of about 4.2mA. But as long as the base of TIP126 is more positive than the emitter, no current will pass through TIP126. On the mirror image, the emitter of TIP117 tries to go to +16.2V, drawing 0.54mA through the 3.3k resistor. This means that the output transistor (TIP121) will essentially have its base connected to +18V through a 3.3k resistor. The current through this resistor determines the output current!
 
  • #40
Svein said:
Now I see one weakness with the construction. The driver transistors do not drive the output transistors, they work by stealing bias current from them.
That is a stretch. The drivers are directly coupled emitter followers. That's it. If you want to consider that emitter followers operate in this manner then I guess that's that. You can say the same thing with a pair of diodes used to bias the outputs. Whatever is driving a pair of diodes being used for biasing is 'stealing current' from the outputs' bases as well.
 
  • #41
Here is an example of a similar audio amplifier. Observe that the current is amplified through the driver stage, not shared.
18Watt%2BAudio%2BAmplifier-Circuit%2BDiagram_thumb%5B6%5D.png
Personally, I would have added a few more components, but the principle is clear.
 
  • #42
Actually, no it is not amplified in what you call the driver stage since in order for the emitter of Q1 and Q2 to source this current it has to come through the base of Q3. This current won't be a whole heckuva lot. It will be enough to turn on Q3 and Q4. This circuit uses a current boost stage. I have seen and used this scheme in voltage regulators. Use a 2N3055 with a 7805 and you can get 10 to 15 amps out. A person can think of it this way: The emitter followers provide the voltage and the current boost transistors provide the current. Admittedly that is a very simplified and not technically correct description.

Edit: Actually the 2N3055 is an NPN and the voltage regulator scheme requires PNP. So the PNP version of the 3055 would be required.
 
Last edited:
  • #43
Svein said:
AJ8c%2Fjhw18SJGObY%2Fs1600%2F18Watt%252BAudio%252BAmplifier-Circuit%252BDiagram_thumb%255B6%255D.png
Svein said:
Here is an example of a similar audio amplifier. Observe that the current is amplified through the driver stage, not shared.
In that example, Q1 with Q3 and Q2 with Q4 form three terminal Complementary Darlington or Sziklai pairs.
Complementary Darlington transistors have lower base emitter voltages than the standard Darlington configuration that uses transistors of the same polarity. That is because saturation can allow the VBE of the two elements to overlap.
https://en.wikipedia.org/wiki/Sziklai_pair
 
  • #44
jim hardy said:
with zero offset in the opamp,
I = (Vbe of biasing transistor - Vbe of final transistor )/ 0.33Ω ?

HOORAY --- A coherent answer. And, given that answer, what determines the difference between the Vbe of those two transistors? Maybe the bias resistors have some effect. Certainly does not seem like a robust design with respect to class AB quiescent final stage current. I consider it a sloppy class B design. Some will work well, some not so well. Depends on Vbe matching of discrete devices.

As for the 220K resistors, I don't can't assign a purpose to those either.

Another quality of design issue is that the opamp is not sourcing current at 0V. I generally add a load resistor from the opamp output to the negative supply to keep the output transistor conducting. Helps with crossover distortion.

The lack of bypass on the feedback resistor has been mentioned before.

I don't have an answer for why lowering the bias resistors to 1.5K made the sound poor. I'd have to see the waveform. These transistors have internal resistors that are not on your schematic. Maybe that is part of it. ( see fig 1 in http://www.onsemi.com/pub_link/Collateral/TIP120-D.PDF )
 
  • #45
Averagesupernova said:
Actually, no it is not amplified in what you call the driver stage since in order for the emitter of Q1 and Q2 to source this current it has to come through the base of Q3. This current won't be a whole heckuva lot.
It has already been answered:
Baluncore said:
In that example, Q1 with Q3 and Q2 with Q4 form three terminal Complementary Darlington or Sziklai pairs.
Complementary Darlington transistors have lower base emitter voltages than the standard Darlington configuration that uses transistors of the same polarity. That is because saturation can allow the VBE of the two elements to overlap.
https://en.wikipedia.org/wiki/Sziklai_pair
 
  • #46
meBigGuy said:
what determines the difference between the Vbe of those two transistors?



TIP117PNP.JPG
TIP21NPN.JPG


at quiescent, perhaps their temperatures ?
Those Vbe curves are Onsemi
From TI:

TIP117Tempco.JPG
121tempco.JPG
 
Last edited:
  • #47
meBigGuy said:
HOORAY --- A coherent answer. And, given that answer, what determines the difference between the Vbe of those two transistors? Maybe the bias resistors have some effect. Certainly does not seem like a robust design with respect to class AB quiescent final stage current. I consider it a sloppy class B design. Some will work well, some not so well. Depends on Vbe matching of discrete devices.

As for the 220K resistors, I don't can't assign a purpose to those either.

Another quality of design issue is that the opamp is not sourcing current at 0V. I generally add a load resistor from the opamp output to the negative supply to keep the output transistor conducting. Helps with crossover distortion.

The lack of bypass on the feedback resistor has been mentioned before.

I don't have an answer for why lowering the bias resistors to 1.5K made the sound poor. I'd have to see the waveform. These transistors have internal resistors that are not on your schematic. Maybe that is part of it. ( see fig 1 in http://www.onsemi.com/pub_link/Collateral/TIP120-D.PDF )

- Thanks for the reply, I've removed the 220k resistors from the circuit. And added a bypass for the feedback. The Vbe of the output transistor increases as the collector current does, so the difference in Vbe between the driver and output transistors increases as the load does?
I think I understand, how does this Vbe difference affect the amplifier though? Does it cause increased excess current to flow through the output transistors?
 
  • #48
No, there is no issue with wasted current through the output transistors.

I want to focus on your first post where you asked whether this was class A or Class AB. My opinion is that it is class B, but sometimes (depending on transistor matching) it might turn out class AB. Being class B doesn't mean it will sound "horrible". It means there can be some non-linearity in the crossover region which your feedback will mostly fix. "Fix" in this case could mean reduce it to "not audible to most listeners" levels.
 
  • #49
Thanks for all your replies folks, I'll take what you all said on board - and thanks for taking the time to help me out, cheers Gingerbunny82
 
  • #50
Svein said:
  • Since there is almost no local feedback, only an overall feedback, I see a possible problem with TIM (Transient Intermodulation Distortion).
That is what struck me at once.
If you can get away with the one feedback from output back to the input as you do, that is nice, but there is a lot of circuitry inbetween. I would test trasient response with a square-wave drive to look at the leading & lagging edges. I suspect you're close to oscillation.
 
Back
Top