Go Back   Home > Forums > Amplifiers > Chip Amps
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

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
Reply
 
Thread Tools Search this Thread
Old 2nd December 2010, 09:06 PM   #1
diyAudio Member
 
Join Date: Nov 2010
Default lm386 oscillation

hey guys
i built myself an amplifier for a speaker (4ohms, 5 watts) using LM386, according to the schematic in the datasheet (attached to post), with gain 20.the problem is that as soon as i turn it on, it oscillates.when the input pot is at the lowest level, i can just hear the music playing on the speaker (using ipod for signal into amplifier).it oscillates all the way to max volume through pot on the amplifier.also, inplace of the 0.05microfarad cap, i used a .1microfarad cap as it wasnt available.rest of the circuit is same.

i even changed the gain to 200, connecting a cap between pin 1 and 8, and then adding a bypass cap between pin 7 and ground, intrestingly, the pot, when moved by a very small amount, doesnt produce oscillations now.above the certain value, again oscillations.

i think its a problem of grounding.as in the gain 20 mode, it stops oscillation when i touch come of the wires, but once i move the pot's control, oscillation starts again.

please help guys.
Attached Images
File Type: gif amp.gif (15.5 KB, 155 views)
  Reply With Quote
Old 2nd December 2010, 09:43 PM   #2
godfrey is offline godfrey  South Africa
diyAudio Member
 
Join Date: Nov 2009
Location: Cape Town
Hi
It could be a layout/wiring problem. Ideally the loudspeaker wires should be twisted together, the power supply wires should be twisted together, the input signal should use screened cable, and the loudspeaker wires should be kept away from the input signal wiring.

It might also help to have a capacitor between pins 4 and 6 close to the chip, to decouple the supply rail to ground.

btw: Using 0.1uF instead of 0.05uF is fine.

I assume it's RF oscillation, or is it audible?
What sort of power supply are you using, and how is it built - PCB or point-to point wiring or...?

Cheers - Godfrey
  Reply With Quote
Old 2nd December 2010, 09:51 PM   #3
diyAudio Member
 
leadbelly's Avatar
 
Join Date: Dec 2002
Location: Calgary, Alberta
Could be wiper lift. I would try a high value resistor from pin 3 to ground.
__________________
Aerodynamics are for people who can't build engines. Enzo Ferrari
  Reply With Quote
Old 2nd December 2010, 10:11 PM   #4
godfrey is offline godfrey  South Africa
diyAudio Member
 
Join Date: Nov 2009
Location: Cape Town
Quote:
Originally Posted by leadbelly View Post
Could be wiper lift. I would try a high value resistor from pin 3 to ground.
The chip's got one built-in (50K) - it's pretty stupid-proof re biasing.
  Reply With Quote
Old 2nd December 2010, 11:31 PM   #5
macboy is offline macboy  Canada
diyAudio Member
 
Join Date: Oct 2003
Location: Ottawa, Canada
Do you have a power supply decoupling cap between V+ and GND? You need one, but it isn't shown in the schematic.
  Reply With Quote
Old 3rd December 2010, 05:47 AM   #6
diyAudio Member
 
Join Date: Nov 2010
Thanx everyone for the replies.also, i'd try the twisted wire thng.the amp is picking up noise frm my cellphone.also,in my circuit,i had a particular place for grounding connections (its a conducting strip on the board), but the connections are at the opposite ends.can it create problems?also, do capacitor and resistor legs protruding out need to b chipped off?and wht shud be the reading of the decoupling cap between V+ & ground?electrolytic or ceramic?also, please indicate al the places in the circut where these caps are necessary.

Hey Godfrey,
its not a PCB.and the power supply is 9VDC Battery. Also, what should be the value of cap between pin 6 and 4?my layout isnt very planned and clean is a fact tht is very true.thanx.

Last edited by noobman92; 3rd December 2010 at 05:55 AM.
  Reply With Quote
Old 3rd December 2010, 08:29 AM   #7
diyAudio Member
 
Join Date: Nov 2010
hi everyone
putting a 0.1 microfarad cap between the V+ and ground worked a charm.but then there's a lot of distortion.maybe my speaker is not able to take the gain well (4ohms 5 watt).what say guys?am i right? my amp gain is 20.
thanx
  Reply With Quote
Old 3rd December 2010, 10:29 AM   #8
AndrewT is offline AndrewT  Scotland
diyAudio Member
 
Join Date: Jul 2004
Location: Scottish Borders
Hi,
distortion due to overloading the amp with too much signal and too low an output impedance.

Look at the datasheet. This amp is specified as typical 700mW into 8r0 @ 10% distortion.
__________________
regards Andrew T.
  Reply With Quote
Old 3rd December 2010, 02:16 PM   #9
Bonsai is offline Bonsai  Taiwan
diyAudio Member
 
Join Date: Aug 2006
Location: Taipei, Taiwan
noobman92, I have some questions
1. How do you know its oscillating? can you tell us what you here as you rotate the volule pot from min to max
2. can you post a photograph of your wiring and contruction?
__________________
bonsai
http://www.hifisonix.com/
  Reply With Quote
Old 3rd December 2010, 03:16 PM   #10
diyAudio Member
 
imfree707's Avatar
 
Join Date: Oct 2010
Location: Tenn Loop Ranch, Lebanon, Tn.
Send a message via Yahoo to imfree707
Default Watch Your Gain

The LM386 has been out of production for many years, most likely because of oscillation issues. The TDA2003 is a good, cost effective, replacement. I've had many LM386's self-destruct on me, as their overcurrent and overtemp protection systems will not stop oscillation. Many people run these amplifiers above the maximum guaranteed stable gain of V X 10 and oscillation inevitably results. Place an op amp ahead of the LM386 if voltage gain above 10 is needed.
__________________
A stiff power supply in a great-sounding amp is always better for you than a stiff drink.
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lm386 frenchie29 Chip Amps 10 27th April 2009 09:32 PM
LM386 Oscillation kucharcity Chip Amps 5 20th September 2008 06:45 PM
Parallel lm386 joecool85 Chip Amps 10 2nd March 2006 12:01 AM


New To Site? Need Help?

All times are GMT. The time now is 04:08 AM.

Page generated in 0.09594 seconds (80.59% PHP - 19.41% MySQL) with 11 queries

Copyright ©1999-2012 diyAudio