Audio Project Amplifier Speaker Loudspeaker Kit
diyAudio.com diyAudio Forums Archive > Top > Loudspeakers > Subwoofers
 
Summing Op-Amp circuit - Click HERE for Original Thread
FastEddy
Happy Easter Eggs!

Thought I'd run this up the 'ol flag pole and see who salutes ...

:smash:
mashaffer
Wouldn't that put your sub 180 degrees out of phase from your mains?

mike
Sonusthree
quote:
Originally posted by mashaffer
Wouldn't that put your sub 180 degrees out of phase from your mains?

mike

It's non-inverting, right? Or am I missing something?
bjorno
Hi,

I think this suggested circuit generally is flawed but may be somewhat useful if about 1 k Ohm resistors are inserted in series with the L and R opamps output connected to the pots.

Because if both pots are set at max and if 0 phase exist between the input signals, then max output voltage 100% is possibly only if the input amps can be paralleled without destroying each other and at this setting, the summed output depends only of input voltage tolerance.

If phase difference exists, the voltage will be lower and if 180 degrees the output voltage will be zero, thus the L and R opamps are shortening each other.

If one pot is left at max and the other is turned down, the output will still be close to 50% independent of the other pot setting but if this latter pot is turned to zero the summed voltage drops to fast to zero.

A dangerous situation will occur if one of the pots is turned max and the other pot at zero is turned up slowly, then the summed output will almost jump to 50% just by touching that latter pot.

Only if both pots are operated, the level can be balanced and set to a useful value as the pots will track each other, but is an awkward feature as the balance depends on the absolute value of L an R input signal i.e. if they are not equal the pot settings for balance is always unequal for all other possible settings.

If either pot is turned to zero, the summed output is zero or if either or both is set at max the output voltage will stay close to max and only lower to 50% if the other pot is turned down but not to zero.

I think that only one who has limited knowledge of preferred audio circuits designs prefers this type of rookie circuit.

b
AndrewT
Hi,
do you need independent gain of the left & right signals?
No,
then use a summing opamp (inverting) from the two inputs and then follow that with the low pass filter. This still adds up to 2opamps if you only want a 2pole filter.

If yes, then insert two buffers and a summing opamp after the gain setting pots. That adds up to 5opamps, there must be a simpler way.
I think Greg Ball posted a summer that had adjustable gain with fewer opamps but I cannot recall if the input gains were independent, or linked.
FastEddy
Sonusthree: " It's non-inverting, right? ..."

Yes, non-inverting ... Both op-amps are meant to be voltage followers.

bjorno: " ... if one of the pots is turned max and the other pot at zero is turned up slowly, then the summed output will almost jump to 50% just by touching that latter pot. ..."

... mmm, not sure here ... tis' possible under certain conditions I suppose like completely out of phase sources, L verses R, but I believe that this is what would be desirable. If Left and Right are exactly 180 degrees out of phase, then the (low passed) bass should be canceled as it would be in any case if the main stereo speakers are placed properly. This circuit is meant to exactly mimic the L and R sources with modest gain (2 X), trimmed back by the variable resistors.

AndrewT: " ... Do you need independent gain of the left & right signals? No, then use a summing opamp (inverting) from the two inputs and then follow that with the low pass filter ..."

I had hoped to keep the signal path as simple as possible with the fewest number of gain stages (reduced number of op-amps). It is a possibility that either Left or Right levels might be degraded and adjustments might be desirable. I had thought that the variable resistors (the pots) would be set once for a given pre-amp level set, then left alone. The purpose of the pots being to allow for pre-amp irregularties, rather than continuously adjustable gain ... trim pots, not volume knobs.

AndrewT: " If Yes, then insert two buffers and a summing opamp after the gain setting pots. That adds up to 5opamps, there must be a simpler way. ..."

I intended the output amp, in this case the NX-150, to act as the "final" summing stage, the input of the '150 (or other) being the summing point. The 100K Ohm "trim" pots being chosen to be much larger than the 33K Ohm input impedence of the power amp.

I had hoped as well that someone would verify my calculations and configuration for the 1st order low pass filter in the op-amp negative feedback loop. I have not breadboarded this circuit as yet, but intend to as soon as I can find my op-amp chip stash.

The configuration it total will be a tube type pre-amp (ala BottleHead ForePlay) to any 10 to 100 watt chip amp or 20 to 400 watt MOSFET output amp = sub woofer / bass thumper ... :smash:
AndrewT
Hi,
but the NX150 in non-inverting mode cannot act as a summing amplifier.
You need a summing amplifier (or opamp) to do that.
I have already said that the sum function can be met by using an inverting opamp.

Bottle head into opamp!!
FastEddy
AndrewT: " ... the NX150 in non-inverting mode cannot act as a summing amplifier. You need a summing amplifier (or opamp) to do that. ..."

Well, the theory goes like this: an amp is an op-amp is an amp ... The NX150 (and many other output gain stages = power amps) has isolated inputs, the negative (-) input is not directly connected to the local ground and likewise has an input impedence similar to the positive (+) input = 33K Ohms each, so it does have the ability to act and perform as a summing amp. ... at least that is the theory (my theory, anyway).

If an inverting stage is required for a "true" summing configuration, then you would be right ... and I would have made the initial input stage(s) inverting configuration ... but then I would have to have the next stage perform the low pass filter function as the feedback loop filter uses this. Then, you are right, there would have to be a second inverting stage ahead of the output amp to "straighten" out the phasing, a more common configuration :smash: ... (Yes, BottleHead Tube Pre-Amp into op-amp(s) = :D )
AndrewT
Hi,
you could change the third opamp to an MFB filter. That gives your inverting phase and allows summing and allows setting frequency and allows gain and allows Q to be set independently of each other.
FastEddy
Add another inverting stage?? One would think that would put the low pass output to the sub 180 degrees out of phase with the other speakers ...?? The roll off of a second gain stage w/ 1st order filter (6 db / octive) would cause the sub woofer speaker to "cut into" or cancel some of the output from the mains, at least down in the range from 125 Htz up thru ~~ 500 Htz before the slope drop off > 20 db down ... what? ... Then there is the additional distortion component of another op-amp gain stage = I understood that each op-amp gain stage added distortion on top of distortion (on top of distortion) making the cumulative distortion beyond the usefullness of added stages of op-amps ... What? :confused:
richie00boy
I don't think this will work. The inverting summer works by creating a virtual earth at the inverting input, you can't just make a non-inverting input a summing point because the mode of operation (i.e. feedback regime) is fundamentally different.
AndrewT
Hi Fasteddy,
are you referring to the MFB inverting filter?

I said change not add another.

Richie,
are you saying the MFB filter cannot work as a summer?
FastEddy
" ... you can't just make a non-inverting input a summing point ..."

" ... are you referring to the MFB inverting filter? ... are you saying the MFB filter cannot work as a summer? ..."

I believe that, carefully worked out, any amp can be made into a summing amp, whatever the components in the feedback loop or input configuration. Richie00boy is correct, however, that a summing network effects the feedback loop in an inverting op-amp. This is why I chose the non-inverting configuration at the beginning of this thread = several signals can be additive at the positive input without affecting the negitaive feedback ... which could include a band pass or low pass filter (actually configured as a "high pass" and in this case acting to allow a low band pass through the op-amp ... as whatever happens in the negative feedback loop is, well, negative to the band passed by the op-amp).

It has been several decades since I did any of this with op-amps, so I am not completely familiar with the MFB fliter ... please clarify ... :confused:
mashaffer
quote:
It's non-inverting, right? Or am I missing something?

Oops, sorry shouldn't post so late at night. I saw the + on the bottom of the input amps and my brain ran that to ground instead of the - input that was shown on top. :xeye:

mike
FastEddy
" ... saw the + on the bottom of the input amps and my brain ran that to ground instead of the - input that was shown on top. ..."

mmm ... I've done that more and more of late myself ... now where did I put my reading glasses ?

Seriously, having that positive input on the bottom is an old habit ... I did it as I'm used to having any feedback loop pictured on top, thus a simpler drawing to have the negative input above as well ... at least that's my excuse.

Any of these types of mistaken ID in any meatspace feedback discourse like this blog are what often results in corrections to errors later on = requiring a "re-think" of the whole circuit just to be sure ... ;)
AndrewT
quote:
a summing network effects the feedback loop in an inverting op-amp.
that is exactly why the inverting mode is used as an adder/summer.
The ratio of the feedback resistors sets the gain FROM EACH INPUT. Gain of channel1 input=Rfb/Rin1 and gain of channel2 input=Rfb/Rin2
The output from the inverting opamp is Vo =[V1*Rfb/Rin1+V2*Rfb/Rin2] = Rfb*[V1/Rin1 + V2/Rin2]

Now here is the bit I am guessing at.
Look at the MFB and you will see the same Rfb resistor as the global feedback from output back to the first junction point. The input resistor (Rin) is the first gain setting resistor. This part of the MFB is IDENTICAL to an inverting opamp. I know that these two resistors (Rin & Rfb) set the gain of the MFB independently of the Q & F settings. I guess that makes the first junction the virtual ground rather than the -ve input pin which in this respect makes it different from a standard inverting adder opamp. If this is correct then inserting two input resistors provides two inputs to the supposed virtual ground and the following MFB part then adds and filters in one opamp stage.
I think you will find it fruitful to plugboard this before doing any of your other layouts.
FastEddy
Andrew_T: ... Yikes, I had it all backwards ... thanks for straightening this out. (Some of this is coming back to me now.)

" ... Vo =[V1*Rfb/Rin1+V2*Rfb/Rin2] = Rfb*[V1/Rin1 + V2/Rin2] ..." = summing amp only, yes?

:smash: ... spelling corrections still needed
AndrewT
Hi,
what is the output impedance of the tube pre?
If it's low enough you can remove the two buffers and feed straight into the two Rin.
Remember to adjust Rin to take account of Rs.

That third opamp could still become a two pole MFB filter instead of just a single pole.
FastEddy
BottleHead Tube Pre-amp is apparently around 470K Ohms output impedence ~~ 11X larger than the 33K summing input resistance. ... but I would hope that the circuit would be available for alternate pre-amps as I am mixing and matching all the time, trying different combinations of pre-amps and amps. (Shortly the BottleHead will be serving duty as input switching & level control of OppoDigital.com 981 DVD-A / SACD player, old NAD digital FM tuner and BottleHead Seduction phono pre-amp, but I have plans for a DAC (a DIY project) from computer / media server and several other source devices, some tube type, some not ... )

" ... third opamp could still become a two pole MFB filter instead of just a single pole. ..."

Got a sketch ?? By MFB do you mean passive on the third op-amp output or "active" within the feedback loop?? ... :confused: ... Thanks so much
richie00boy
No Andrew I was saying Eddy's original circuit wouldn't work. Maybe that was too harsh. You can passive sum, but you need to add source resistance and expect some loss at the summing junction, and the possibility of interaction between the two (or more) input sources. IMO just not worth it when virtual earth summing is so much better and would only take one op-amp more.
AndrewT
quote:
BottleHead Tube Pre-amp is apparently around 470K Ohms output impedence
no, it's not.
FastEddy
Well, not having measured it you may be right. But the diagram in the assembly manual shows a 470K resistor across the output connectors' to signal ground (RCA), with a 2.2 uF cap for blocking DC behind it (and that's what I installed) ... :confused:

Granted when connected to the above diagram, 470K in parallel with the 33K input of the op-amp would indicate ~ 30K overall impedence ... No? (The manual also indicates the expected load is to be a tube amp with approximately a 30K ohm input impedence.)
bjorno
post #6
quote:
I had hoped as well that someone would verify my calculations and configuration for the 1st order low pass filter in the op-amp negative feedback loop

See the simulation.

b
bjorno
and this:
FastEddy
Thanks bjorno ... obviously I should not have the low pass in the feedback loop = silly me.

Probably just have to go with a passive filter between the summing op-amp and the input of the input of the power amp. ... Oh well, the best laid plans, etc ... :rolleyes:

New drawing to follow ... after I read up in an op-amp cookbook ...
bjorno
quote:
...Probably just have to go with a passive filter...

Why?

A friend of mine asked me to design a filter a while ago...

b

1(4)
bjorno
2(4)
bjorno
3(4)
bjorno
4(4)
AndrewT
Hi Bjorno,
the 5534 shown is not unity gain without compensation.

When compensated it's performance is much worse, than gain>5, and can be bettered by many other unity gain opamps.
Any other suggestions for each location?
bjorno
quote:
the 5534 shown is not unity gain without compensation.

Hi Andrew,

Correct, Thank you Andrew for observing the 5534:s are not unity gain stable and a mistake to use for the followers.

The sub circuit models where put together in an old Electronic Workbench program with different opamps for each module but the global setting changed all to 5534 for unknown reason.

E.g. the original phase control used TL072 and the unity gain buffers where all LM833.

I’ve changed all to LM833. See the plot result.

Any low noise unity gain stable op-amp can be used as the signals are at line levels and not critical at all, my friend will use the OPA2134 for all.

b
FastEddy
Thanks guys for all the help with this ...

Anyway, this should get a whole lot closer to a do-able circuit without too many op-amps. (Note input polarity on each op-amp ...)

:smash:
jmateus
I've been looking forward to build a similar circuit but with discrete
components, transistors. I don't really like the sound of IC's so I'm
asking...
Even the best IC's available now have this veiled sound that gives
me this unpleasant characteristic.
In the past there were several designs with transistors, actually
they must be easy to design even though I don't know how to.
Emitter followers all through. Anybody?
Thanks
FastEddy
" ... Even the best IC's available now have this veiled sound that gives me this unpleasant characteristic. ..."

You are not completely alone in these feelings ... the new AussieAmplifiers.com "Synergy" series of modular MOSFET amplifiers are made completely discrete FET transistors ... and this is apparently what their quite selective customers want. I use these amp modules and have no complaints, "golden ear" audio wise ... as voltage followers with gain from a tube pre-amp = :D ...

... But I'm not prepred to design a complete "summing" pre-amp with low pass filter of discrete transistors as yet.
4fun
quote:
Emitter followers all through. Anybody?

Hi,
Take a look at this:
http://www.lcaudio.com/index.php?page=13
(scroll down the page)
juergenk
quote:
" ... Even the best IC's available now have this veiled sound that gives me this unpleasant characteristic. ..."
is it still about subwoofers? The type of amplifier shouldn't matter.
regards
FastEddy
4fun: " ... http://www.lcaudio.com/index.php?page=13 ..."

Wow, thanks a bunch. From this online calculator I see the that caps and resistors (C1 & R1 in my drawing) may be way outta whack ... should be more like 45 nF and 22K Ohms for corner freq of ~ 150 Htz. ... No?

juergenk: " ... is it still about subwoofers? The type of amplifier shouldn't matter. ..."

Yes. (in the linked excercise above I only inserted the target low pass freq. and ignored the high pass circuit results = C103 & C104 = 45 nF + the 22K resistors. ... maybe)

And yes, the output amp does not really matter. The one used is simply for illustration as it has a 1.0 uF DC blocking cap on the amp module board and has an input impedence of 33.2K Ohms (from board specs and confirmed on the backside of the cap) ... Of course just about any power amp is possible here and I would hope that the eventual circuit would work with any sub woofer amp that has similar characteristics ... (This is looking more and more like an exercise that has been undertaken many times before.) Purpose = learn and build a single channel sub woofer from both left and right sources = :smash:
bjorno
quote:
is it still about subwoofers? The type of amplifier shouldn't matter

Agree 100%.

FastEddy,

There is no electric or psycho acoustic quality that is improved with your circuit compared with standard virtual earth mixing and by using Sallen & Key filters when using todays standard low noise opamps though its possible to make your ever changing trial circuit work only if the right components are used.

b

1(1)
FastEddy
borjno & 4fun: Your clarifications are really appreciated. And thanks for going to all this trouble.

I see that borjo treated the output amp as a simple load of 1uF capacitor & 33K Ohm resistor = which clarifies my drawing significantly. Are these cap. values closer to the corner freq of 150 Htz.? ... New drawing ... :smash:

(Should the test points for the graph generation be at the output of either left or right channel ?? ... or do the op-amps have an effect on the software calculations?)
bjorno
quote:
…Are these cap. values closer to the corner freq of 150 Htz.?…

No, The 1uF capacitor & the 33K Ohm affect only the lower FR corner.
quote:
…or do the op-amps have an effect on the software calculations?…

No, Any opamp will do a good job due to the very low bandwidth requirements for the bass filter and because of operating at line levels.

b
FastEddy
" ... Any opamp will do a good job due to the very low bandwidth requirements for the bass filter ..."

Now that's a nice looking response curve = 5 Htz to 150 Htz Low Pass Filter. I notice that you swapped the caps and resistors (again) ... assuming you are trying to "optimize" the curve and commonality of parts (10K and 20K being more readily available ... 22K = not). I also notice that you changed the pot to a 10K (??).

Any further suggestions in this regard would be welcome. I planned on using:

-Single sided board with a common star ground point.
-Single channel 8 pin DIP chips - 3 places.
-Provisions for multiple bypass caps = 47 uF electro & 100nF plastic, rail(s) to local ground
-Provisions for diode clamps on the inputs (limiting input to the rail voltage) ... & ...
-Provisions for a DC blocking cap of 2.2 uF (plastic) ... for my purposes, there would be a jumper instead of a cap. (see attached example below)
-Board mounted dual RCA connectors at input and single at output (I found some nice gold plated ones)
-Extra connect points for adding and changing caps to modify the curve within certain ranges.
-- R1 = 20K Ohms / film = 2 places
-- R2 = 10K Ohms / film = 1 place
-- RV = 10K to 100K Ohm Potentiameter / linear taper 5 or 10 turn = 1 place
-- C1 = 75 nF plastic = 1 place
-- C2 = 150 nF plastic = 1 place

(I'll be posting the PSU diagrams shortly.)

I don't know about everyone else, but my wife won't allow multiple, large sub woofer thumper boxes in the listening area = too many boxes, to much equipment, etc. ... thus the whole purpose of this excercise ... and I am somewhat of an opinion that too many sub woofers can muddy up the bass line ... :smash:

(I had thought of using these same boards for XLR balanced to coaxial unbalanced connection (a balanced to unbalanced line receiver) as well (attached below) ... but that may be asking for a whole lot of extra board holes ... not really wanting a "swiss army knife" type project.)
FastEddy
Update to diagram. Changes to resistors and capacitors values to reflect bjorno's work with the software analysis. Input to power rail clamping diodes added to protect the op-amps. +/- 15 VDC power connections to the op-amps not shown. All ground connections shown share a common connection in "star" configuration on this board. Note that a BottleHead tube pre-amp will be driving this circuit and it already has a DC blocking capacitor in its output, so the op-amps can "float" around their common ground without the need of any offset / DC balance circuit.

(I may use OPA 827 dual channel op-amps, three channels for the summing / low pass circuit and one attached ahead of the pot to drive a couple of LEDs to indicate any clipping and for threshold / "power on".)

Summing and filter board: http://www.diyaudio.com/forums/show...532#post1184532

PSU board: http://www.diyaudio.com/forums/show...803#post1190803
FastEddy
Oops ... the above diagram should be replaced with this one:

(Clamp diodes connected to +/- power rails, not to signal or power ground.)

Page generated in 0.10610890388489 seconds with 17 queries,
spending 0.01307416 doing MySQL queries and 0.09303474 doing PHP things.

Powered by: Search Engine Indexer and vBulletin
Copyright ©1999-2008 diyAudio.com

Please support our sponsor.