0
\$\begingroup\$

I'm very new to audio circuits but for the sake of curiosity I want to simulate an approximate version of a circuit of an audio input along with a smartphone pre-amp stage in LTspice. I will have five short questions here since they are all related. But before I want to explain where I am at the moment.

I read some articles and questions including this site and found the following nice pre-amplifier: enter image description here

Regarding the above topology and from some readings if I'm not wrong I came to the following conclusions:

-The audio port is AC coupled(DC will get blocked and one cannot directly measure DC voltage) and bandwidth is set for the frequency range of a human ear 20Hz to 20kHz.

-The audio signals are in mV levels. If one will apply voltage signal to the mic input it is better to use a diode to limit the input signal to the audio port.

-To use with a single supply the signal is level shifted by a constant bias voltage. In the above schematic R1 and R2 sets that bias, so the audio voltage oscillates/vibrates around that reference DC voltage.

Now after these basic information and following the above pre-amp topology, I want to draw an approximate circuit for a smartphone preamplifier.

Smartphones have TRRS jack. Normally I guess when plugged in, the smartphone's electret microphone's positive end is connected to the mic input of the TRRS jack and the other end is connected to the ground. So when one speaks the electret mic's mechanical movement creates some mV level audio vibrations around the bias DC point of the opamp.

Question:

So imagine the following are given:

-The input impedance of the mic input of the smartphone is 1k.

-The DC blocking capacitor is set for a cut off freq.: 20Hz.

This is my attempt to model an approximate pre-amp: enter image description here

This time instead of a elect mic a mV level signal is applied direct to the mic input. Imagine the output impedance of the signal generator is zero.

1-) In this case I removed R5 of the previous circuit. I dont know what is the purpose of that(?).

2-) If the input impedance is given as 1k, does that mean R2=1k or like in my circuit R1//R2 = 1k? And how would the output impedance of signal generator or the circuit of the input signal would effect this? Im asking because if the input impedance of the mic input is 1k, what should be the output impedance of the signal input?

3-) How could be the blocking capacitor selected. R1//R2 = 1k and I found for an fc at 5Hz the C1=10u. Is that correct? How would you size it?

4-) The output to the ADC is still swinging from positive to negative. But isn't it still problem for a single supply system? How will ADC take care of negative voltages?

5-) Some smartphone applications show the dB level of the mic audio input. How do they calculate that in relation to the input mV level voltage signal. Lets say the input is 10mV peak to peak. How is that converted to dB in audio engineering? Whats the reference?

Edit: Regarding the second question:

Imagine I have a 1V amplitude i.e. 2V pk-pk 500Hz sinusoidal signal. And my aim is to replicate/scale it as a 500Hz 20mV pk-pk i.e. 10mV sinusoidal audio signal and send upon the bias point input of the pre-amp.

So if I was naive I would think I need a 99k 1k voltage divider as follows:enter image description here

And when plugged in it would look like this:enter image description here

But as I figured out following the answers, now the input impedance will be:

(R3//R4)+(R1//R2) = 2k instead of 1k.

What is the new input impedance here?

So I will now have 10mV pk-pk instead of 20mV pk-pk right?

*This wouldn't affect things if I only send binary input to the mic. But if it were any signal wouldn't this affect the filter's cut off freq. besides the attenuation? Does that mean the output impedance of the audio signal generator should be zero. Should one use a buffer for that?

\$\endgroup\$
2
  • \$\begingroup\$ Given 0v/+5v to LM358, the Vout can only swing at most 0/+5v. Your C2 10uF DC block converts that to +-2.5v. Remove C2, if you want 0/5 to drive ADC. Some ADCs, given only 0/+5 power, handle +-Vin; read the datasheet. Purpose of R5 is drain off static charge, otherwise VInpin charges to +2.5v and causes large "thump" when cable is connected. Formula for low-pass-filter (DC blocking) is given below.. \$\endgroup\$ May 25, 2017 at 16:54
  • \$\begingroup\$ The output of an electret mic looks like a modulated current source, R5 bias the mic \$\endgroup\$
    – sstobbe
    May 25, 2017 at 16:58

2 Answers 2

1
\$\begingroup\$

Resistors to right of Cap are in parallel. Resistor(s) to left of Cap are in parallel. Effective Reff is Rleft + Rright.

Radian Freq of RC LPF is 1/Reff*C.

Hertzian Frequency is 1/(2*piReffC)

schematic

simulate this circuit – Schematic created using CircuitLab

\$\endgroup\$
4
  • \$\begingroup\$ Mathematically speaking do you mean the total input impedance is now R3//(R1//R2)+R4 OR R3 + (R1//R2//R4) ?? \$\endgroup\$
    – user16307
    May 25, 2017 at 18:25
  • \$\begingroup\$ R3 + R1||R2||R4 is the resistance to use in computing the F3dB of your DC_blocking Low Pass Filter. \$\endgroup\$ May 26, 2017 at 2:37
  • \$\begingroup\$ I see. Do you have an idea why R4 also is in parallel instead it has no effect? Isn't it coupled to the opamp's input? \$\endgroup\$
    – user16307
    May 26, 2017 at 2:42
  • \$\begingroup\$ I added R4 just to provide an Rin of the next stage. Could be 10Meg or 100Meg, if stage is non-inverting. \$\endgroup\$ May 26, 2017 at 6:05
0
\$\begingroup\$

1-) In this case I removed R5 of the previous circuit. I dont know what is the purpose of that(?).

R5 was there to bias the electret microphone. As you had it drawn in your simulation it played no role since the output impedance of your signal source is zero.

2-) If the input impedance is given as 1k, does that mean R2=1k or like in my circuit R1//R2 = 1k? And how would the output impedance of signal generator or the circuit of the input signal would effect this? Im asking because if the input impedance of the mic input is 1k, what should be the output impedance of the signal input?

Input impedance = R1//R2 = 1k.

The way this affects the signal generator is by the effect of loading. For example, suppose that your signal generator had a 1k output resistance. Looking into the pre-amp it would also see 1k. Thus, the signal delivered would be halved. You generally want to ensure that the input impedance looking into the pre-amp is "much much larger" than the output impedance of your signal source. A good rule of thumb might be ~at least 10k bigger.

3-) How could be the blocking capacitor selected. R1//R2 = 1k and I found for an fc at 5Hz the C1=10u. Is that correct? How would you size it?

1k and 10u give a cutoff of 16Hz. fc = 1/(2*pi*10u*(R1//R2))

You'd generally choose this to be maybe 10x less than your desired lower cutoff point. It is important to aim a bit lower than your desired lower cutoff frequency because there are other low-frequency roll-offs in the circuit as well. For example C3 causes a low frequency roll off. In the limit at DC its like an open-circuit and the amp becomes like a unity gain follower. So to avoid these two ""poles"" having an effect which adds together, at least one of them should be made much less than the desired roll-off.

4-) The output to the ADC is still swinging from positive to negative. But isn't it still problem for a single supply system? How will ADC take care of negative voltages?

Impossible to say without having more information about the ADC.

5-) Some smartphone applications show the dB level of the mic audio input. How do they calculate that in relation to the input mV level voltage signal. Lets say the input is 10mV peak to peak. How is that converted to dB in audio engineering? Whats the reference?

I'm not familiar with these applications, post an example maybe.

\$\endgroup\$
1
  • \$\begingroup\$ Thanks for the answers. Please see my edit. I would like to have your opinion. \$\endgroup\$
    – user16307
    May 25, 2017 at 18:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.