DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: spacecommandant on January 17, 2023, 02:57:50 PM

Title: Opinions About Boost Design
Post by: spacecommandant on January 17, 2023, 02:57:50 PM
Hi all, I've put together this volume/boost design meant to be used in a volume pedal enclosure.
It sounds good to my ears but I would love to hear any advice about improving the design in any way.
The things I want to keep the same:

The Volume treadle pot is A250k
There is a Max pot that sets the volume ceiling when Volume pot is fully clockwise
There is a decent amount of clean boost available

Thanks
(https://i.postimg.cc/HV1GrXQ8/BOOST.png) (https://postimg.cc/HV1GrXQ8)
Title: Re: Opinions About Boost Design
Post by: FSFX on January 17, 2023, 03:18:45 PM
Quote from: spacecommandant on January 17, 2023, 02:57:50 PM
Hi all, I've put together this volume/boost design

A couple of comments.

1.  If you are using a charge pump then having a 47 ohm series resistor and a 10 or 12 volt Zener diode will provide better reverse polarity and overvoltage protection for the charge pump.

2. If you are using a charge pump with an input voltage of 9 volts to get 18 volts for the op amps then why have a voltage divider on the 18v to give a 9v Vref when you could just use the 9 volts power with maybe an RC filter to keep any noise away from the op amp inputs.


Title: Re: Opinions About Boost Design
Post by: spacecommandant on January 17, 2023, 03:54:20 PM
Quote from: FSFX on January 17, 2023, 03:18:45 PM
Quote from: spacecommandant on January 17, 2023, 02:57:50 PM
Hi all, I've put together this volume/boost design

A couple of comments.

1.  If you are using a charge pump then having a 47 ohm series resistor and a 10 or 12 volt Zener diode will provide better reverse polarity and overvoltage protection for the charge pump.

2. If you are using a charge pump with an input voltage of 9 volts to get 18 volts for the op amps then why have a voltage divider on the 18v to give a 9v Vref when you could just use the 9 volts power with maybe an RC filter to keep any noise away from the op amp inputs.

Great points, thank you.
Something like this?
(https://i.postimg.cc/qzxXH64d/BOOSTv2.png) (https://postimg.cc/qzxXH64d)
Title: Re: Opinions About Boost Design
Post by: BubbaFet on January 17, 2023, 03:58:32 PM
It looks like a fine design. Now the trick is to start eliminating stuff and simplifying down to it's essence.
Do you really need it to run at 18V? Does it really need two dual-op amps? Et cetera.. etc... etc...
Title: Re: Opinions About Boost Design
Post by: FSFX on January 17, 2023, 04:07:25 PM
Quote from: spacecommandant on January 17, 2023, 03:54:20 PM

Something like this?


I would just add a resistor and capacitor to filter the power to the op amp inputs.


(https://i.postimg.cc/3df2Mgkg/Mod2.png) (https://postimg.cc/3df2Mgkg)
Title: Re: Opinions About Boost Design
Post by: spacecommandant on January 17, 2023, 04:13:06 PM
Quote from: BubbaFet on January 17, 2023, 03:58:32 PM
It looks like a fine design. Now the trick is to start eliminating stuff and simplifying down to it's essence.
Do you really need it to run at 18V? Does it really need two dual-op amps? Et cetera.. etc... etc...

I figured the 18V would allow for greater headroom/less chance of clipping...
And, no, I don't know that it does need both op amps, though I was under the impression that there could be situations where the output buffer would help, so I decided to add it. Overkill?
Title: Re: Opinions About Boost Design
Post by: spacecommandant on January 17, 2023, 04:16:05 PM
Quote from: FSFX on January 17, 2023, 04:07:25 PM
Quote from: spacecommandant on January 17, 2023, 03:54:20 PM

Something like this?


I would just add a resistor and capacitor to filter the power to the op amp inputs.


(https://i.postimg.cc/3df2Mgkg/Mod2.png) (https://postimg.cc/3df2Mgkg)

Okay, thanks.
Do you think the output buffer is worth adding? Are there situations where it would help?
Title: Re: Opinions About Boost Design
Post by: ElectricDruid on January 17, 2023, 04:26:47 PM
You could keep the output buffer and still get it down to a single dual op-amp chip if you changed the inverting gain stage for a non-inverting one. That would be able to provide the same high input impedance you have (in fact the input components would be identical up to the +ve input) but would save you one op-amp. Then the second op-amp can be your output buffer.
There's one other advantage to this change, which is that it makes the circuit non-inverting overall.

Is the output buffer strictly necessary? I don't know, but it certainly won't *hurt* and it might help, so I'd leave it in.
Title: Re: Opinions About Boost Design
Post by: FSFX on January 17, 2023, 04:30:30 PM
Quote from: spacecommandant on January 17, 2023, 04:16:05 PM

Do you think the output buffer is worth adding? Are there situations where it would help?


I didn't want to completely redesign it for you. However, it is true that you could get all of the gain that you require from a single op amp. You could even use a BJT or JFET buffer as some other designs do.

You can look at other boosters and decide what you want in terms of gain, frequency response, linearity/distortion, noise performance (SNR) and dynamic range.

But, ultimately, it is your design so feel free to do it as you please. That is the way you learn.
Title: Re: Opinions About Boost Design
Post by: antonis on January 17, 2023, 04:40:19 PM
Funny that I can't follow squared op-amp symbols but I think output signal is inverted..
(not bad by its own but a potential issue for mixing..)

P.S.
R5 could be an order of magnitude lower or even omitted..
Title: Re: Opinions About Boost Design
Post by: spacecommandant on January 17, 2023, 04:40:57 PM
Quote from: ElectricDruid on January 17, 2023, 04:26:47 PM
You could keep the output buffer and still get it down to a single dual op-amp chip if you changed the inverting gain stage for a non-inverting one. That would be able to provide the same high input impedance you have (in fact the input components would be identical up to the +ve input) but would save you one op-amp. Then the second op-amp can be your output buffer.
There's one other advantage to this change, which is that it makes the circuit non-inverting overall.

Is the output buffer strictly necessary? I don't know, but it certainly won't *hurt* and it might help, so I'd leave it in.

The reason I used an inverting stage was to be able to completely kill the signal when the Volume pot was CCW (foot pedal in heel position), which isn't possible with a non-inverting stage, if I understand that correctly.
Title: Re: Opinions About Boost Design
Post by: spacecommandant on January 17, 2023, 04:43:11 PM
Quote from: antonis on January 17, 2023, 04:40:19 PM
Funny that I can't follow squared op-amp symbols but I think output signal is inverted..
(not bad by its own but a potential issue for mixing..)

P.S.
R5 could be an order of magnitude lower or even omitted..

Yeah, I prefer the triangular symbols but I couldn't find them in Eagle.
Thanks for the tip on R5..
Title: Re: Opinions About Boost Design
Post by: FSFX on January 17, 2023, 05:00:32 PM
Quote from: spacecommandant on January 17, 2023, 04:43:11 PM
Thanks for the tip on R5..
R5 does provide a useful function and a value of 10k is fine as the input impedance beyond it is so very high (1M), so I would leave it.
It will act to protect the op amp input from any voltage transients and, in conjunction with the input capacitance of the op amp it will provide some EMI filtering. If you reduced its value then it would be sensible to put a low value capacitor (about 100p) beyond it from the input of the op amp to ground. This is all about the EMC stuff we were discussing elsewhere in the forum.
Title: Re: Opinions About Boost Design
Post by: FSFX on January 17, 2023, 05:56:00 PM
In fact I would recommend to keep R5 as 10k and to add a 100pF capacitor from IC2 pin 3 to ground (i.e. across R6) anyway.
That will provide a high end cutoff at about 10kHz when you drive the circuit from a 100k source impedance.
Normally you would likely be driving it from a lower impedance so the cutoff would be up to 100kHz.
That should provide quite adequate RF filtering at the input.
Title: Re: Opinions About Boost Design
Post by: spacecommandant on January 17, 2023, 06:18:59 PM
Quote from: FSFX on January 17, 2023, 05:56:00 PM
In fact I would recommend to keep R5 as 10k and to add a 100pF capacitor from IC2 pin 3 to ground (i.e. across R6) anyway.
That will provide a high end cutoff at about 10kHz when you drive the circuit from a 100k source impedance.
Normally you would likely be driving it from a lower impedance so the cutoff would be up to 100kHz.
That should provide quite adequate RF filtering at the input.
That's helpful, thank you.
And I suppose the 1M pulldown resistors R4 and R9 can be removed if there's no on/off switch.. does that require a change of any of the cap values?
Title: Re: Opinions About Boost Design
Post by: FSFX on January 17, 2023, 07:06:03 PM
Quote from: spacecommandant on January 17, 2023, 06:18:59 PM
And I suppose the 1M pulldown resistors R4 and R9 can be removed if there's no on/off switch.. does that require a change of any of the cap values?

I would still keep them as they provide a DC path to ground to keep the charge on C9 and C13 so they don't create any transients when an input or output device is plugged in. As they are just DC 'bleed' type of resistors then R4 could be higher in value (say 4M7 or 10M) if required to minimise the effect on the input impedance.
Title: Re: Opinions About Boost Design
Post by: spacecommandant on January 17, 2023, 07:32:00 PM
And if I were to add a Tuner Out Jack, would splitting the signal on the output of the first buffer be a good spot to put it?
Title: Re: Opinions About Boost Design
Post by: merlinb on January 18, 2023, 03:47:15 AM
Quote from: spacecommandant on January 17, 2023, 04:40:57 PM
The reason I used an inverting stage was to be able to completely kill the signal when the Volume pot was CCW (foot pedal in heel position),
So swap the pot positions, so the footpedal is a simple volume control to ground?
Title: Re: Opinions About Boost Design
Post by: antonis on January 18, 2023, 06:11:49 AM
Quote from: spacecommandant on January 17, 2023, 04:40:57 PM
The reason I used an inverting stage was to be able to completely kill the signal when the Volume pot was CCW (foot pedal in heel position)

You know, of course, that there aren't pots of zero absolute minimum resistance.. :icon_wink:
Title: Re: Opinions About Boost Design
Post by: PRR on January 18, 2023, 02:07:47 PM
Quote from: antonis on January 18, 2023, 06:11:49 AM
You know, of course, that there aren't pots of zero absolute minimum resistance.. :icon_wink:

And if you really want to go to ZERO, why even have a guitar?

20dB, 30dB, maybe 40dB is plenty of cut for most musical situations. So 1% even 10% of end resistance doesn't hurt the music (it can offend the buyer who thought he could buy silence).
Title: Re: Opinions About Boost Design
Post by: ElectricDruid on January 18, 2023, 04:07:07 PM
If this boost is being controlled by a foot pedal, it's unlikely that it uses the full range of the pot anyway, so even designing it to "go to zero" probably won't ensure that it does.

My preferred approach would be to use a single dual op-amp, with the first one set up as a non-inverting boost, and then swap the pots over as Merlin suggested, so that the foot pedal is now controlling the volume (the pot to ground) rather than the gain (the pot in the feedback loop). The second op-amp can then go after the volume control as a buffer to drive whatever follows and give the whole unit a nice low output impedance.

In theory this would be able to give you zero (or as close as pots get, before Antonis steps in to correct me!) if you turn the volume control right down, but since the pot is being waggled by a foot pedal, we probably won't get all the way down. Though you might be able to tweak it to get close, I'd be cautious about adjusting the pot so the pedal pushes it to the end of its track - you're stamping on this with your foot and you could easily shove the wiper straight off the end of the track and bust the pot if you push it too far.

Title: Re: Opinions About Boost Design
Post by: spacecommandant on January 31, 2023, 04:00:29 PM
Brian at Madbean responded and drew up a schematic which was similar to what you're all describing and he added an optional passive/active switch at the input..
I also decided to add a tuner output.
I tried it and it works great but I decided to take a shot at the circuit again using 5532 OpAmps instead of TL072.
I changed the inverting stages to non-inverting and added 100r resistors at the +inputs and outputs to help avoid stray capacitance, which is something I've read to do with the 5532.
I'm not positive what the best value would be for C4.
I haven't breadboarded this yet, so I'd love to hear any opinions on this version...

Thanks again for everybody's input!


(https://i.postimg.cc/8jscpFdG/VOLUME-BOOST-5532.png) (https://postimg.cc/8jscpFdG)
Title: Re: Opinions About Boost Design
Post by: antonis on January 31, 2023, 04:24:01 PM
NE5532 input bias current (worst case scenario) could be as high as 1000nA (1μA) and create a bias offset a high as -1V..!! :icon_wink:
(due to NE5532 n-p-n BJTs input..)
This could be OK for IC1_A, IC_B and IC2_A (always dependent on input signal amplitude) but might create issues for IC2_B gain stage..

Despite the above mentioned bias offfset, I'd place a cap between R10 & GND (to roll-off DC gain to unity) and make R16 12k..

P.S.
C4 value can be as high as 1nF (16kHz LPF corner frequency for MAX pot set FCW)
R8 & R9 seem usless here..

edit: Didn't realize 18V supply so plz ignore all about bias offset but DO implement the R10 series cap.. :icon_wink:
Title: Re: Opinions About Boost Design
Post by: spacecommandant on January 31, 2023, 07:10:59 PM
Quote from: antonis on January 31, 2023, 04:24:01 PM
NE5532 input bias current (worst case scenario) could be as high as 1000nA (1μA) and create a bias offset a high as -1V..!! :icon_wink:
(due to NE5532 n-p-n BJTs input..)
This could be OK for IC1_A, IC_B and IC2_A (always dependent on input signal amplitude) but might create issues for IC2_B gain stage..

Despite the above mentioned bias offfset, I'd place a cap between R10 & GND (to roll-off DC gain to unity) and make R16 12k..

P.S.
C4 value can be as high as 1nF (16kHz LPF corner frequency for MAX pot set FCW)
R8 & R9 seem usless here..

edit: Didn't realize 18V supply so plz ignore all about bias offset but DO implement the R10 series cap.. :icon_wink:

Thanks for that.
I should have also mentioned I'll be adding a 1uF tantalum and 100n film from both of the 5532 V+ and V- pins to Vref, also something I read as being a good idea to do.
If I calculated correctly, a 10uF should be a good size for the R10 series cap?
I'm also curious why R16 should be 12k. I trust your judgement, I'm just not knowledgeable enough about circuits yet.
Thanks again for your input!
Title: Re: Opinions About Boost Design
Post by: merlinb on February 01, 2023, 05:48:20 AM
5532 is a suboptimal choice for this circuit, stick with the TL07x. What's the bypass switch for?
IC1_B and IC2_A appear to be redundant, you could do everything with just two opamps (one IC).
Title: Re: Opinions About Boost Design
Post by: ElectricDruid on February 01, 2023, 06:42:18 AM
Quote from: spacecommandant on January 31, 2023, 04:00:29 PM
(https://i.postimg.cc/8jscpFdG/VOLUME-BOOST-5532.png) (https://postimg.cc/8jscpFdG)

As Merlin said, don't use the 5532. Don't add 100r's everywhere. And get rid of two op-amps which aren't doing anything useful. That'll save you more noise than any change to 5532 might be supposed to do.

The circuit needs brutal pruning to get it down to something more realistic. The R7/R8/R9 combination is a giveaway!
Title: Re: Opinions About Boost Design
Post by: antonis on February 01, 2023, 06:54:49 AM
Quote from: spacecommandant on January 31, 2023, 07:10:59 PM
I should have also mentioned I'll be adding a 1uF tantalum and 100n film from both of the 5532 V+ and V- pins to Vref, also something I read as being a good idea to do.

The addition of those caps is indeed a good idea but the exact placement is a very bad one.. :icon_wink:
Vref should be kept as clean as can be.. :icon_wink:
(C12 takes care of this and we don't want it to bear down on extra burden..)
ICs supply decoupling should be implemented directly between V+ and V- or between V+ and GND (in case of single supply, like here..)

Quote from: spacecommandant on January 31, 2023, 07:10:59 PM
If I calculated correctly, a 10uF should be a good size for the R10 series cap?

If 12Hz corner frequency is OK with you..
In general, input and feedback HPFs corner frequencies tend to be equal but there are many applications where the later corner frequency is set higher than the former one for a steeper slope..

Quote from: spacecommandant on January 31, 2023, 07:10:59 PM
I'm also curious why R16 should be 12k. I trust your judgement, I'm just not knowledgeable enough about circuits yet.

R19 (not R16, typo..) :icon_redface: should be 12k to raise Vref for voltage drop across 1M bias resistors counteracting, in case of NE5532 implementation....
(but this should stand for relatively low Vref values in conjunction with signals of high amplitude..)
Title: Re: Opinions About Boost Design
Post by: antonis on February 01, 2023, 09:34:03 AM
I think OP should be happy with something like below:  :icon_wink:

(https://i.imgur.com/ANsISjp.png)
Title: Re: Opinions About Boost Design
Post by: FiveseveN on February 01, 2023, 09:55:43 AM
Almost I think. The purpose of a tuner output is to stay on even when the main output is muted (while tuning, hopefully) and as this is a volume pedal, a muting switch is redundant. Still not clear on what the original switch was supposed to do but it wasn't a footswitch, right?
Title: Re: Opinions About Boost Design
Post by: spacecommandant on February 01, 2023, 11:07:47 AM
The switch was added as a toggle to choose between active/passive input direct from a guitar but at this point I've decided to actually ditch it and have it be strictly active.
Title: Re: Opinions About Boost Design
Post by: spacecommandant on February 01, 2023, 02:12:55 PM
If I eliminated the switch, what do you think about R5 and C5 values?
EDIT: I just looked again and realize R1 and R5 together act as parallel resistors.... so eliminate R5?
I'm also wondering how the volume pot sweep will react when this is placed after other pedals. As I understand it, 250k and 500k volume pots are generally used in volume pedals with the intention of being plugged directly into the guitar, with 25k pots often used in volume pedals to be used after other pedals.
(https://i.postimg.cc/xXPnRV5P/VOLUME-BOOST-Simplified.png) (https://postimg.cc/xXPnRV5P)
Title: Re: Opinions About Boost Design
Post by: antonis on February 01, 2023, 03:05:34 PM
There is no reason for both R1 & R5 existence.. :icon_wink:
(either can serve as pull-down resistor for both C1 and C5..)
Title: Re: Opinions About Boost Design
Post by: spacecommandant on February 01, 2023, 03:11:14 PM
Thanks
Title: Re: Opinions About Boost Design
Post by: spacecommandant on February 01, 2023, 03:42:56 PM
I appreciate everybody's input.
Would the addition of a non-inverting buffer at the beginning of the circuit be an advantage in some situations? I'm just trying to anticipate any issues if this is used at the end of a chain of pedals.
Title: Re: Opinions About Boost Design
Post by: GibsonGM on February 01, 2023, 03:52:16 PM
Nah.  You could test the theory out by breadboarding this, then putting any Boss pedal before it - they are buffered when bypassed, so would show what that would 'sound' like.  I think no difference, personally!  No advantage to it, the boost input impedance is already high.
Title: Re: Opinions About Boost Design
Post by: antonis on February 01, 2023, 03:54:58 PM
Quote from: spacecommandant on February 01, 2023, 03:42:56 PM
Would the addition of a non-inverting buffer at the beginning of the circuit be an advantage in some situations?

Only for Input signal sources of high output impedance..
(more than 25k for IC1_A and more than 50k for IC1_B, following the 1:10 rule of thumb..)

But, as Sir Mike said above, go ahead.. :icon_wink:

Title: Re: Opinions About Boost Design
Post by: spacecommandant on February 01, 2023, 04:31:40 PM
Sorry for a million questions but I'm trying to wrap my head around this.
Would you see any advantage in changing the volume pot to an A500k?
Title: Re: Opinions About Boost Design
Post by: antonis on February 01, 2023, 04:38:18 PM
Higher input impedance for IC1_A but higher noise level, also..

If you really worry about Boost circuit input impedance, place a buffer in front of C1, make Volume pot 10k or so and oversize C1..

But, once more, let it be as it is.. :icon_wink:
Title: Re: Opinions About Boost Design
Post by: GibsonGM on February 01, 2023, 05:04:15 PM
Nothing 'teaches' about impedance and mismatch effects more than playing with your guitar 'toys' like coiled patch cords, fuzz faces & wahs, the wrong pots installed in a guitar...but still coming up with something you like. So then you use your rig in bands or whatever for ages. Maybe later, you learn that it was ALL WRONG, that you had TONE SUCKING - but you LIKED IT!  LOL   What should have sounded horrible somehow sounded GOOD...it can happen.     

I hate TOO high an input impedance. Leave that for piezos.  I often play my LP into a Fender amp thru a non true bypass wah that is "off",  because I WANT it to suck some highs out.  Same for the curly cord.  Sometimes I load tube stages too much to warm things up.  Mess around, do it wrong, do it right...find out what makes your sound what you want it to be :)  There isn't a 'right' formula for this other than the general rules of 'hi input impedance, low output impedance'...that is usually what will sound good. 

Breadboard your boost, and see if you like the sound.  Put a buffer or buffered pedal out front, listen again :)  Then decide if you want a buffer in there permanently, or something you can switch in, or none at all.  Chances are good that everything else you use will follow 'the rules' and play nicely with your boost...
Title: Re: Opinions About Boost Design
Post by: spacecommandant on February 01, 2023, 06:41:43 PM
Yeah, I'm really happy with the way this sounds... very grateful for the advice.
I also can't hear a difference when I plug the guitar directly in or if there's a buffered pedal in between, so I'm not going to worry about it.
One more question, though (I apologize but this is fascinating learning about this)!
When the Max pot and Volume pot are turned all the way down, the pedal is basically dead quiet... except when I'm using my guitar with fairly hot humbuckers... the signal is faint but noticeable.
My passive Ernie Ball volume pedal doesn't pass an audible signal when it's all the way down.
What would be the approach to attempt to completely eliminate the signal in this circuit when the Volume pot is at 'zero?'
(BTW, I'm turning the pot with my hand and can confirm it's rotated fully)
Title: Re: Opinions About Boost Design
Post by: GibsonGM on February 01, 2023, 08:16:56 PM
Interesting question commandant, one I have not encountered :)  Does it have to be DEAD quiet with everything rolled back?  I've never had a need for that...but I put my volume pots on the output, so my stuff COULD go to zero.   The way of doing volume above is actually 'better' tho, doesn't affect output impedance.   

The formula for the gain of a noninverting opamp gain stage like that is 1+Rf/Ri, or 1+ Gain/Volume pot resistances.  The resistance in those pots will be tiny, but not absolute zero (no division by zero!); but we can discard that for now.  That leaves the "1".   This says that the stage won't ever be less than gain of "1", or unity gain.

I'm sure there's a trick to change the volume or gain pot to go to Zero signal, just eluding me now as I'm about to go do some recording.  Let's see what Antonis or others might suggest!  But the "1" is "why". 
Title: Re: Opinions About Boost Design
Post by: spacecommandant on February 01, 2023, 08:42:17 PM
Quote from: GibsonGM on February 01, 2023, 08:16:56 PM
Interesting question commandant, one I have not encountered :)  Does it have to be DEAD quiet with everything rolled back?  I've never had a need for that...but I put my volume pots on the output, so my stuff COULD go to zero.   The way of doing volume above is actually 'better' tho, doesn't affect output impedance.   

The formula for the gain of a noninverting opamp gain stage like that is 1+Rf/Ri, or 1+ Gain/Volume pot resistances.  The resistance in those pots will be tiny, but not absolute zero (no division by zero!); but we can discard that for now.  That leaves the "1".   This says that the stage won't ever be less than gain of "1", or unity gain.

I'm sure there's a trick to change the volume or gain pot to go to Zero signal, just eluding me now as I'm about to go do some recording.  Let's see what Antonis or others might suggest!  But the "1" is "why".

I ended up changing the 10uF cap (C11) to 220uF and it's now totally silent when the Volume pot is at zero.
Title: Re: Opinions About Boost Design
Post by: antonis on February 02, 2023, 07:50:22 AM
Can't get the reason for a dead silent effect, but let it be.. :icon_wink:

For MAX pot set fully CCW, IC1_A turns into unity gain buffer (signal on pin 7 is in phase with pin 5 and of equal amplitude)..
(meaning whatever comes into pin 5 comes out of pin 7 identical..)

250k pot, C11, R11, R10 and C10 form a rather complex LPF with 250k pot serving as the "upper" element..
Any non-zero resistance between pot wiper and lug 1 is added on filter's "lower" part, hence raising its corner frequency..
(which frequency is drastically lowered again by making C11 bigger..)

IMHO, hot humbuckers might upset VR, dominating op-amp's power supply rejection, hence passing AC into pin 5..
(interpreted as a faint input signal..)