DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: bzblues on January 01, 2021, 07:43:24 AM

Title: Ruby guitar amp noisy when plugged with DC adapter
Post by: bzblues on January 01, 2021, 07:43:24 AM
Hello everyone!

I've been building a couple of ruby guitar amps. I'm a begginer but I've been practicing a lot and learning but still have doubts.

This is the problem: The amp works judt fine with the 9V battery obviously, but when I use the dc adapter (9V 1A or 2A) it gets noisy. I tried different adapters but the problem persist.

I don't quite know how to solve this. Any ideas?

Thank you!
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: ChopSauce on January 01, 2021, 10:17:25 AM

Seems to be a common problem. Maybe you can try one or two CRC filters in series between the adapter and the amp?
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: garcho on January 01, 2021, 11:37:12 AM
Welcome to the forum!

Ah yes, the Ruby, daughter of the Smokey, DIY staple. Noise has many flavors. Is it a low hum (60Hz)? Is it a high pitched squeal? Hiss? I'm guessing it's 60Hz hum.

If you haven't already, try putting an electrolytic capacitor, say 47uF or 100uF, between the power rails (V+ and 0, or V-). Report back, we'll take from there.


Take some pics, post the schematic, don't make people search for stuff in order to help you :)
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: iainpunk on January 01, 2021, 06:57:12 PM
yeah, most power supplies have poor noise characteristics, and deposit a bunch of noise in to high power loads.
i recommend an CLC PI filter, since the lower DC resistance of an inductor will produce less heat and drop less voltage, which keeps more headroom intact.

i think a 100uH 1A or 2A inductor and a pair of 10uF capacitors on either side would do the trick if the problem is hum (50Hz in the old world or 60Hz in the new world, parts of Saudi Arabia and parts of Japan IIRC)

cheers, Iain
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: Vivek on January 02, 2021, 04:28:06 AM
Besides cap across power rails,

Wasn't there a need to have a cap from some pin to ground, since that would remove ripple from some internal voltage divider ?

like 10 to 100uF or so from pin 7 to ground ?


(https://www.circuitlab.com/circuit/tej873/screenshot/1024x768/)

Does Ruby have this cap ?

Please post your schematic. Thanks
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: iainpunk on January 02, 2021, 11:51:38 AM
Quote from: Vivek on January 02, 2021, 04:28:06 AM
Besides cap across power rails,

Wasn't there a need to have a cap from some pin to ground, since that would remove ripple from some internal voltage divider ?

like 10 to 100uF or so from pin 7 to ground ?


(https://www.circuitlab.com/circuit/tej873/screenshot/1024x768/)

Does Ruby have this cap ?

Please post your schematic. Thanks
that should reject power supply noise indeed, but the Ruby already has this cap, but its only 100n not the 10u or 100u.
at 100n, the cutoff frequency is alt the way up just under 200Hz ( 2x15k in parallel is 7k5 with 100n that gives 212hz, this is an aproximation since there is an active load and the impedance would be a bit higher so about 150Hz LOW pass would be more realistic, but its still way to high for hum rejection.....)
i strongly recommend changing it to at least 1uF, but higher is better in this case.

cheers, Iain
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: amptramp on January 03, 2021, 07:41:25 AM
I have one wall wart DC multiple-voltage adapter at home that I took apart and found a surprise inside: there was a tapped transformer with a selector switch and diode bridge with the output shunted with a series R-C network that had a one ohm resistor in series with the electrolytic capacitor.  This was done to limit inrush current but it definitely left a lot of ripple on the output.  Do not trust DC adapters to be filtered effectively unless they are specifically stated to be regulated.

You need filtering in the amplifier to make up for the fact that not all wall warts are created equal.  The suggestions above on putting electrolytic across the power rails and from pin 7 to ground are good advice.
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: bzblues on January 03, 2021, 05:14:51 PM
Hello everyone!

Thanks for all the answers. Got a bit confused but I'll have to re-read it and try each one of the solutions. Let me see if I understood. Is it ok like in the drawing?


(https://i.postimg.cc/G4gjLPR3/Ruby-with-cap.png) (https://postimg.cc/G4gjLPR3)
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: GibsonGM on January 03, 2021, 05:34:55 PM
You would put the electrolytic cap from pin 7 to ground, not 'take pin 7 to ground'....the other cap is ok across the power jack if that works better for you...in some cases, having it right on the board would work better/look better.   Sometimes there isn't space, though. 

Welcome to the forum, Bz! 
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: garcho on January 03, 2021, 05:36:23 PM
You definitely want to put a 47u or 100u, as in µF, microFarads, not n, or nF as in nanoFarad. The nano won't hurt, it might even help with a bit of higher frequency noise, but you want a BIG electrolytic cap.
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: bzblues on January 03, 2021, 06:31:49 PM
Sorry! it was a typo! I meant uF (microfarads)

I'll try it and I'll get back to you guys. Thank you!
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: bzblues on January 08, 2021, 06:41:25 AM
Hello!

Well... Didn't work out. No difference, nothing...still noisy. I put a 100uF capacitor from the pin 7 to ground and another 100uF cap into the power rails just like instructed, but there is no difference...and the dc adapter is a fairly quality one.

Do you guys have ay other idea that might work? I really don't know what to do here.

Thank you!
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: iainpunk on January 08, 2021, 07:21:38 AM
please describe the noise.

have you tried adding a ground wire? you can just use a long piece of wire connected from the circuit's ground to a radiator or the ground clips of your wall outlet.

cheers, Iain
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: Vivek on January 08, 2021, 07:52:03 AM
Could you post a video of your breadboard and the output sound

Thanks
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: bzblues on January 08, 2021, 09:10:51 AM
I tried with previous amps to isolate the pcb with a little aluminium box and solder a wire to the cirucit ground and still, nothing happens.

Here is the video: https://youtu.be/NDmaJYrWbfA

Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: FiveseveN on January 08, 2021, 09:24:51 AM
Sounds like the noise is being picked up by the pickup(s) to me. Does it go away when you turn the guitar's volume to 0?
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: bzblues on January 08, 2021, 11:14:43 AM
Yes, it goes away when the volume pot is down, but the noise is there with or without the guitar plugged in.
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: Sooner Boomer on January 08, 2021, 01:00:56 PM
Stupid idea, but one worth trying; short the input. Now how much noise?
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: FiveseveN on January 08, 2021, 02:06:31 PM
That would have the same effect as turning the volume down.

Quote from: bzblues on January 08, 2021, 11:14:43 AM
the noise is there with or without the guitar plugged in.

Which is expected, assuming you don't have a switching jack (https://nextgenguitars.ca/products/generic-1-4-mono-switching-jack-4-lug-solder.html) that grounds the input when unplugged (most amps have this). A floating input will pick up EMI just like pickups or an unplugged cable at the guitar end.

The mystery is why it would go away on a battery. Maybe there's interference (not ripple) coming up the power cord?
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: iainpunk on January 08, 2021, 05:06:44 PM
Quote from: FiveseveN on January 08, 2021, 02:06:31 PM
That would have the same effect as turning the volume down.

Quote from: bzblues on January 08, 2021, 11:14:43 AM
the noise is there with or without the guitar plugged in.

Which is expected, assuming you don't have a switching jack (https://nextgenguitars.ca/products/generic-1-4-mono-switching-jack-4-lug-solder.html) that grounds the input when unplugged (most amps have this). A floating input will pick up EMI just like pickups or an unplugged cable at the guitar end.

The mystery is why it would go away on a battery. Maybe there's interference (not ripple) coming up the power cord?
the wall wart might give a bad pseudo ground, adding to the antenna effect, adding a real ground would probably stop the wart from acting like a antenna.

i believe its not logical to expect anything but noise when you have no ground connection on an amp. especially when there is a wall wart adding to the antenna effect. the fact that it had little noise when using a battery is more luck than logic.

cheers, Iain
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: ChopSauce on January 10, 2021, 09:17:42 AM
The fact that we are at least three perfect unknowns to having experiences noise when using this sort of amp, but when using batteries, is something to doubt from luck alone ruling the process...  :icon_wink:

Quote from: bzblues on January 08, 2021, 06:41:25 AMDo you guys have ay other idea that might work?

Quote from: ChopSauce on January 01, 2021, 10:17:25 AM

Seems to be a common problem. Maybe you can try one or two CRC filters in series between the adapter and the amp?

This is a solution I did not tested, NB. But - like you - I experienced that just one (as big as 100 uF) cap was not enough, while additional(s) (R, C) filter(s) does(/do) seem to be required for proper filtering, if I'm reading well: http://www.valvewizard.co.uk/smoothing.html

The suggested CLC filter might be even better.
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: anotherjim on January 10, 2021, 11:13:47 AM
I think the 100uF cap in the design should be there even when using a battery. It's required to keep the amplifier stable when short high current pulses occur. It will not help much if a PSU with poor regulation is used. To be more tolerant of the PSU, it wouldn't harm to fit a 470uF to 1000uF capacitor across the DC supply input.

When the PSU is a switching type, it adds fast switching noise to the problems. Then a 100nF ceramic disc capacitor should be added across the 100uF one. This small cap works better for high frequencies than the bigger electrolytic ones.
It also aides amplifier stabilty and ought to be there even for battery use.

Finally, read the small print on the PSU. If it says something like "For office/IT use only" it will be too noisy for audio.
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: iainpunk on January 10, 2021, 02:50:07 PM
true, but an Inductor the requires size is quite quite expensive, a power resistor is cheaper,
another option is the ''capacitance multiplier'' it uses smaller capacitors and higher resistors and a transistor to take out noise and/or ripple (if the ripple is small enough, less than 0.6v) form the power line.
(https://i.postimg.cc/XpgkD8nV/simple-power-filter.png) (https://postimg.cc/XpgkD8nV)

cheers, Iain
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: ChopSauce on January 11, 2021, 04:40:17 AM
Quote from: anotherjim on January 10, 2021, 11:13:47 AM... a 100nF ceramic disc capacitor should be added across the 100uF one. This small cap works better for high frequencies than the bigger electrolytic ones.

Not to hijack this thread / interfere with the problems of the original poster, but I tried that (polyester film cap with magnitude order about 10 nF, though) too. The PSU was a Boss, the small model, for a single pedal. Didn't solve my noise problem.

Hence my first suggestion.
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: anotherjim on January 11, 2021, 09:09:20 AM
(https://i.postimg.cc/nLhcJx6G/s-l1600.jpg)
Cheap eBay kit
See the big capacitor C9?
This is for a cheapo kit intended for use with a psu. They don't include the extra 1000uF for no good reason.
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: anotherjim on January 11, 2021, 11:01:19 AM
Actually, and just to make me look stupid, I've got a horrible feeling that the 1000uF on that board could be the speaker output! Duh!
Title: Re: Ruby guitar amp noisy when plugged with DC adapter
Post by: iainpunk on January 11, 2021, 02:40:31 PM
Quote from: anotherjim on January 11, 2021, 11:01:19 AM
Actually, and just to make me look stupid, I've got a horrible feeling that the 1000uF on that board could be the speaker output! Duh!
haha, was just about to post that and then saw you corrected yourself,
:icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol: :icon_lol:

cheers, Iain