2

I'm designing a class AB amplifier with a vbe multiplier to amplify the output current. I try to choose the resistors values by doing a DC analysis but when I simulate the circuit in AC, the output current is much smaller than the input. I think my mistake has smth to do with the way the amplifier works because the transistors Q2 and Q3 only work half a cycle, but I don't how to take that into account. Here are my calculations and the full circuit. (I can't change the value of Vin, Vcc, C2, CL and RL because I use them to simplify my calculations, they replace others circuits)

enter image description here

For the DC analysis, I remove the input and the output part and I neglect the current Ib of all the transistors.

  • I want the two resistors in the vbe multiplier to be equal. I have with KVL voltage law so VR2=Vbe=0.7V=VR3, as the current is the same in R2 and R3.
  • I want an output current of 4.5mA so I choose Ic=4.5mA, as the Ic current from the transistors will be the output current. I supposed than Ic is the same for the 3 transistors. I have then R2=R3=VR2/(Ic1+Ic2)=78 Ohm, which is way too small.
  • By KVL voltage law, I have VR1+VR2+VR3+VR4=Vcc so R1+R4=(Vcc-2VR2)/Ic1 => R1=800-R4, which will give really small values too.

Any help is welcome!

Lokath
  • 21
  • 3
  • 1
    A real tricky one to get right and, I can't say that simulation has got it right for me. Use a potentiometer is my advice. It's one of the few things that sims don't get particularly right. – Andy aka Mar 26 '23 at 20:21
  • I cant follow your calculations in the second bullet point. What do the collector currents have to do with the vbe-multiplier resistor values? The collector currents are not flowing through those resistors. – Lars Hankeln Mar 26 '23 at 21:03
  • How can I determine the vbe resistors values then? – Lokath Mar 26 '23 at 23:45
  • Do the CL and RL component stand for a piezo speaker? If so, you want a transformer to convert the low voltage high current signal to an high voltage low current signal to drive them – Ferrybig Mar 27 '23 at 11:10
  • They stand for a transducer, why do I need to convert it? I only want to amplify the signal it received so I amplified the input voltage with a cascode circuit here remplaced by the AC source, and now I want to amplify the current to have a power amplifier at the output. – Lokath Mar 27 '23 at 12:56
  • @Lokath So you are driving a transducer. I'll assume your specs are accurate for now. What do you expect to get out of the transducer (what is it and what does it do for you?) Do you believe that it can work with only a 5 volt rail? If so, why do you believe that? I'm a bit mystified by the 300 pF capacitor and your source input of 1 kHz. Explain why both of those facts are in the same circuit. Half a meg of Xc seems a bit extreme to me. – periblepsis Mar 28 '23 at 02:05

6 Answers6

7

Your amplifier has many errors. amplifier freq

amplifier output

Audioguru
  • 3,894
  • 5
  • 8
  • I tried your values but I still have an output current much lower than the input one, it seems it doesn't work. – Lokath Mar 27 '23 at 04:55
  • I would also suggest connecting the AC coupled input to the base of Q1 instead of the emitter. The input impedance should be higher this way. – Lars Hankeln Mar 27 '23 at 07:16
  • V1 is in the correct location but it is usually a transistor that has some voltage gain. Q1 is a DC voltage multiplier so that the two output transistors operate in class-AB with a little bias that is temperature corrected. – Audioguru Mar 27 '23 at 16:33
  • Your output load is 11k ohms resulting in output peak current of only 0.5V/11k= 45.4uA which is almost nothing. But your very low resistances for the bias resistors uses a continuous current of 5V/956 ohms= 5.2mA which is much higher. I changed my fix, see my new answer. – Audioguru Mar 27 '23 at 17:11
  • The input signal should not feed the base of the DC voltage multiplier transistor Q1. – Audioguru Mar 27 '23 at 17:37
6

What do you mean by "output current"?

If you mean the current passing through RL, then to understand why it's so small, then just imagine what current passes through 11kΩ when it has the full 5V across it:

$$ I = \frac{V}{R} = \frac{5}{11000} = 450\mu A $$

On top of that, CL causes the voltage across RL to go between -2.5V and +2.5V, meaning that current is more like ±225μA. And on top of that, CL and RL form a high-pass filter with cut-off frequency:

$$ f_C = \frac{1}{2\pi R_LC_L} = \frac{1}{2\pi \times 11000 \times 300\times10^{-12}} = 48kHz $$

Your signal frequency is 1kHz, well below that, and is attenuated to almost nothing, so you can expect almost no current through RL at all.

The only current parameter that an amplifier like this can control, is maximum output current. As long as that maximum is not exceeded, the actual current drawn by the load is defined by the load itself, and your load is minuscule. Let me say that again:

It's the load (RL and CL) that determines output current, not the amplifier.

This is a voltage amplifier, with gain 1, and with the benefit that it can supply more current than the original source of input signal. That doesn't mean it always outputs more current, only that it can. The actual output current is a function of the load, not the amplifier, and it can be nanoamps or hundreds of milliamps (in your case).

If you want bigger output current, give it a significant load. One whose cut-off frequency is well below the test signal frequency, and draws enough current to stress the amplifier somewhat.

Try CL = 100μF, RL = 22Ω

Those values will have a cut-off frequency of:

$$ f_C = \frac{1}{2\pi \times 22 \times 100\times10^{-6}} = 70Hz $$

With full output voltage swing (0V to +5V), the voltage across RL will be ±2.5V, for an output current of:

$$ I = \pm \frac{2.5}{22} \approx \pm 100mA $$

Now that's a load which will draw significant current, and permit you to test its ability to actually maintain a voltage gain of 1 under much more demanding conditions.

I know you said you can't change CL or RL, but if you don't, output current is naturally going to be tiny, much smaller than any current you inject at the input, and I question the need for a push-pull stage like this anyway. You could drive that load (with less distortion) using a single-transistor common-collector (emitter-follower) stage, and only one resistor. Why so complicated for a load so tiny?

Simon Fitch
  • 27,759
  • 2
  • 16
  • 87
  • Thank you for your explanation! The reason I can't change RL and CL is because I use them to simulate a transducer. That's why what I call output current is the current I measure before CL. I can however change my signal frequency because I don't mind about that. – Lokath Mar 27 '23 at 08:46
2

This configuration should work, but ... with some "good" changes.

As outputs BJT are "followers", voltage gain is < 1.

enter image description here

Or this ...

enter image description here

Antonio51
  • 11,004
  • 1
  • 7
  • 20
  • But in your simulation, the outpur current is still less than the input one?And I should have precise that I can't change the values of C2, CL and RL because this circuit is part of a bigger one, I just replace the others parts with that to simplify the calculations. – Lokath Mar 26 '23 at 23:40
1

I also made an error on the circuit I fixed causing its idle current too be too high. I improved it today and also made its maximum output level much higher (if you want) with very low distortion. Its voltage gain is a little less than 1.

class-AB

Audioguru
  • 3,894
  • 5
  • 8
0

Your "amplifier" does not amplify. Also, its output current is extremely low. C4 allows the input signal V1 directly drive the base of Q2 like this: extra

Audioguru
  • 3,894
  • 5
  • 8
0

How to understand electronic amplifiers

It is a well-known fact that more complex electronic circuits can be explained and understood through simpler equivalent electrical circuits. Typically, controllable current and voltage sources are used to model the behavior of active devices. But they are abstract models that give only a formal idea and work well in circuit theory.

For the purpose of intuitive (true) understanding of circuits we need to go down to an even lower level and that is the concept of "controllable" and "dynamic" resistors. It is underestimated only for the simple reason that "resistance" usually means "linear" ("ohmic") resistance and transistors have non-linear resistance. For purposes of intuitive understanding, however, this is not essential.

That is why, I have explained below the idea of ​​the complementary (push-pull) amplifier stage using only the concepts of variable resistor (rheostat), voltage divider and potentiometer. They are sufficient to build a functional idea of ​​these circuit solutions. To show the relationship between the resistor and transistor circuit, I have considered them in parallel from the start to finish.

The push-pull stage is bipolar (split) supplied; so there is no need for coupling capacitors. This simplifies things and does not distract us with unnecessary details.

How to explore amplifier stages

I have used CircuitLab to simulate the circuits as follows. To keep the schematics simple, I have not used potentiometers as variable resistors but constant resistors with an arrow in pale gray. You can change their resistance by opening the parameters window and setting values ​​in the field. If the window covers the instruments or labeled nodes, you can pull them out (along with the connecting wires) temporarily while setting values ​​and then put them back. Also, you can make cloned instruments and labeled nodes.

The initial schematics look a bit oddly drawn because the idea is to complete them step by step. They are bordered in pale gray to appear at the same scale.

The parameters are adjusted to obtain the same values ​​of voltage drops and currents in individual frames. The idea of ​​this is to show that resistor and transistor circuits are equivalent. Resistance values ​​are exemplary; I have chosen 1 k to be simple to calculate.

Building a simple amplifier stage

In fact, there is no amplification in the literal sense of the word; there is only regulation (reduction) of the power supply voltage.

Producing a positive voltage...

The first thing that comes to our mind to reduce the voltage is to connect a variable resistor R1 in series with the power supply and to change its resistance.

... by unloaded rheostat... But if there is no load connected, current does not flow, there is no drop and nothing changes - the output voltage remains equal to the supply voltage (I have chosen 10 V for simplicity). This goes against human intuition and it is good to experiment - open the R1 parameters and set different values ​​of the resistance.

schematic

simulate this circuit – Schematic created using CircuitLab

Unloaded rheostat

... and NPN emitter follower unloaded. In a real amplifier (emitter follower here), an NPN transistor plays the role of R1. So open Vin parameters and set various input voltages. As you can see, the emitter output voltage does not follow Vin and stays equal to 10 V as above. So, we conclude, a transistor alone is not enough to make a follower... something else is needed...

schematic

NPN emitter follower unloaded

... by loaded rheostat... That thing is the load RL. Let's load the rheostat R1 first. Now a load current IL begins flowing, a voltage drop VR1 = IL.R1 appears across R1... and we can change the output voltage Vout across the load within wide limits by varying R1. We conclude that R1 and RL form a voltage divider; so to change the voltage, we need two resistors forming a voltage divider.

schematic

simulate this circuit

... and NPN emitter follower loaded. Let's now load the transistor and begin changing the input voltage. Since there is a negative feedback, the transistor adjusts its "static" collector-emitter resistance Rce (corresponding to R1 above) so that to make Vout = Vin; hence the name "follower". As you can see, I have adjusted Vin to 5.701 V to obtain exactly 5 V at the output. Thus the Q1's collector-emitter "static resistance" is exactly Vce/IL = 5/5 = 1 k as the R1 resistance above. The transistor can only source current ("push" the load).

schematic

simulate this circuit

enter image description here

Producing a negative voltage...

All the configurations above are supplied by a positive voltage source V+; so the output voltage is also positive. If we need a negative output voltage, we should supply the voltage divider by a negative voltage V-.

... by unloaded rheostat... Vout is constantly -10 V.

schematic

simulate this circuit

Unloaded negative rheostat

... and PNP emitter follower unloaded. Also here.

schematic

PNP emitter follower unloaded

... by loaded rheostat... Now we can change Vout. R2 and RL form another voltage divider.

schematic

simulate this circuit

... and PNP emitter follower loaded. Here the transistor follows the negative input voltage. It can only sink current ("pull" the load).

schematic

simulate this circuit

PNP emitter follower loaded

Building a "push-pull" amplifier stage

With the two types of configurations we assembled above, we can amplify either a positive or negative input voltage. In order to be able to amplify both, we obviously need to "stick" two complementary configurations together.

Differential voltage divider

Thus we get another (third) voltage divider composed of two complementary resistors R1 and R2 with oppositely varying resistances. Here again we need a bit more dexterity to change R1 and R2 "simultaneously" and oppositely while looking at the output voltage across the load.

schematic

simulate this circuit

In these differentially changing R1 and R2 we can see the ubiquitous potentiometer.

Potentiometer

schematic

simulate this circuit

It is interesting to see how the load impacts the potentiometer. Here is the result of a DC sweep simulation with three load resistances - 100 ohm, 1 k and 100 k. As you can see, the 100 ohm load is too heavy for the 1 k potentiometer. Figuratively speaking, there are three resistors "pulling" the common output point - R1 "pulls" it up, R2 "pulls" it down and RL "pulls" it to the middle point... and the first two must be stronger than the third.

Potentiometer loaded (100,1k,100k)

Push-pull stage

Now it remains only to replace the resistors with transistors and we get the famous push-pull stage. The NPN follower will act during the positive input half wave and the PNP follower will act during the negative half wave.

schematic

simulate this circuit

But the problem with the unwanted Vbe voltage of the transistor appears.

0.7 V > Vin > -0.7 V. Actually, when the input voltage "wiggles" between -0.7 V and 0.7 V, both transistors are off... and we can remove them from the schematic.

schematic

simulate this circuit

Vin > 0.7 V. When Vin increases enough, the output voltage begins following the positive input voltage less by 0.7 V.

schematic

simulate this circuit

Vin < -0.7 V. Also, when Vin decreases enough, the output voltage begins following the negative input voltage more by 0.7 V.

schematic

simulate this circuit

Graphically presented.

Push-pull loaded

Improving the "push-pull" amplifier stage

Biasing

The remedy is obvious - we have to apply a tiny initial voltage (about 0.7 V) across each base-emitter junction. This means to add this voltage to the input voltage and apply the sum to Q1's base, and to subtract it from the input voltage and apply the difference to Q2's base. We can implement it by two diodes (D1 and D2) connected in series. They are forward-biased through the "pull-up" resistor R1 and "pull-down" R2.

schematic

simulate this circuit

As you can see, the output voltage strictly follows the input voltage.

Push-pull biased

Overloading

But if the load is too heavy, another problem appears - at some value of the input voltage the output stops changing. Let's drastically reduce the load resistance (from 1 k to just 10 ohm) to observe this effect. It is convinient to use the DC live simulation - hover the mouse over the circuit components to find the reason. Aha... we see that the Q1's base current and accordingly, the voltage drop across R1, have significantly increased.

schematic

simulate this circuit

Push-pull overloaded

Straightforward solution

We can simply decrease the R1 and R2 resistances, for example, to 100 ohm...

schematic

simulate this circuit

... and the problem is solved. But now the current through diodes is very high (100 mA).

Push-pull overloaded with 100 ohm resistors

Elegant solution

We finally realize what the problem is - R1 and R2 are constant ("static") resistors. So, when Vin increases, the voltage drop across and the current through R1 decrease... and at some point the diode D1 turns off. The same happens at negative voltage with D2. So, the remedy is to make R1 and R2 "dynamic" - they have to decrease their resistance when the voltage across them decreases and v.v. In other words, they have to be "current-stabilizing resistors" (transistors).

Let's mimic their behavior using CircuitLab by manually changing their resistance as the input voltage changes. Here you will need even more agility than before because you will have to change three quantities at once - Vin, R1 and R2. For example, below I set Vin = 6 V; then decreased R1 by 500 ohm and increased R2 by 500 ohm. Thus, the total resistance R1 + R2 = 2 k remained the same and the current did not change accordingly.

schematic

simulate this circuit

Formal presentation

These "magic dynamic elements" are formally presented as "current sources".

schematic

simulate this circuit

Push-pull elegant biasing

Circuit fantasist
  • 13,593
  • 1
  • 17
  • 48