DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: jebop on May 07, 2021, 10:24:27 PM

Title: ideal power section?
Post by: jebop on May 07, 2021, 10:24:27 PM
Hi all,
I was wondering if there is any standard/ideal power section that works for most 9v pedals.
For example, the Rat's power section (from electrosmash.com):
https://www.electrosmash.com/images/tech/pro-co-rat/pro-co-rat-power-supply.png (https://www.electrosmash.com/images/tech/pro-co-rat/pro-co-rat-power-supply.png)
Also, what makes a power section good/bad?
Thanks,
Miles
Title: Re: ideal power section?
Post by: bowanderror on May 07, 2021, 11:02:32 PM
I was trying to figure this out as well and have a running note with some learnings. Hopefully some others can add more details & correct mistakes:
Title: Re: ideal power section?
Post by: anotherjim on May 08, 2021, 10:11:28 AM
My favourite is 2: Series diode. Maybe any 9v pedal that can't tolerate even the 0.7v drop from a 1N4001 needs to be a 12v or 18v pedal? However, the diode blocks AC signal/LFO currents via the power supply so adequate (larger) smoothing/bypass caps need to be fitted on the pedals own power supply distribution. This can lead to serious instability with small chip amplifiers. There are designs that only work because they have no series diode and depend on the external PSU capacitors for AC bypass.

9: Polyfuse is interesting, however, the reset time can be an unknown quantity. Can we afford the time to wait on stage?
With potential dangers with high capacity lithium cells, the polyfuse is good protection, but we don't really have that situation.

Title: Re: ideal power section?
Post by: garcho on May 08, 2021, 10:41:02 AM
Re: #4 and #5

Those caps that you correctly said should be close to the IC power pins aren't there for filtering. They act as current reservoirs for the local IC, helping maintain smooth operation despite whatever is going on in the IC, power supply and buses.
Speaking of filtering, that's maybe the main reason for that 100R series V+ resistor. In combination with a large value cap it makes a low pass filter (think of DC as very low frequency) for any AC at the power supply.
Title: Re: ideal power section?
Post by: Rob Strand on May 08, 2021, 10:55:40 AM
Quote9: Polyfuse is interesting, however, the reset time can be an unknown quantity. Can we afford the time to wait on stage?
With potential dangers with high capacity lithium cells, the polyfuse is good protection, but we don't really have that situation.
My call on this one is the Polyfuse is used as part of method 2.   The diode protects the circuit the Polyfuse limits the current (and protects the diode).   As a side effect it limits the short-circuit current in the circuit but really, if you put 60V into a pedal the current will not trip the Polyfuse and a good amount of the circuit will fry.

Title: Re: ideal power section?
Post by: marcelomd on May 08, 2021, 11:05:50 AM
You can also use a P MOSFET for for polarity protection. More components than with a single series diode, but almost no voltage drop. Something like this:

(https://i.postimg.cc/RJrYpf8j/image.png) (https://postimg.cc/RJrYpf8j)

In my ideal world, I'd use a MOSFET for polarity protection with some kind of slow start, to prevent pulling a lot of current.

I like a 100uF+100nF capacitors for the main power, +47uF for Vbias and a 100nF for every opamp. I got some sparks when connecting the power supply, because the capacitors pull too much current. Then I started using a 33 ohm resistor before the capacitors. This is probably too much capacitance, but I like the lack of noise.

Title: Re: ideal power section?
Post by: niektb on May 08, 2021, 11:21:04 AM
Depending on the FET you use, you dó have some ON-resistance. (I use a BS250 which is 8Ohms) but generally the heat capabilities are much better than a standard resistor so it's less likely to blow (i've seen series resistors blow because they got too hot). And the added filtering is nice. I also use the same cap values, no problems with sparks  ;)
Title: Re: ideal power section?
Post by: antonis on May 08, 2021, 03:44:53 PM
In depth dealing with any pedal power supply brings me in mind equivalent medical instance where you care more for good anaesthesiologist than surgeon..
(which, IMHO, is essentially true and correct..)
Title: Re: ideal power section?
Post by: Rob Strand on May 08, 2021, 08:24:38 PM
QuoteI like a 100uF+100nF capacitors for the main power, +47uF for Vbias and a 100nF for every opamp. I got some sparks when connecting the power supply, because the capacitors pull too much current. Then I started using a 33 ohm resistor before the capacitors. This is probably too much capacitance, but I like the lack of noise.
You can add soft-starting to the circuit you gave but it complicates it a bit.   You need soft starting (or your current limit resistor) so the MOSFET doesn't end up failing due to the excessive turn on currents.  There's actually dedicated chips out there now which offer this type of input configuration together with soft starting.
Title: Re: ideal power section?
Post by: Gargaman on May 09, 2021, 02:28:55 PM
Quote from: garcho on May 08, 2021, 10:41:02 AM
Re: #4 and #5

Those caps that you correctly said should be close to the IC power pins aren’t there for filtering. They act as current reservoirs for the local IC, helping maintain smooth operation despite whatever is going on in the IC, power supply and buses.
Speaking of filtering, that’s maybe the main reason for that 100R series V+ resistor. In combination with a large value cap it makes a low pass filter (think of DC as very low frequency) for any AC at the power supply.

Re: #4
Will 100R and 47uF form a low pass filter with frequency cut around 34Hz?
You get the same frequency If you use 47R and 100uF. Right?
Title: Re: ideal power section?
Post by: antonis on May 09, 2021, 03:06:34 PM
Quote from: Guerrilha Music on May 09, 2021, 02:28:55 PM
Will 100R and 47uF form a low pass filter with frequency cut around 34Hz?
You get the same frequency If you use 47R and 100uF. Right?

Same as you use 10R and 470μF or 470R  and 10μF or any other values combination of 0.0047 time constant (RxC product)

The lower the series resistor value the lower the voltage drop and power dissipation across it but the higher the capacitor value (and space & cost..)
Title: Re: ideal power section?
Post by: ElectricDruid on May 09, 2021, 07:36:58 PM
I don't know about "ideal power section", but I've pretty much standardised on the following design from my page of basic stompbox elements:

https://electricdruid.net/wp-content/uploads/2018/12/StompboxElements.jpg (https://electricdruid.net/wp-content/uploads/2018/12/StompboxElements.jpg)
(https://electricdruid.net/wp-content/uploads/2018/12/StompboxElements.jpg)

This covers several of the things previously mentioned: series diodes (schottky to reduce volt drop), series resistor to act as lowpass filter with the caps, decent cap values to give at least some hum roll-off (this is 34Hz), and a 100n ceramic in parallel to dump digital or rf noise on the power to ground.

Ultimately you just choose something you're happy with as a balance between cost/complexity and ultimate safety/features and go with it.

Title: Re: ideal power section?
Post by: Fancy Lime on May 10, 2021, 12:48:23 AM
+1 to what Tom said. This is what I use also and it has served me well. On circuits with low current consumption, I increase the resistor to 100R. In high gain circuits, I may increase the electrolytic cap to 220u.
Andy
Title: Re: ideal power section?
Post by: antonis on May 10, 2021, 05:35:39 AM
Quote from: ElectricDruid on May 09, 2021, 07:36:58 PM
I've pretty much standardised on the following design from my page of basic stompbox elements:

https://electricdruid.net/wp-content/uploads/2018/12/StompboxElements.jpg (https://electricdruid.net/wp-content/uploads/2018/12/StompboxElements.jpg)
(https://electricdruid.net/wp-content/uploads/2018/12/StompboxElements.jpg)

One of these days we shall talk about that "lazy" BJT buffer configuration, Tom.. :icon_wink:

:cheers: :cheers: :cheers:
Title: Re: ideal power section?
Post by: ElectricDruid on May 10, 2021, 06:50:45 AM
Quote from: antonis on May 10, 2021, 05:35:39 AM
One of these days we shall talk about that "lazy" BJT buffer configuration, Tom.. :icon_wink:

Oh god no! Then I'll have to try and remember where I stole it from!

TBH, the FET buffer I've never yet used ('cos TH FETs are now awkward to get, so I avoid them if possible) and the BJT buffer only appears once (as a input buffer on Flangelicious). Mostly I stick to op-amps, and even numbers of them at that!
Title: Re: ideal power section?
Post by: vigilante397 on May 10, 2021, 09:54:43 AM
Quote from: bowanderror on May 07, 2021, 11:02:32 PM
  • Current-limiting resistor - Ex: 10R-100R in series w/V+ - Prevents circuit from pulling ridiculous amounts of current & blowing something up - Will cause small voltage drop & restrict max current draw. How to determine when circuits require one & what size?

THIS IS NOT A CURRENT LIMITING RESISTOR.

I have NEVER seen a pedal circuit that requires an actual current limiting resistor. Op-amps, transistors, SMPS, etc. will pull a finite amount of current, they are not designed to pull as much as they can (which would have been a terrible design), and if they were, a 10R resistor wouldn't save them.

As alluded to above, the series resistor is the R component pf an RC low pass filter. That is all. It is 100% there for filtering the DC input . This is one of my biggest pet peeves, I apologize for the rant :P
Title: Re: ideal power section?
Post by: antonis on May 10, 2021, 01:22:19 PM
Quote from: vigilante397 on May 10, 2021, 09:54:43 AM
THIS IS NOT A CURRENT LIMITING RESISTOR.

Not even in case of relatively big reservoir cap..??  :icon_wink:
(I've seen quite a few pedals with 1000μF or bigger caps..)
Title: Re: ideal power section?
Post by: Fancy Lime on May 10, 2021, 02:30:15 PM
Quote from: vigilante397 on May 10, 2021, 09:54:43 AM
Quote from: bowanderror on May 07, 2021, 11:02:32 PM
  • Current-limiting resistor - Ex: 10R-100R in series w/V+ - Prevents circuit from pulling ridiculous amounts of current & blowing something up - Will cause small voltage drop & restrict max current draw. How to determine when circuits require one & what size?

THIS IS NOT A CURRENT LIMITING RESISTOR.

I have NEVER seen a pedal circuit that requires an actual current limiting resistor. Op-amps, transistors, SMPS, etc. will pull a finite amount of current, they are not designed to pull as much as they can (which would have been a terrible design), and if they were, a 10R resistor wouldn't save them.

As alluded to above, the series resistor is the R component pf an RC low pass filter. That is all. It is 100% there for filtering the DC input . This is one of my biggest pet peeves, I apologize for the rant :P

Alright bucko, let's do this  :icon_wink:
OF COURSE IT'S A CURRENT LIMITING RESISTOR! THAT'S HOW RC FILTERS WORK!!!

Sorry, I usually don't tell on the internet but it looked like fun when you did it. Seriously though, isn't limiting the current rushing into the cap exactly what makes an RC LP filter do it's thing? The cap stores a finite amount of charge and the resistor regulates the current that fills it with such, no? Obviously, I am talking about AC and you are talking about DC. But if we leave out the semantic nitpickery and internet flame war douche Baggett, I agree, most circuits do not need the DC limiting resistors because the active elements and/or their implementation limits current consumption. HOWEVER, CMOS inverters pressed into linear operation are a possible exception. I have never tried if a CD4049 blows if you omit the series resistor on the power line and connect it to a low impedance power supply, but I suspect it might.

Ah, this was fun. After a year indoors, I'm itching to use my outdoor Boise again  ;D

Cheerios,
Andy
Title: Re: ideal power section?
Post by: vigilante397 on May 10, 2021, 03:16:13 PM
Quote from: Fancy Lime on May 10, 2021, 02:30:15 PM
OF COURSE IT'S A CURRENT LIMITING RESISTOR!

I mean it's a current limiting resistor in the same sense that every resistor is a current limiting resistor, so I'll meet you halfway on that one. Technically yes, at higher frequencies the resistor prevents the capacitor from charging quickly before the input changes polarity. BUT the resistor's purpose is not to "Prevent circuit from pulling ridiculous amounts of current & blowing something up". That's what I was taught when I first started building pedals, and the more I learned the less sense it made, so it's become a peeve of mine that this continues to be perpetuated.

My CMOS experience outside of school is admittedly limited, were they that poorly designed?

Sorry I yelled :P
Title: Re: ideal power section?
Post by: PRR on May 10, 2021, 03:56:24 PM
If you use a cross-rail diode to avoid damage from reverse polarity, that resistor can "limit current" to prevent killing the diode (which leaves you unprotected).

Assuming 1N400x (1A) and 9V supply, anything over 9 Ohms will protect the diode +and+ the rest of the board. If you persist, any pedal-size resistor at nearly 9 Watts will burn up real quick. 270 Ohms 1/4 Watt will sit there too hot to touch for months.

That's hardly the most elegant way, but sometimes it is not about electronic elegance but having objective evidence to deny warranty repair. Or at least a 12-cent part rather than a whole board.
Title: Re: ideal power section?
Post by: Rob Strand on May 10, 2021, 04:05:14 PM
QuoteAssuming 1N400x (1A) and 9V supply, anything over 9 Ohms will protect the diode +and+ the rest of the board. If you persist, any pedal-size resistor at nearly 9 Watts will burn up real quick. 270 Ohms 1/4 Watt will sit there too hot to touch for months.
That's where a PTC helps but you need to make sure it will trip.   If you want filtering and not have the resistor fry you probably (then) need to move the resistor after the diode.   The methods using MOSFET switches are a little more graceful under attack.
Title: Re: ideal power section?
Post by: vigilante397 on May 10, 2021, 04:07:41 PM
I got sick of people sending pedals back after plugging in the wrong polarity, so I started doing a schottky bridge rectifier on the input of every pedal, so polarity just doesn't matter. Costs me an extra couple cents per build, but nobody fries things anymore.
Title: Re: ideal power section?
Post by: iainpunk on May 10, 2021, 04:14:48 PM
Quote from: vigilante397 on May 10, 2021, 04:07:41 PM
I got sick of people sending pedals back after plugging in the wrong polarity, so I started doing a schottky bridge rectifier on the input of every pedal, so polarity just doesn't matter. Costs me an extra couple cents per build, but nobody fries things anymore.
also lowers chance of ground loops, the problem that could occur is that the ground currents find it easier to go back via another pedal instead of the diode, causing power current through signal cables. no problem with analog low power pedals, but tube pedals and digital pedals might not behave quite nice.

cheers
Title: Re: ideal power section?
Post by: vigilante397 on May 10, 2021, 04:32:15 PM
Quote from: iainpunk on May 10, 2021, 04:14:48 PM
Quote from: vigilante397 on May 10, 2021, 04:07:41 PM
I got sick of people sending pedals back after plugging in the wrong polarity, so I started doing a schottky bridge rectifier on the input of every pedal, so polarity just doesn't matter. Costs me an extra couple cents per build, but nobody fries things anymore.
also lowers chance of ground loops, the problem that could occur is that the ground currents find it easier to go back via another pedal instead of the diode, causing power current through signal cables. no problem with analog low power pedals, but tube pedals and digital pedals might not behave quite nice.

cheers

In theory yup, it's a possibility, but did a fair bit of testing and haven't had any issues, nor have I had any reported. Another thing to keep in mind if you're selling pedals, test the hell out of EVERYTHING before sending to customers.
Title: Re: ideal power section?
Post by: Eb7+9 on May 10, 2021, 11:35:59 PM
Quote from: vigilante397 on May 10, 2021, 09:54:43 AM

I have NEVER seen a pedal circuit that requires an actual current limiting resistor.


Bob Moog's "oberheim/maestro" sample-hold filter ...
Title: Re: ideal power section?
Post by: vigilante397 on May 10, 2021, 11:45:52 PM
Quote from: Eb7+9 on May 10, 2021, 11:35:59 PM
Bob Moog's "oberheim/maestro" sample-hold filter ...

I'm not seeing anything in the FSH-1 that would try to fry itself without a current limiting resistor. I see the original has them on both + and - rails, but I don't see them as being there to prevent the thing from burning up.
Title: Re: ideal power section?
Post by: Rob Strand on May 10, 2021, 11:58:23 PM
Quote'm not seeing anything in the FSH-1 that would try to fry itself without a current limiting resistor. I see the original has them on both + and - rails, but I don't see them as being there to prevent the thing from burning up.

The control stuff is on 9V and the audio is on 8V after the RC filter.    To me the intent here is filtering
Title: Re: ideal power section?
Post by: Eb7+9 on May 11, 2021, 01:06:27 PM
Quote from: vigilante397 on May 10, 2021, 11:45:52 PM

I'm not seeing anything in the FSH-1 that would try to prevent ...


Bob used the same resistor value twice to protect his 3080's - then again, in his LabSeries soft clipper design ...

you can fry OTA's by forcing more than 2mA into their bias port ... he obviously intended to limit bias current to around half a mA in the s/h and just under one mA in the clipper ...
Title: Re: ideal power section?
Post by: vigilante397 on May 11, 2021, 03:15:43 PM
Quote from: Eb7+9 on May 11, 2021, 01:06:27 PM
Bob used the same resistor value twice to protect his 3080's - then again, in his LabSeries soft clipper design ...

you can fry OTA's by forcing more than 2mA into their bias port ... he obviously intended to limit bias current to around half a mA in the s/h and just under one mA in the clipper ...

Power consumption is determined by the load, not by the source. A 9V wall wart is not a fixed current supply, you aren't "forcing" current into your pedal. You're making current available, which the circuit is drawing.
Title: Re: ideal power section?
Post by: ElectricDruid on May 11, 2021, 07:01:43 PM
Quote from: vigilante397 on May 11, 2021, 03:15:43 PM
Quote from: Eb7+9 on May 11, 2021, 01:06:27 PM
Bob used the same resistor value twice to protect his 3080's - then again, in his LabSeries soft clipper design ...

you can fry OTA's by forcing more than 2mA into their bias port ... he obviously intended to limit bias current to around half a mA in the s/h and just under one mA in the clipper ...

Power consumption is determined by the load, not by the source. A 9V wall wart is not a fixed current supply, you aren't "forcing" current into your pedal. You're making current available, which the circuit is drawing.

Yes. And the Iabc/"bias port"/transconductance input/whatever it's called/thingummywhasit on an OTA isn't a supply pin either, so it's not really relevant here, except tangentially.

Tangentially speaking, the Iabc input on an OTA is either one or two diode-drops above the negative supply voltage (depending which OTA we're talking about exactly) and can only stand 2mA of current. That means that if you whack it with 9V, you need a decent resistor in series with that input or the chip will fry. Several KOhms. Nothing like the few hundred ohms you'd usually see as a maximum for power supply filtering.
Title: Re: ideal power section?
Post by: marcelomd on May 11, 2021, 07:05:33 PM
Talking about power sections. I've seen a lot charge pumps doubling the 9v.

Apart from the Klon, is anyone using symmetrical power supplies?

And boost converters? They take +- the same real state as a charge pump and switch a lot faster, so less change of audio range noise.
Title: Re: ideal power section?
Post by: garcho on May 12, 2021, 12:22:45 AM
Quoteis anyone using symmetrical power supplies

Seriously? That's audio industry standard albeit guitar pedals break most of those.
Title: Re: ideal power section?
Post by: vigilante397 on May 12, 2021, 02:04:13 AM
Quote from: marcelomd on May 11, 2021, 07:05:33 PM
Talking about power sections. I've seen a lot charge pumps doubling the 9v.

Apart from the Klon, is anyone using symmetrical power supplies?

And boost converters? They take +- the same real state as a charge pump and switch a lot faster, so less change of audio range noise.

I've done a couple pedals that were ±15V rails, there are a handful of overdrives out there that do it for the headroom. I use SMSP boosts in just about every pedal I build these days (because toobz).
Title: Re: ideal power section?
Post by: marcelomd on May 12, 2021, 10:28:31 AM
Quote from: garcho on May 12, 2021, 12:22:45 AM
Quoteis anyone using symmetrical power supplies
Seriously? That's audio industry standard albeit guitar pedals break most of those.

I was thinking specifically about pedals. My chain of thought went like this:

1- How nice it is to have extra headroom for equalization;
2- I can get double voltages with a charge pump. You get 18V from +9V;
3- The power amp module I'm using in my bass amp has +- rails for the preamp;
4- Charge pumps can also invert voltages. You get +-9V from +9V;
5- Most audio stuff uses symmetrical power. If you are going to design something new, why go +18V instead of +-9V?
Bonus- Charge pumps are +- expensive, noisy, and the capacitors, bulky. Why not use simple buck/boost switchers?

The only pedal I know that uses symmetrical power (not from a transformer) is the Klon, with a quirky +18/-9 or something.

For new tube stuff, SMPS is the sensible choice IMHO.

Title: Re: ideal power section?
Post by: ElectricDruid on May 12, 2021, 01:17:50 PM
Quote from: marcelomd on May 12, 2021, 10:28:31 AM
The only pedal I know that uses symmetrical power (not from a transformer) is the Klon, with a quirky +18/-9 or something.

The +18/-9V might make sense since many op-amps were designed for +/-15V (so 30V across them) and often have 36V as the absolute max supply. So +/-18V is out, but +18/-9 is easily derived from a 9V input but uses the op-amp at almost its ideal voltage. Just a thought.

In my ideal world, pedal power supplies all provide +/-15V power to stompboxes. Sigh.