diyAudio

diyAudio (http://www.diyaudio.com/forums/)
-   Chip Amps (http://www.diyaudio.com/forums/chip-amps/)
-   -   Oscillating with a resistive dummy load (http://www.diyaudio.com/forums/chip-amps/96039-oscillating-resistive-dummy-load.html)

markiemrboo 9th February 2007 11:05 PM

Oscillating with a resistive dummy load
 
After the whole power supply fiasco, I got a couple of 120VA transformers so I could have one regulated supply per channel and a lower voltage preamp supply all working correctlly. Indeed, on the power supply side of things it now outputs the correct voltages.

But, as my luck goes, I have now run in to another issue - oscillation!

The sequence of events:

- Powered on, checked power supply voltages. All OK.

- Connected LM3886 amp boards to power supply, powered on. No input signal (not shorted either). No load. No explosions, and no visible oscillation on the scope. Great stuff!

- Connect input signal. Play some basic test tones + music. No load (dummy or speaker) Seems to be working great. Ignoring my DIY preamp for the moment and using the old Cambridge pre out.

- Connect ancient worthless test speaker. "Dual cone", 4 ohm nominal. Playing music! Leave for ~30 minutes playing music.

- All seems well. Decided I would play a test tone because the bass sounded kind of wrong / distorted at higher volumes. Figured it was probably because it wasn't in an enclosure and it's a bit of a crap speaker, but I was going to look on the scope. Upon turning the volume up, probably about half way....... the distortion I was seeing looked sort of like clipping. I think it may very well have been SPIKE. There was a strange little notch, like the SPIKE picture in the datasheet. Seconds later, the speaker made some fairly horrid noises and went quiet / faint white noise. Oh no....

Quickly turned things off. Lesson #1, use a dummy load :) Not too bothered, it was the test speaker after all, but it might have saved a test speaker.

So, in comes the dummy load to see what's happened. A 3.3R 2W resistor (a tad low I know). Switch on, and I see some quite nasty oscillation. My first real experience with it. It's rather obvious to see on the scope :)

On 2v/div setting it was about 2.. uh...div's, so I assume this means it was 2v in amplitude (or is it really 20v, because it's a 10X probe?). I think it was very likely in the MHz range, as with time/cm set to 1uS I could only barely make out how many times the wave was repeating! Probably somewhere between 10-20 times for the short time I was able to look at it.

Some observations:

- A 330R dummy load doesn't seem to oscillate, or if it is then it's no where near as bad. The amplifier still produces at least sine waves too. The resistor didn't seem to get hot.

- Apparently only oscillates when the input is shorted or has an input connected, even if it's not playing anything. I can use the 3.3R dummy load without an input and it's OK.


I have 100nF bypass caps as close to the chip as possible, and then just after I have 100uF, so I don't believe it is a bypassing issue... though I don't really know how I would check to see if it was.

I tried adding a 470pF cap between the input pins, but this doesn't seem to have helped either.

I have a Zobel on the output at 4.7R / 100nF. The schematic I used has 2.7R / 100nF, but I have seen 10R / 100nF recommended elsewhere so I figured 4.7R is probably even a bit "safer" than 2.7R..

I dont have a LR filter on the output. I will be adding one when I get around to buying some copper winding wire stuff though, if only to stop that damn mobile phone interference!

It seems like it was working fine, and then just suddenly... broke! On both channels... maybe it was oscillating the whole time, but the speaker somehow managed to survive for quite a while before giving up, I don't have another blowupable speaker to tell.


The only thing I can really think of is perhaps something to do with a poor PCB layout (quite likely) or grounding. I'm not sure if grounding could cause oscillation though. Grounding at the moment looks like this:

http://img67.imageshack.us/img67/188...oundingjb4.jpg

Should give a fairly good idea of how lousy I am at grounding :) The only thing that is hard to illustrate in my simplified pictures is that on the PCB the NFB ground is connected to the zobel ground via a thin trace, which is in turn connected to the power ground by a slightly thicker trace. I didn't seem to be getting any humming at all though, so I figured it was actually OK. Would the input ground connected to the Zobel via a thin trace be able to cause oscillation?

Current PCB layout (not sure how helpful this is..):

http://img79.imageshack.us/img79/564...tamppcbht7.jpg

Note I am not running separate wires for SPKR_GND and SIG_GND at the moment. I didn't want to run a huge number of wires about the place really!

I would be very grateful if someone could help me track down what's causing this to oscillate so merrily!

sek 9th February 2007 11:37 PM

Hi,

two things I can see:

#1: Your E$10 (10kOhm) mute pin resistor goes from pin 8 to the mute capacitor C11, but should go to -24V. C11 should go to power ground. It's possible that your amp is steadily muting and unmuting, chopping the signal.

#2: You connected the noninverting input (-) to the NC pin 11. This is no good practice, as National Semi recommends not to connect the NC pins to a low level signal. It's possible that currents in the die feed back into (-) out of phase and cause oscillation.

Both things you could try to change in a jiffy (with an exacto knife, yuck). ;)

Hope this helps,
Sebastian.

markiemrboo 9th February 2007 11:51 PM

Quote:

Originally posted by sek
Hi,



Hi Sek,

Quote:

two things I can see:

#1: Your E$10 (10kOhm) mute pin resistor goes from pin 8 to the mute capacitor C11, but should go to -24V. C11 should go to power ground. It's possible that your amp is steadily muting and unmuting, chopping the signal.
I just checked the datasheet again and you're absolutely right. How I managed that one I don't know! I will attempt to correct this one :)

Thanks very much for pointing that out!

Quote:

#2: You connected the noninverting input (-) to the NC pin 11. This is no good practice, as National Semi recommends not to connect the NC pins to a low level signal. It's possible that currents in the die feed back into (-) out of phase and cause oscillation.

Both things you could try to change in a jiffy (with an exacto knife, yuck). ;)

Hope this helps,
Sebastian.
I cut off all the NC pins at the chip, so it's not really connected to pin 11 :)




EDIT: Removed the mute cap for now, so it's just 10k to -ve rail. Unfortunately the oscillation is still present.

sek 10th February 2007 01:42 AM

Just for the sake of completeness: did you just remove the cap, or did you also bridge it's position? ;)

markiemrboo 10th February 2007 10:49 AM

Quote:

Originally posted by sek
Just for the sake of completeness: did you just remove the cap, or did you also bridge it's position? ;)
Sorrry yes.

To be exact I put the resistor where the cap was, and wire bridged where the resistor was. Why so much hassle? It makes it easier for me to add the cap in the proper position later (between pin 8 and ground, right?)

markiemrboo 10th February 2007 11:27 AM

I might also add that I am not using the feedback cap (470uF) at the moment. There is just a wire jumper here!

Nordic 10th February 2007 12:02 PM

Check the speaker with an ohm meter for damage.. I had a speker, which made me take an amp appart 3 times, before I figured out where the mistake was...

markiemrboo 10th February 2007 12:11 PM

Quote:

Originally posted by Nordic
Check the speaker with an ohm meter for damage.. I had a speker, which made me take an amp appart 3 times, before I figured out where the mistake was...
I don't quite follow. It's definatley something wrong with the amp, it's oscillating with a pure resistive dummy load, not the speaker :)

Regardless, I already checked it with a multimeter and it measures ~ 4.6 ohms DC resistance. The speaker might even still work, but I dont intend to connect it to the amp again until I have got rid of the oscillations :)

AndrewT 10th February 2007 12:34 PM

Hi,
I wonder if the Zobel connection to signal ground is causing the oscillation. A few others with discrete amps report this problem.
The solution is separate the dirty ground from the clean ground.
The best of all is Zobel across the speaker terminals and that returns direct to star ground.

If the Zobel mod does not sort it then run three separate grounds from your PCB to star ground and cut both links. This may require you to disconnect the ground from regulator to star ground.

Can you monitor the regulator output at the reg & then at the amp while the amp is oscillating?

markiemrboo 10th February 2007 12:58 PM

Quote:

Originally posted by AndrewT
Hi,



Hi Andrew,

Quote:

I wonder if the Zobel connection to signal ground is causing the oscillation. A few others with discrete amps report this problem.
The solution is separate the dirty ground from the clean ground.
The best of all is Zobel across the speaker terminals and that returns direct to star ground.
Could be. I'm actually using speakon connectors and not binding posts, so it makes it that tiny bit trickier to do at the speaker terminals. I'll probably cut the traces instead...

Quote:

If the Zobel mod does not sort it then run three separate grounds from your PCB to star ground and cut both links. This may require you to disconnect the ground from regulator to star ground.
As above, this is how I was doing things on the old board, so maybe this is actually the cause of it. I wonder if my 'power ground' copper PCB fill might have been a tad excessive.

Quote:

Can you monitor the regulator output at the reg & then at the amp while the amp is oscillating?
Both at the same time? Possibly... I have two probes. It'll be kinda tricky though. Are you thinking that maybe it's the regulators oscillating?



I just tried 100nF on the underside of the board right at the pins and it didn't help, so I assume the bypassing is OK.... or I have a batch of dud / inappropriate caps. They're polyester's...



I'm taking a small break from it while I get the motivation to try, so I will try cutting traces a little later and report back.


All times are GMT. The time now is 02:21 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio


Content Relevant URLs by vBSEO 3.3.2