6

I built a simple microphone mute circuit that appears to be pretty common. It mutes the mic without making a popping sound by shorting the connection through a capacitor.

It works pretty well, but if I blow into the mic or tap it hard, it is able to pick that up. I first noticed this when watching audio level meter on my computer. The actual audio that it picks up sounds like high pitch feedback.

Is there any way to eliminate this? I'm planning to control the switch with an arduino, so I will have additional power + logic available if there is a more clever solution.

I am testing with two PC headset microphones. I measured their resistance at ~800ohm and ~1100ohm.

Currently I'm using a 470uf 16v cap and a 10k resistor. I've also tried swapping the cap with: 330uf, 100uf and swapping the 10k resistor with a 100k resistor.

Here is the circuit I am using - just the left diagram (taken from 5v Electret microphone to PC mute switch pop help): Circuit

kr4sh
  • 245
  • 2
  • 8
  • 1
    What type of cap are you using? – BobT Nov 30 '16 at 03:56
  • @BobT Radial aluminum electrolytic. No good? – kr4sh Nov 30 '16 at 05:18
  • Polarized aluminium electrolytic? – winny Dec 05 '16 at 10:21
  • @winny Yes polarized. – kr4sh Dec 08 '16 at 04:12
  • 1
    If you have enough voltage rating on it, it will behave OK in reverse at low voltage levels. Going higher, it will "clamp" the voltage. It's probably not the problem here but please use unpolarized capacitors for your audio/AC circuits to avoid potential issues. – winny Dec 08 '16 at 09:04
  • Thanks @winny. I just tried a bipolar cap, but the result is still the same. Another commenter suggested that a lower ESR cap might help (and it seems to). I tried both polarize + bipolar low ESR caps with the same result. – kr4sh Dec 11 '16 at 01:42
  • Makes sense, but now you have emiminated several potential problems at least. Have you looked at Neutrik silent plug? http://www.neutrik.com/en/audio/plugs-and-jacks/professional-1/4-plugs/silentplug/ – winny Dec 11 '16 at 08:28
  • I think the main problem is that the capacitor is between 10x and 20x too small. A 150 Ohm microphone needs > 2000 uF to do a decent job of muting the signal. – Jon Watte May 27 '21 at 03:48

5 Answers5

4

Check to see if C2 is microphonic by listening while tapping directly on C2. If this is the problem, it can be fixed by replacing C2 with a Mylar capacitor. Ceramic capacitors are often microphonic. I don't expect the aluminum electrolytic to be microphonic, but it is worth checking.

It could be that the effective series resistance (ESR) of C1 is too high. Check for this by adding another 100uF capacitor in parallel with it. If this improves the problem by about 6dB, ESR is probably the root cause.

Good aluminum electrolytic capacitors have a specification for ESR. Typical 100uF capacitor ESR is in the 0.3 to 2 Ohm range, with extremes from 0.07 to 14 Ohms. Choose a 100uF part with an ESR of about 0.08 Ohms to make a better short.

Tom Anderson
  • 1,789
  • 10
  • 10
  • I don't have control over C2 because that is the device that I am plugging the microphone into (my PC in this case). Connecting two 100uf caps in parallel seems to reduce the issue a little. Connecting a single 470uf cap reduces it even more. I have a generic set of caps that I ordered off of amazon a while ago, are they just junky (I can't find the ESR value)? https://www.amazon.com/gp/product/B018SBOTDG/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1 – kr4sh Dec 08 '16 at 04:39
  • Your caps probably have too high ESR. I suggest a better part such as a ESY107M050AG3AA 100µF 50V Radial Aluminum Capacitors 74 mOhm @ 100kHz 3000 Hrs @ 105°C. The higher voltage rating is not needed, but to get lower ESR, use a higher voltage part. This part will wear out eventually, because electrolytic capacitors should operate above 20% of their rated voltage. But, I think low ESR will provide a big improvement. If you can afford it, use a large, expensive 100uF plastic film capacitor, which provides an even better 0.0025 Ohm ESR. These are great parts if you have $20 to $50 to spend. – Tom Anderson Dec 08 '16 at 06:26
  • Is there a cable between the switch and the 0.1uF capacitor? This would help if the click is caused by the microphonics of the 0.1uF capacitor. – Tom Anderson Dec 08 '16 at 06:30
  • Yeah I have like a 6 foot cable between the switch and where it plugs into the PC. I just ordered some low ESR caps. I will see how it impacts the circuit. Thanks for the info. I'll report back after I have tried the new parts. – kr4sh Dec 08 '16 at 16:19
  • I tried a low ESR cap. It definitely works better but unfortunately yelling into the mic or blowing on it still makes it through as a ping noise. I think this is probably the limit of this circuit since it is sort of a hack according to another commenter. – kr4sh Dec 11 '16 at 01:40
  • Upload a sound file if you want more ideas about this circuit. Pop-free audio switching is a hard problem with some exotic solutions. Do you require pop/ping-free operation when the switched is flipped while yelling into the mic, or is it relatively quiet during the switching, and the yelling gets through after switching is complete? If it is noisy during the switching, you might be hearing the bouncing of the switch. – Tom Anderson Dec 11 '16 at 07:30
3

You could also try adding a smaller-value capacitor across (in parallel with) the large 100uF capacitor. That would better attenuate high frequency sound that was still leaking through.

It is impossible to imagine that "blow into the mic or tap it hard" could "sound like high pitch feedback". You may not be using the terminology in the common meanings. An audio sample is worth 1000 words.

Richard Crowley
  • 14,382
  • 2
  • 20
  • 37
  • I tried adding a 22uf cap in parallel with the 100uf cap, but it didn't seem to make a difference. If I use a 470uf cap instead of the 100uf it seems to perform a little better, but it still picks up some audio if I blow into the mic. Feedback is probably the wrong terminology. When I configure my PC to redirect the mic audio directly to my headphones, it sounds like a "ping" sound. When I tried to record it, it ended up sounding like a faint click. Regardless of the actual sound, I wouldn't expect anything to get picked up when in the muted state. Thoughts? – kr4sh Dec 08 '16 at 04:25
  • By "small value" I meant something 0.1uF ~ 1uF. i.e. something to handle those high-frequency remaining transients. To be honest you may never get "perfect" silent muting because your scheme is somewhat of a kludge since you are trying to mute a millivolt AC signal int the presence of several volts of DC (the "plug-in power"). Proper muting would take place AFTER the power and audio signal are "separated". (i.e. AFTER C2) – Richard Crowley Dec 08 '16 at 04:36
  • Ah got it. Sorry. I just tried .1uF and 1uF in parallel with the 100uF. No difference. Dumb question: would it be unreasonable to proxy this by separating the power/audio signal and then recombine them? I'm guessing that is probably beyond my skill level.. just curious. – kr4sh Dec 08 '16 at 04:46
  • The audio and power are separated by C2. If you want to do anything BEFORE C2 then you are in kludge territory with combined audio and power. Is completely noiseless muting REALLY that important??? – Richard Crowley Dec 08 '16 at 04:54
  • I guess I just find it irritating that it doesn't completely mute. I found this circuit referenced in several places, but didn't realize that it was a hack until you said so. Is it unreasonable to move the switch to after C2? Would I then need to build an amplifier circuit to output to a device such as a PC? – kr4sh Dec 08 '16 at 05:13
  • The microphone input on a PC has power and signal combined by definition. It will always be a kludge if you are using the mic input. If you want to implement proper muting externally, then do it at line-level and send audio into the line-level (lime green) input of the computer. – Richard Crowley Dec 08 '16 at 05:19
1

The problem with your circuit is that your mic is still connected when you activate the SPST switch.
The circuit you copied this from has a slider DPDT switch that disconnects the mic at the same time that it connects the cap and resistor across the input to the amp.

Use a DPDT switch and connect the common contacts to the plug, the NO to the cap and resistor, and the NC to the mic. The 100uf and 100k should work fine.

Guill
  • 2,430
  • 10
  • 6
  • This doesn't seem to work properly. Breaking the connection to the mic creates a high pitched ping sound. I tested both parts to this independently before using both together. When the switch is thrown, it shorts the circuit through the cap (this alone is silent). It simultaneously disconnects the mic (this generates a ping sound). Are you 100% sure this should work? – kr4sh Dec 08 '16 at 04:10
  • You MUST NOT disconnect the mic with the switch because then you stop its current which causes a POP sound that the switched capacitor cannot completely mute. People talking about the electrolytic capacitor not having DC across it did not hear that the mic is a powered electret type. – Audioguru Oct 09 '21 at 00:29
0

If you build it into a small box with two Xlr chassis connectors one input the other output. Use a momentary switch for PTT Try Using a BT47 type relay capable of switching audio & telecommunications equipment. Wire a 12v supply to the switch to control the BT47 ..take the Hot wire & Cold wire of your Mic connections coming from your mic via the Xlr input wire the Hot directly to the Relay on one leg and Cold to the other side. Now take the switched output of your Relay wired to your Xlr output. When you push the button you are only switching 12v so should achieve a fast switching PTT without popping or noise. Then the caps etc will really quieten the switch however I found it worked without a cap.

-1

Don't waste your time on this circuit. Best it does is cut the mic volume in half. Just build your self a microphone amplifier with mute button and get done with it or solder in a 50k ohm potentiometer.

Dave
  • 1
  • 1
    Welcome to EE.SE, Dave, but your answer is rather short on details. How would you add the mute button and avoid the pop? Or solder a 50k pot in where? And why a potentiometer? Remember you can [edit] your answer at any time to improve it. – Transistor Oct 08 '21 at 22:00