|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Chip Amps Amplifiers based on integrated circuits |
|
Please consider donating to help us continue to serve you.
Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving |
|
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
Join Date: Jun 2009
|
Hi All,
I'm building a little theremin/synth thingy as a present for my sister, who's a musician. For the I/O and tone generation, I'm using an Arduino microcontroller, and for the audio output I'm using an LM386 amplifier and a little 8ohm speaker I pulled out of a clock radio. I'm not expecting awesome audio quality out of this setup, but I've got this odd resonance thing happening when I connect the speaker. Here's a picture of the trace on my oscilloscope without the speaker connected: Looks exactly like the intended waveform. But, once I connect the speaker to the amp, I get this: That fuzzyness on the bottom of the waveform is audible as a high pitched tone. I'd like to get rid of it, if possible. I'm using the example circuit in the datasheet, with the addition of a low-pass filter before the circuit to get rid of the pin noise from the microcontroller. For convenience, here it is: Any help is greatly appreciated, sorry if this is a common question but I don't know what it's called so I don't know what to search for. Thanks! |
|
|
|
|
#3 |
|
diyAudio Member
|
What about the bypass pin (7)?
Take a look at application notes. I know you can skip it, but i'm not sure what effect that has. Also -- bypass the shi-dookie out of the supply; maybe 1000uf or more, plus small ceramic for HF bypass. Might help |
|
|
|
|
#4 |
|
diyAudio Member
Join Date: Jun 2009
|
I tried putting a bypass cap on pin 7 to ground, with a variety of small values-- 2.2uF, 10uF, 33uF with no effect.
I've currently got the power supply bypassed with a 4000uF cap, and I also added a .1uF ceramic bypass, with no effect. I don't think it's a power supply problem, because when the amp is just idling, there's <10mV ripple voltage coming through the audio. I did notice one thing: when I sweep it through frequency, the bounce or fuzz or whatever is minimal around 250Hz, and increases as I change the frequency away from 250Hz. Thanks for your help so far, I am ??? |
|
|
|
|
#5 |
|
diyAudio Member
Join Date: Mar 2007
Location: Canandaigua, NY USA
|
The LM386 is famous for this sort of thing. If you can use one of the newer IC power amps, you'll find it far easier. Layout is critical- any path from output to input will cause oscillation so the 386 is very sensitive to grounding. Single point recommended. Think about how current to the two ground points to the right can cause a voltage rise on the pot and into the positive input. All traces have resistance. I have a whole tube of the silly things and shudder whenever I have to use one.
__________________
I used to be an audiophool like you but then I took an arrow to the knee. |
|
|
|
|
#6 |
|
diyAudio Member
Join Date: Dec 2005
Location: Los Angeles
|
That kind of oscillation is usually related to speaker load inductance and an inadequate output zobel. The original zobel values for this family of amplifiers was .1 uF in series with a 2.7 ohm resistor (as opposed to the .05 uF and 10 ohms shown in the application notes for the LM386). If you mess with these values you may have a fair chance of eliminating the oscillation. Try going up to .1 uF first, if that doesn’t cure it, start lowering the R value in conjunction with the .1 uF cap. Good luck …
|
|
|
|
|
#7 |
|
diyAudio Member
Join Date: Jun 2009
|
Solved!
Putting a .1uF cap + 10ohm resistor across output and ground, instead of the .05uF shown in the schematic cleaned it right up! Oh, it sounds so much better. tytytytytytytytytytyty I'll post back with a link when I finish the project, it's coming together nicely. |
|
|
|
|
#8 |
|
diyAudio Member
Join Date: Jun 2009
|
Hey all,
I finished the project and it came together pretty well: ![]() I did a pretty thorough write-up on my blog if anyone's interested, it might be helpful if you're trying to get a similar project off the ground: http://blog.wingedvictorydesign.com/...l-walkthrough/ Thanks once again for the help! |
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Lm386 | frenchie29 | Chip Amps | 10 | 27th April 2009 10:32 PM |
| Need some help with DAC and LM386 | zhane | Chip Amps | 6 | 21st April 2008 08:38 PM |
| Preamp using LM386 | JordiGPS | Chip Amps | 3 | 3rd January 2008 10:04 PM |
| LM386 RF suppression | DrFrankenstein | Chip Amps | 4 | 4th May 2006 08:43 AM |
| LM386 but on AC? | tubbytwo | Chip Amps | 6 | 29th November 2004 01:38 AM |
| New To Site? | Need Help? |
| Page generated in 0.10983 seconds (77.55% PHP - 22.45% MySQL) with 10 queries |