open-headset-interconnect-standard / ohis

An open standard for a common interconnect between headsets and radios.
Other
27 stars 5 forks source link

Research proper Electret mic driving requirements #6

Closed SmittyHalibut closed 1 year ago

SmittyHalibut commented 1 year ago

5vDC Bias through 2.2k is WAY TOO HOT for every radio I've used it on. Below is an example of what I measured by another radio.

With the FHM-3 hand-mic plugged in, the Flex 6400 has 1.8vDC at the Mic connector port.

Internally, the Mic+ goes through R1, a 2k series resistor, then branches two directions:

  1. Mic: The electret mic element, and a small chip capacitor (unknown value, but probably very small), are in parallel to the Mic- pin.
  2. Power filter: A .33uF electrolytic capo, and R2, another 2k resistor, in parallel, to Ground. (separate from Mic-).

The DC voltage across R1 is 1.10v (0.55mA), and the DC voltage across R2 is 0.70v (0.35mA). This means there's .20mA across the sum of leakage current on the caps, and through the electret mic element.

I don't know what the internal-to-the-Flex resistance and supply voltage are, but given the 0.55mA total current measured above, these are the common combinations that would work:

Wait a sec, the "way too hot" here is the headset mic going straight into the Flex. This isn't my Electret driving circuit. I'm still filing this ticket to document the above stuff about the FHM-3.

SmittyHalibut commented 1 year ago

Oh, look at this:

https://edge.flexradio.com/www/uploads/20200818185014/FLEX-6400M-and-FLEX-6600M-User-Guide-v3.x.pdf#%5B%7B%22num%22%3A92%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22XYZ%22%7D%2C69%2C496%2C0%5D

aka: https://www.flexradio.com/documentation/flex-6400m-and-flex-6600m-user-guide-pdf/ Page 32

image

Looks like it's a 3.0v and 2.1k. Which matches my measurements above, pretty closely at least. 3-1.8v = 1.2v/.00055A = 2.181k. Close enough for me.

SmittyHalibut commented 1 year ago

http://mynixworld.info/2017/09/01/simple-electret-microphone-circuit/

Looks like the goal is: 2v across the Electret, .5mA through it. R = (V_cc-2v)/0.55mA

SmittyHalibut commented 1 year ago

2v across the Electret, .5mA through it, gives:

TODO

SmittyHalibut commented 1 year ago

Putting these notes here for lack of a better place to put them:

http://www.uneeda-audio.com/pads/

Shows how to pad an electret down to dynamic level. Specifically:

SmittyHalibut commented 1 year ago

That didn't work. The 100R shunt across the output just loaded something too much and the output was low and distorted. I think we need to trim first, then buffer (again).

SmittyHalibut commented 1 year ago

OR, and here me out here, a 100R shunt resistor on an electret circuit just pulls too much DC. If I put a DC blocking cap in series with it, it'll not pull the DC too low, but will still attenuate the AC.

Problem is, 100R needs 100uF to pass 16Hz. This is effectively a high pass filter, because whatever we don't shunt will get less attenuation and appear louder at the mic input to the radio. So if this shunt cap is too small, we'll be sending too much rumble to the input. So we have to be careful here.

SmittyHalibut commented 1 year ago

Testing shows a 47uF electrolytic cap in series with a 1k trim pot configured as an adjustable resistor, across the OHIS Mic+ and MicGnd, will attenuate a signal, of both the electret mic element I tried (CTIA headset), and the 5 component dynamic mic amp (with Heil Pro 7 mic element). The cap blocks DC and only attenuates audio. The adjustable resistance creates a voltage divider with the source impedance of the electret mic/mic amp output.

So, the simple case of an adjustable User device is the bypassable mic amp, with the 47uF/1k pot across the output. I think I like this design.

SmittyHalibut commented 1 year ago

Ok. Summary of what we have here:

Works with dynamic mic preamp, as documented here: https://github.com/Halibut-Electronics/Open-Headset-Interconnect-Standard/issues/3

From a standards point of view, I think the critical numbers are the -42dBV to -48dBV, and the resultant 11.3mV and 5.6mV peak values. In addition to the Mic Preamp in https://github.com/Halibut-Electronics/Open-Headset-Interconnect-Standard/issues/3, the standard should include a VU meter design: image

Specifically, the voltage divider ladder values.

Ok. I think that's the summary of everything I've learned about Electrets. This will need to get put in the OHIS standard doc. See https://github.com/Halibut-Electronics/Open-Headset-Interconnect-Standard/issues/10

Resolving.