Thursday, 13 April 2017

audio - How is this preamp design?



I'm trying to design a preamp for this electret mic.


I kind of pieced this schematic up from something I have found on the web.


Schematic


Does that look ok? I'm going to sample the output with an ADC (internal in an MCU), and run an FFT on it.


The opamp is a rail to rail op amp, it doesn't have low voltage offset though, should I care about it? The IC has 4 op amps on it, should I add another stage or two and lower each stage's gain ? Or should I use the rest as active filters ?


Do I need any filtering or anything like that?


What is the best way to set the gain?


I was thinking of using a potentiometer for R7.


Here is an ac analysis from LTspice:


AC Analysis



Here are the LTSpice files for the simulation.



Answer



Generally, okay!




  1. The DC gain of each stage is one, so a few mV of offset voltage is of no importance at all.




  2. The gain seems a bit on the high side unless it's some kind of hidden microphone. Remember that the V/Pa sensitivity is always quoted for RMS 1 volt, and you'll start to get clipping around 3.2V peak-to-peak.





  3. You might want to put an RC filter in the bias circuit of the electret. Something like a few hundred ohms and 100uF to ground.




  4. Pot for R7- fine, you might want to switch it with the series cap and ground the pot, it will work. You could use something like a 100K rheostat-connected-pot with a 4.7K in series. A log 'A' taper (volume control) pot connected as a divider between the two stages would be better. You'd have to do something like AC-couple the wiper to the second stage with a resistor pair as in the first stage to maintain the bias at 1.65V.




  5. If you're sampling at 50-100kHz you should not need any filtering, otherwise you might want to consider an anti-aliasing low-pass filter with a cutoff below half your sampling frequency.





  6. The LMV324 at least is low voltage and has no crossover distortion but it's pretty noisy. Even with perfect shielding and no power supply noise, I'd expect about 0.25V p-p noise at the ADC input with the given gain, over a 20kHz bandwidth.




Edit: Schematic of capacitively coupled gain pot below. C1 (maybe 100n) is not strictly necessary, but it avoids wasting DC current in the pot. C2 could be 33n as in the input coupling.


schematic


simulate this circuit – Schematic created using CircuitLab


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...