Removing DC offset from a signal

Thread Starter

JingleJoe

Joined Jul 23, 2011
186
I have been working on some simple sound making devices recently (4000 series cmos, lunetta synths) Now I know what you're going to say "please provide full circuit schematics etc etc" Unfortunately for you I don't have any, this is just for my devices in general, their output is about 0 to 10 volts, thats rail to rail.


Short version: How should one combine a voltage divider (for attenuation) and capacitor in order to remove any DC from a signal?


Long version: I intend to connect my sound machines to amplifiers and mixers but to avoid discombobulating them I intend to capacitively couple their outputs.
However the output voltage of many of my inventions is almost rail to rail, which is just too much for most amplifiers; they prefer around 100mV.
To remedy this I have used a voltage divider, if input voltage is about 10V, then a 10k resistor and 100 ohm resistor form a good enough divider to get the voltage down to a level my amplifiers can handle.
However if the output voltage has some DC offset (which it often does) this is also transfered out with the divider.
In what arrangement would one combine a voltage divider and capacitor to get rid of this DC offset but not filter the sound too much?
I was considering perhaps as a high pass filter but then you have a resistor effectively in series with the capacitor which will affect it's reactance, but should one merely adjust the capacitor untill suitable reactance at 20Hz is found?
I have found that a capacitor after the divider sort of works but often there is too much filtering.
What would you chaps suggest?
 

Adjuster

Joined Dec 26, 2010
2,148
You should add a series capacitor (in the signal line, NOT in the the common). A resistor from the amplifier end of the capacitor to common will ensure that the capacitor charges, to avoid a "pop" on connecting.

The resistor can be a few times the input impedance of the intended amplifier, orb maybe 100kΩ. The capacitor needs to be big enough to couple bass frequencies, and again this will depend on the load* impedance. For 1kΩ, about 10μF, for 10kΩ...

*Actually, the sum of the source and load impedances, but you are proposing a divider with a 100Ω lower resistor: that's a lot lower than most amplifier input impedances.

The -3dB frequency is given by f = 1/(2*pi*(Rsource + Rload) * C).

Thus if you know the -3dB frequency you can find C: C = 1/(2*pi*f*(Rsource + Rload)).
 

PaulEE

Joined Dec 23, 2011
474
Fantastic thankyou that was very helpful :)
P.S. - That resistor from amplifier side to ground is to ensure that any input bias currents from the amplifier's input terminals (if it's an op-amp) will not charge the capacitor with DC. When this happens, the output disappears because the input is pegged to a constant DC value. Usually, something like 100 K for a typical op-amp will due just fine. If you wanna get technical, you can look up the worst-case bias current in the datasheet and do the maths necessary to derive the "nominal" resistor value...or just stick 100 K in there :)
 

Thread Starter

JingleJoe

Joined Jul 23, 2011
186
Thanks! I added a diagram above which from what has been said, I think may work. I just stuck a 100k resistor on the output :p
 

Thread Starter

JingleJoe

Joined Jul 23, 2011
186
The circuit I posted above works great! Even with caps as low as 1uF there was very very little distortion below 100Hz, with 470nF there was significant distortion, despite this the DC was removed and the signal was attenuated perfectly every time :)
I tried a capacitor before the voltage divider however this lead to significant distortion with values below 10uF.

Thanks for the advice chaps!
 

PaulEE

Joined Dec 23, 2011
474
The circuit I posted above works great! Even with caps as low as 1uF there was very very little distortion below 100Hz, with 470nF there was significant distortion, despite this the DC was removed and the signal was attenuated perfectly every time :)
I tried a capacitor before the voltage divider however this lead to significant distortion with values below 10uF.

Thanks for the advice chaps!
No problem!
 

fmk

Joined Nov 13, 2018
1
Hello, and thanks by the idea.
I see this scheme for utility for eliminated.c. ( or c.c.) of one audio signal , in my case or problem of one tube amp.

I work this whit one output direc os audio of one power tube amp of 12v ( to 30v depend of +B), and i have this dc of 12v (or 30v) in output direct at my speaker, and this run, but i more hapyyyyy if my speaker not receibe c.c.

I have one positive and one negative direct of the power tube amp in one hand and the ground or negative in other hand of my circuit,

An de answer is...:

How i adapted this scheme you put here for my amp or tube output,? put this scheme direct at positive of my output speaker and the ground at my ground?

(The negative of my speaker is distint of the ground of circuit, for this ere protect independent of chasis my output)

Some light in my eyes?, Or how i can coupled this at my amp?, The out sen one voltage of 12v ( or 30v) how +B and whit it the audio signal of course.
Thanks.
 
Top