Audio noise with MIC

Thread Starter

Azusau

Joined Mar 28, 2021
3
hi,
I had try to use LM358 and TDA2822 to finish a audio circuit that shown as below.
DSC_0067.JPG
Now, here is a trouble that a lot of noise when I using MIC input audio signal, but it looks normal work when I using my cellphone input audio signal.
there are two videos show the two condition.
Audio signal from MIC
Audio signal from cellphone
and datasheet
Datasheet of MIC

Help me to solve the trouble of noise, please, thank you very much.
 

AlbertHall

Joined Jun 4, 2014
12,345
Any noise on the 5V supply is going to go into the amplifier input when using the microphone. The phone output will be low impedance and will effectively short out that noise whne the input comes from the phone.
You will need to filter the 5V supply.
Is that supply a switch mode version? If so you might try the circuit using a battery supply. If the sound is good with a battery supply then that is definitely the cause.
 

Audioguru again

Joined Oct 21, 2019
6,674
Nobody makes a TPA2822, maybe it is a TDA2822?

Your R1 (2.2k) is too low and reduces the mic output. Use 5.6k with your 5V supply.

It is obvious that the microphone can hear sounds from the nearby speaker and the sound goes around and around called acoustical feedback squealing. Your voltage gain is 5.6 x 5.6 x 100= 3136 times! My sound level Indicator project (like a VU meter) shows a whisper in the next room with a gain of 1820 times.

Also, your R1 feeds any sounds on the 5V supply to the input of the circuit and if it is a 5V phone "charger" then it might produce the high audio frequency you hear.

The lousy old LM358 is NEVER used for audio because it is very noisy (hiss), it produces crossover distortion and has a low slew rate so it has trouble above a few kHz. Use a single low noise audio opamp instead like an OPA134.
 

sghioto

Joined Dec 31, 2017
5,380
The LM358 and the mic element are not biased correctly plus the gain is too high.
The schematic below shows the modifications that are required for best performance.
Remember the microphone element is polarized and must be installed correctly.
1617066152409.png
 
Last edited:

Audioguru again

Joined Oct 21, 2019
6,674
The LM358 and the mic element are not biased correctly plus the gain is too high.
The schematic below shows the modifications that are required for best performance.
Remember the microphone element is polarized and must be installed correctly.
The values are too high for your 4.7k resistors feeding power to the electret mic. An electret mic draws a maximum current of 0.5mA which would reduce the voltage to 5V - (0.5mA) x 9.4k)= 0.3V but an electret mic needs at least 2.0V.
I did not notice before that the original opamps were biased at 0V causing them to be rectifiers.
 

KeithWalker

Joined Jul 10, 2017
3,063
I have used those same ICs in similar audio circuits with no noise problems. If it really is a problem, the LM358 can be replaced directly with 4558 which is low noise, with no crossover distortion.
I don't see a volume control in the circuit. I think it would more practical with a fairly high gain pre-amp, as in the original circuit but with the 10Kohm resistor on the input to the main amplifier replaced with a 10K volume control. Then the gain could be adjusted to avoid acoustic feedback from the speaker to the mic.
 

MisterBill2

Joined Jan 23, 2018
18,176
Is it noise or just overload distortion? And is the connecting cable shielded? The earphone connection from a cell phone is not at all intended to drive an amplifier. So if it works without problems when using a microphone then the problem is with the connection to the cell phone.
Certainly that amplifier is not "HiFi" but it should work if it is connected correctly.
So please let us know how it is connected. That is where the problem is.
 

Audioguru again

Joined Oct 21, 2019
6,674
The video shows the mic and speaker very close together and a high pitched oscillation (acoustical feedback) is played.
The original schematic shows the opamps biased wrong.
 

Attachments

MisterBill2

Joined Jan 23, 2018
18,176
OK, I got it backwards, not realizing that post #8 was not from the TS. It is indeed astounding that so many do not understand about acoustic feedback oscillation. I am not sure how I got that reversed.
Of course, why would anybody ever have the speaker nxt to the microphone?? That makes no sense at all.. And how is it possible to confuse oscillation with noise?
 

sparky 1

Joined Nov 3, 2018
756
We can learn new tricks of the trade. I think your ears have to be trained to answer why ? That needs a demonstration.
So you need to compare what sounds good to your ears. I can only guess how that processing works.
My guess is that parts of the speaker and encloure bring out effects so that secondary sound is in the background for depth.
 
Last edited:

Thread Starter

Azusau

Joined Mar 28, 2021
3
Thank you very much! You pointed out key points and gave me many useful suggestions. ex. I ignored the gain of TDA2822.
According to discussion and suggestions, I had modified circuit as below for fix below items
1. UseVR1 and VR2 to adjust and reduce the total gain.
2. Adding R6 to fix the wrong of OPA biased.
Result_0331.png

The test result shown as below video
Result

It is useful for now, but is there any part that needs to be modified?
 
Top