Amplifier design: do I need to worry a lot about DC bias on the input signals?

Design

I'm designing an audio amplifier because I want to learn the details of how they work and how to work with BJT's in general. The amplifier design is all BJT, and contains no coupling capacitors whatsoever internally.

​

I'm considering the problem of what happens when an input signal has significant DC bias, and how to deal with that. Of course, I could use a coupling capacitor on the input, but other than that I'm thinking about other solutions.

​

One solution I have found is to use an integrator in the negative feedback system, which can compensate for some bias. In my simulations, I can deal with up to 200 millivolts of DC bias in the input signal, and still produce a perfectly centered output signal. Is this capability considered to be adequate, or inadequate?

​

A major question that I have is how necessary any of this is. How often are line level signals going to contain significant DC bias in the real world? By that I mean computer sound cards, iPod's, and so forth?

​

I have other ways to deal with DC bias that winds up in the output, so this isn't really about protecting speakers. This is about designing an amp that can work with significant DC bias on the input side. Or is this something I really don't need to worry about as much as I have?

Posted Feb 12, 2019, 11:44 PM UTC

1215
solomute•

"No capacitors in the signal path" is really just audiophile marketing. You will do just fine with an amplifier that cuts off at 20hz.

You certainly can use a DC bias servo to compensate for DC offset, but don't be under the illusion that your amplifier is "DC-coupled" anymore, you are putting a high pass in the response of your amplifier, you're just doing it in a different place.

DC bias on input signals is not *too* much of an issue in the real world, but DC offset in your *amplifier* certainly is a thing, especially in discrete designs. The ability to trim that offset away, or do it with a bias servo, is certainly recommended.

10
red_nutsOP•

Thanks. I'll likely just use a capacitor. This exploration is about learning ways that it can be done without a capacitor. I'm finding that it's mind-bending and very hard! Not a bad thing. It also increases the transistor count quite a lot, which is not really what I want though. You see, I built the bias servo with transistors, not an op-amp! Good thing it's just a simulation for now.

​

2
I_knew_einstein•

Technically, the most straight-forward way to make a high-pass filter without a capacitor is using a resistor/inductor combination.

2
red_nutsOP•

Hah! I wonder what kind of weirdness that would cause in my amplifier though.

1
I_knew_einstein•

It should be perfectly possible to do that without weirdness. Only thing is that if there's a DC offset on the input, there'll be a DC current through the resistor/inductor. And possibly you'll need a huge inductor to get a low cutoff frequency.

You can try it in simulation; resistor to input, inductor to whatever bias voltage you want.

2
fomoco94BSET/MEM•

A DC servo is normally used to compensate for the offset of the amplifier (which should be millivolts), not the source.

There's nothing wrong with an input capacitor. Use a good quality film cap.

Ceramic capacitors can create distortion and they can also be microphonic. If using a ceramic capacitor dramatically oversize it. ie. the cutoff frequency should be 3Hz or less. You should also prevent it from vibrating.

A bipolar electrolytic can also be used given that (like the ceramic) its value is oversized to minimize the voltage across it.

5
red_nutsOP•

Thanks. With a perfectly centered input, my output is also perfectly centered with no DC servo. I was trying to extend the technique to correcting input bias, with only limited success.

I'm not worried about using a capacitor, that will be what I eventually do I think. But I see circuits in the design books, and I'm experimenting with them and trying to deeply understand when to use them and when not to use them.

1
solomute•

Be aware that the transistors in your simulation will be perfectly matched and won't encounter any temperature-related effects, and if you're relying on this then you will be in for a surprise when it comes time to build it. Mismatched transistors, particularly in your inputs but also in your current mirrors and the like, will lead to offset errors that didn't crop up in your simulation. The tolerances of the passive components in your design will also come into play.

6
red_nutsOP•

I've read about this a bit, and I'm sure it'll be loads of fun sorting it out when I build a real circuit. Thanks.

3
fomoco94BSET/MEM•

This. And the offset voltage will drift with temperature unless everything is thermally coupled and matched.

1
1DavideLi-ion Battery Management Systems & Connectors•

Of course, I could use a coupling capacitor on the input

Yes, and... why don't you?

Or is this something I really don't need to worry about as much as I have?

That's right, you don't. Just use AC coupling in series with the input signal.

3
red_nutsOP•

The reason why I don't is because I've already learned how to do that, so it would teach me nothing. I don't really need an amplifier - it's different techniques I'm after here. This is all simulated. The one I build will likely just use a coupling capacitor.

4
spicy_hallucinationAnalog, High-Z•

Since you are simulating this, it's easy to miss sources of offset. I recommend adding room for a DC block capacitor in the feedback path. C3 in this schematic is the sort I'm talking about. You can jumper it out, and if offset is higher that you'd like, desolder the jumper to add the capacitor. (Or install the capacitor with a jumper shorting it, then clip out the jumper.)

Source: http://sound.whsites.net/project3a.htm

3
tbox_9•

Could you please explain the role of Q4 and Q9

1
spicy_hallucinationAnalog, High-Z•

The long tailed pair (Q1, Q2, R6) amplifies a difference in voltage and outputs a current, and Q4 turns that output current into a voltage. Q1 can't pull its collector below ground, so Q4 is needed in order to reproduce the negative half of the audio.

Q9 is a Vbe multiplier bias. It keeps the bases of Q5 and Q6 separated by some voltage so that there isn't a large region where Q5,6 are both off. The voltage is set by VR1, and the temperature of Q9. Q9 is to be on the same heatsink as Q5,6 so that as the amplifier heats up Q5,6's tendency to draw more current is counteracted by Q9's Vbe dropping. As they heat up, Q5,6 turn on at a lower voltage (base-to-emitter) but so does Q9, so in theory one cancels out the other.

2
tbox_9•

Why not remove q5 and q6 and drive the output amps directly with a current source?

1
spicy_hallucinationAnalog, High-Z•

Because power transistors have low beta. You would have to run hundreds of milliamps in the earlier stages, and it would still not compensate enough, i.e. the distortion would still be higher.

Also, no, switching to MOSFET output transistors wouldn't fix the beta problem: since they have such high capacitance and they require a much wider change in voltage during crossover (switching from the top output transistor to the bottom and back) they require just as much extra current to drive directly (if not more).

1
red_nutsOP•

Thanks, I'll start reading about this. I've found some discussions of it.

1
planet12•

C3 in this case makes the amplifier have a gain of 1 at DC - so it won't remove an offset on the input, but it stops it amplifying it.

3
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1