Author Topic: “Adding” 4 audio signals?  (Read 800 times)

0 Members and 1 Guest are viewing this topic.

Offline 240RSTopic starter

  • Regular Contributor
  • *
  • Posts: 82
  • Country: fr
“Adding” 4 audio signals?
« on: December 20, 2021, 11:00:55 am »
I have 4 microphones with 4 audio signals that I expect to sum op to zero. Ultimately I want to detect whether the sum of the signals is below a threshold.

I ran a test with two signals of which I inverted one. I fed those into an opamp and was very pleased to get the difference (which is the sum in reality). Believing I had found the way. But then got stuck extending that idea to 4 signals.

Which made me wonder: is there a standard way to add two and more signals? My signals are between -1 and 1V, 40 to around 1kHz.

Thanks!!
 

Offline Berni

  • Super Contributor
  • ***
  • Posts: 4957
  • Country: si
Re: “Adding” 4 audio signals?
« Reply #1 on: December 20, 2021, 11:16:28 am »
https://www.google.com/search?q=op+amp+sum

Works for any number of inputs, just add resistors.
 

Offline Jan Audio

  • Frequent Contributor
  • **
  • Posts: 820
  • Country: nl
Re: “Adding” 4 audio signals?
« Reply #2 on: December 20, 2021, 03:42:14 pm »
You wanto hear the audio ?,
then you need to use half the volume when mixing more harmonics.
You only detect the volume ?, then distortion dont matters, go to the limits.
 

Offline Terry Bites

  • Super Contributor
  • ***
  • Posts: 2397
  • Country: gb
  • Recovering Electrical Engineer
Re: “Adding” 4 audio signals?
« Reply #3 on: December 20, 2021, 04:46:41 pm »
https://www.electronics-tutorials.ws/opamp/opamp_4.html

For least phase error use DC coupling where possible. The majority of modern opamps won't work as comparators. A TL07x?
Between the summer and the comparator you are going to need to turn the signal to DC. The Simplified Peak Reading Detector is the thing https://sound-au.com/appnotes/an012.htm
 

Offline 240RSTopic starter

  • Regular Contributor
  • *
  • Posts: 82
  • Country: fr
Re: “Adding” 4 audio signals?
« Reply #4 on: December 20, 2021, 07:09:36 pm »
Wow! Why had I missed that basic circuit. Thanks! And issue more than solved. No more inverting.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf