DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: akm on February 06, 2021, 08:10:05 PM

Title: Ultra Clean 9VDC Power Supply
Post by: akm on February 06, 2021, 08:10:05 PM
I've built this (http://www.generalguitargadgets.com/effects-projects/power-supplies/ultra-clean-power-supply) and it works well in my home which was built before grounding was wired to wall outlets.

It does not work when I try it at my rehearsal space which has grounded AC outlets.

There are also issues when I plug more than one of my home-made pedals in the same time.

I suspect I have a few things going on; can someone explain a few things about how grounding should be managed in this circuit? I connected all grounds in the circuit to the same (AC) ground. Attaching some photos but it's hard to show everything; can pull it apart and get better photos if it helps.

(https://i.postimg.cc/68rQ527Q/9-A00-B23-D-40-A5-4217-AA0-C-3-A46-DA24-C063.jpg) (https://postimg.cc/68rQ527Q)

(https://i.postimg.cc/yD4dHX85/C138-EF4-A-FB49-4-AA9-861-E-7-B01-A8654-D9-C.jpg) (https://postimg.cc/yD4dHX85)

(https://i.postimg.cc/N9StxByV/0-F506856-B806-4-E07-85-B9-7563120116-EE.jpg) (https://postimg.cc/N9StxByV)

(https://i.postimg.cc/qhz0nz7y/76391202-C049-4637-A120-FABEF57-A2-C09.jpg) (https://postimg.cc/qhz0nz7y)
Title: Re: Ultra Clean 9VDC Power Supply
Post by: Rob Strand on February 06, 2021, 09:15:23 PM
It's probably because you have grounded the positive rail.   If you are going to ground the DC you need you ground the negative rail.  It would be more normal to wire the DC outlets as centre negative for pedals - look at some commercial pedal power supplies.

Lots of safety issues with your wiring, especially the mains:
- The mains wiring should not be solid core wire and it should not be low voltage wire.
- It would be wise to ground the chassis of the transformer (with thick mains rated wire).
- a loose board inside the enclosure with exposed mains wires is bad.
- The solid wires from the transformer secondary should be flexible, not solid.
  The board flapping around could cause them to fatigue and break-off and then they could
  fall down onto the mains terminal.  That would connect mains to the DC output.

You would be better off buying a DC adaptor and powering the regulator of that.  That way all the mains wiring is in the adaptor.
Title: Re: Ultra Clean 9VDC Power Supply
Post by: akm on February 06, 2021, 09:27:18 PM
Alright thanks for all the advice Rob, will rethink this thing.
Title: Re: Ultra Clean 9VDC Power Supply
Post by: bluebunny on February 07, 2021, 04:24:22 AM
Everything that Rob said, x1000.  Your pictures scare me to death for so many reasons (and none of them to do with "will it power my pedals ok?").  Please don't die.
Title: Re: Ultra Clean 9VDC Power Supply
Post by: antonis on February 07, 2021, 06:40:59 AM
>Off-topic ON<

Is there any reason for so much "dispensable" [(25*1.414 - 2*0.7 - min Vin-out) * I] power dissipation when only aiming at 9V output..??
(transformer secondary could be rated down to 10VAC without issue..)

>off-topic OFF<
Title: Re: Ultra Clean 9VDC Power Supply
Post by: ElectricDruid on February 07, 2021, 06:45:30 AM
+1 what others have said. That looks seriously dangerous.

Please buy some heatshrink for those mains connections! If that PCB wobbles about you're going to have smoke at best and mains on the outputs at worst. Even if it doesn't kill you, it'll kill all the pedals you've got plugged in.
Title: Re: Ultra Clean 9VDC Power Supply
Post by: antonis on February 07, 2021, 07:05:42 AM
And with NO mains fusing..  :icon_eek:

It's getting more and more interesting..
Title: Re: Ultra Clean 9VDC Power Supply
Post by: Phoenix on February 07, 2021, 10:13:04 AM
Andrew, I'll echo other above comments on safety (lack of rigid mounting of board, heatshrink, fusing, appropriately rated wire on the primary side, etc).

Quote from: antonis on February 07, 2021, 06:40:59 AM
>Off-topic ON<

Is there any reason for so much "dispensable" [(25*1.414 - 2*0.7 - min Vin-out) * I] power dissipation when only aiming at 9V output..??
(transformer secondary could be rated down to 10VAC without issue..)

>off-topic OFF<

While I agree that this design has excessive dissipation in the regulator, personally I'd be a bit more conservative than 10VAC, that leaves zero margin.

I'd aim for:
Vout 9VDC (let's say 9.6VDC for "fresh battery")
+3V LM317 dropout voltage (12.6VDC)
+2V ripple voltage (14.6Vpk)
+2x1V Vf - 0.7V is marginal for silicon rectifiers (16.6Vpk)
/Square-root 2 (~11.74VRMS)
/0.9 to allow for 10% mains voltage variation - don't want it dropping out in summer/winter when everyone turns on airconditioning/heating (13VRMS)

A 13V secondary might be a little hard to find, rounding up to the next common value of 15VAC allows for smaller bulk filter cap, or better, an RC pi filter before the regulator (I'd split the dropping resistance between positive and negative rails for better common-mode rejection - make this closer to "ultra-clean" - something I don't think this design has any claim to).
Title: Re: Ultra Clean 9VDC Power Supply
Post by: antonis on February 07, 2021, 12:31:55 PM
Quote from: Phoenix on February 07, 2021, 10:13:04 AM
+2V ripple voltage

You're very stingy with smoothing capacitor value, Greg.. :icon_lol:
(1000μF cap is more than adequate for less than 1% ripple at 10mA load current..)

On the contrary, you're very generous with rectifier diode forward voltage drop..
(never experienced more than 700mV for a couple of tens mA current..)

P.S.
Shall we shake hands at 12Vrms secondary rating..?? :icon_wink:
Title: Re: Ultra Clean 9VDC Power Supply
Post by: Phoenix on February 07, 2021, 12:40:22 PM
Quote from: antonis on February 07, 2021, 12:31:55 PM
Quote from: Phoenix on February 07, 2021, 10:13:04 AM
+2V ripple voltage

You're very stingy with smoothing capacitor value, Greg.. :icon_lol:
(1000μF cap is more than adequate for less than 1% ripple at 10mA load current..)

On the contrary, you're very generous with rectifier diode forward voltage drop..
(never experienced more than 700mV for a couple of tens mA current..)

P.S.
Shall we shake hands at 12Vrms secondary rating..?? :icon_wink:

I don't know, say a 10mF bulk filter (10,000uF), 1.5A load, that's 1.5/2fC = 1.5Vpk-pk ripple at 50Hz... I wouldn't call that stingy!
1N400x Vf is 1V at 1A...
Clearly we're making very different assumptions about the load  ;)

(And obviously more than Andrew's aiming for with his choice of transformer)
Title: Re: Ultra Clean 9VDC Power Supply
Post by: Rob Strand on February 07, 2021, 12:47:47 PM
A 9V regulator fed by a 9V AC transformer or unregulated 9VDC adaptor (ie. 12.4V DC unloaded) will work but what generally happens is the regulator drops out with any appreciable load at which point the dips in the ripple waveform feed through to the output.  A 12VAC / unregulated 12VDC  will fair a lot better but still might not make it to the full rating of the adaptor.   For example a 12VDC adaptor might only put out 10.8VDC (average) at the rated current  and the dips of the ripple with drop below 10.8V for sure.    How much load we can pull gets into specifics of the adaptor regulation, ripple, and the regulator drop-out.
Title: Re: Ultra Clean 9VDC Power Supply
Post by: akm on February 07, 2021, 01:03:43 PM
Thanks for all the constructive feedback  :icon_wink:

I'll use this power supply instead for now:

(https://i.postimg.cc/k2J4LqcZ/D86091-DD-3-E79-46-BF-8208-F600968-E033-E.jpg) (https://postimg.cc/k2J4LqcZ)
Title: Re: Ultra Clean 9VDC Power Supply
Post by: antonis on February 07, 2021, 01:30:15 PM
Quote from: Phoenix on February 07, 2021, 12:40:22 PM
Clearly we're making very different assumptions about the load  ;)

That's for sure... :icon_wink:

P.S.
Just realized we're talking about multiple 9V outputs so I humbly revoke my load current assumption.. :icon_redface: