Total noob here working on my first guitar pedal (basically the Box Of Hall reverb). For the power supply circuit, I have copied the circuit found here (https://hotbottles.wordpress.com/2012/06/20/prototype-reverb-pedal-using-the-accutronicsbelton-btdr-2h-module/) (my version is attached) which provides both regulated 5V supply and the split power supply required by the Accutronics BTDR-2 reverb brick.
If I understand correctly, the opamp follower (aka buffer) is there to avoid impedance mismatch between the power supply and the reverb circuit. The problem is that I don't really understand what those words mean ;).
What would happen if the buffer was not there? What is impedance mismatch in simple, small words?
Secondly, what are the three capacitors doing? Just filtering noise? And why is C3 a different value?
Thank you for any shoves towards understanding you can provide!
(https://i.postimg.cc/QV0rPxZD/image.png) (https://postimg.cc/QV0rPxZD)
The voltage divider that gives you your reference voltage will really only give you V/2 if no current flows out of the middle of it. Otherwise, the voltage will be less than V/2 or fluctuate as the load varies. Sometimes, the fluctuation of this node can cause signals to undesirably bleed through to other parts of the circuit. The buffer essentially stabilizes the V/2 voltage under a varying load, or keeps it from sagging under a heavier load.
Someone will soon tell you either that it is not as simple as I described, or that it is simpler than I described. They will also be correct. :icon_razz:
Edit: I forgot to say welcome to the forum! Welcome!
Well I hope no one corrects you because this makes perfect sense to me! :D
Thanks!
Quote from: erikor on November 30, 2019, 11:56:33 AM
Secondly, what are the three capacitors doing? Just filtering noise? And why is C3 a different value?
Yes, filtering noise. When used that way, the capacitors only need to be "big enough"... too big, and the worst that'll happen is that they cost more, take-up more space.
Quote from: EBK on November 30, 2019, 01:19:28 PM
Someone will soon tell you either that it is not as simple as I described, or that it is simpler than I described. They will also be correct. :icon_razz:
Sometimes those capacitors are enough by themselves, and you can leave-out the opamp -- that's how it can be simpler than EBK describes. Sometimes, you want to know *exactly* how simple it can be -- that's when it can be
MUCH less simple than EBK describes.
Anyhoo, welcome to the forum! And don't forget to let us know how your build works-out... don't leave us hanging just because it works perfectly straight-away (I can only speak for myself here, but mine almost never do).
Quote from: erikor on November 30, 2019, 11:56:33 AM
And why is C3 a different value?
(https://i.postimg.cc/QV0rPxZD/image.png) (https://postimg.cc/QV0rPxZD)
R1 C3 form an RC low pass filter and the values would be designed to filter out undesirable freqauncies.
Quote from: Kipper4 on December 01, 2019, 05:02:05 AM
Quote from: erikor on November 30, 2019, 11:56:33 AM
And why is C3 a different value?
(https://i.postimg.cc/QV0rPxZD/image.png) (https://postimg.cc/QV0rPxZD)
R1 C3 form an RC low pass filter and the values would be designed to filter out undesirable freqauncies.
Another way to look at it is that C3 is arbitrarily large. Without the buffer, C3 would help stabilize the reference voltage some.
With the buffer, I'm not even sure C3 contributes much of anything (I'd probably still include it though).
hello a welcome also. not to muddy the waters, but 100uF on the output of a regulator is hardly ever the correct value. by a factor of about 100.
Quote from: duck_arse on December 01, 2019, 08:45:25 AM
hello a welcome also. not to muddy the waters, but 100uF on the output of a regulator is hardly ever the correct value. by a factor of about 100.
I typically use 10μF. Am I off by a factor of 10 or 1000?
Edit: I just looked at a datasheet. I'm off by a factor of 100. :icon_redface: 100nF ceramic is recommended. Guess I will save my electrolytic caps for other things.
Quote from: EBK on December 01, 2019, 09:34:56 AMGuess I will save my electrolytic caps for other things.
And your space, too.
Quote from: erikor on November 30, 2019, 11:56:33 AM
What is impedance mismatch in simple, small words?
I'm going to attempt to answer this in a practical way that may bother some people (apologies in advance).
Impedance "matching" is something we don't generally need to be concerned with in pedal circuits. Instead, think of impedances as input/output, high/low. A circuit block acts as a good neighbor if it has a high input impedance and a low output impedance. What is a good neighbor? It doesn't ask too much of the circuit block that feeds its input, and it is generous and flexible with its output. A buffer can turn a bad or mediocre neighbor into a good one.
Duck_arse, I found that circuit on the internet. It must be right. ;D
I will join EBK and drop it into nanofarad range.
> What would happen if the buffer was not there?
Then you have a 4-pack opamp chip with only 3 opamps used. You have to do "something" with the leftover opamp or it may run wild, squeal, disturb the audio. Using it as Vref buffer is a zero-cost answer.
Whether a Vref needs buffering, or just a big cap, or nothing at all, is a system design question. If heavy loads hang on the Vref, Vref will shift or wander. In Box Of Hall, the 25k Reverb pot full-down end can kick reverb signal into Vref. If not swamped-out somehow, that leaks into IC1c and IC1d and contaminates those signals. One is unintended regeneration, the other is reverb in the output when no reverb is wanted.
A big cap on Vref could swamp these effects for midrange. If you want very-very low leakage to deep bass, it may have to be a really large cap. As big as 50uFd. Which is what this guy already has just to swamp the 5k divider. The "advantage" of the buffer is even less cross-leak under 100Hz.
Oh, you want "some" cap on the divider. Otherwise it feeds half the crap on the "9V" into the heart of the circuit. 10u will greatly reduce 50-120hz crap. 47u is generous but may not matter to size or cost; maybe the Designer buys 47u like candy.
Quote from: PRR on December 01, 2019, 03:14:51 PM
> What would happen if the buffer was not there?
Then you have a 4-pack opamp chip with only 3 opamps used. You have to do "something" with the leftover opamp or it may run wild, squeal, disturb the audio. Using it as Vref buffer is a zero-cost answer.
Oof didn't even think about that. As it happens, the rest of the reverb circuit leaves one opamp unused. I better do something about that.
Thanks!
Thank you SO much to all for these very informative responses. I will post back with results of the build!
Quote from: PRR on December 01, 2019, 03:14:51 PMmaybe the Designer buys 47u like candy.
If you salvage CFLs, you will have plenty of these, which, in my experience, test fine, but they are portly, being rated for higher voltages.
So I have gathered all my parts and am about to build. But while reading about opamps and studying my circuit above, I notice I have drawn the voltage input connected to the inverting input of the opamp instead of the non-inverting input (which is actually not the way this power supply circuit is shown on The Internet). But after reading a bit more and even simulating the circuit (on circuitlab.com), it seems it does not matter.
Does it matter?
Thanks again!
Yes, it matters. Flip your circuit around to match the others you've seen. Positive feedback makes an amp oscillate or saturate (possibly both), not act as a buffer.
Well after swapping around the power supply op amp pins and swapping around the LED pins which I also had backwards in my schematic (not shown above), it works! Sounds pretty good even.
A couple issues to work on for the future:
1. There is a switch pop (obvious if nothing is being played, imperceptible mid-riff). Looks like Mr. Black has some good information about that here: https://www.mrblackpedals.com/blogs/straight-jive/6629778-what-really-causes-switch-pop (https://www.mrblackpedals.com/blogs/straight-jive/6629778-what-really-causes-switch-pop)
2. There is a bit of a hum when nothing is playing.
A BIG thank you to all of you for your help on this first build!
Baby picture attached!
(https://i.postimg.cc/DmFnvNBF/IMG-2104.jpg) (https://postimg.cc/DmFnvNBF)
Quote from: erikor on December 28, 2019, 05:06:45 PM
Looks like Mr. Black has some good information about that here: https://www.mrblackpedals.com/blogs/straight-jive/6629778-what-really-causes-switch-pop (https://www.mrblackpedals.com/blogs/straight-jive/6629778-what-really-causes-switch-pop)
IMHO, Mr. Black expounds a very "personal" stance of popping.. :icon_cool:
What is the correct placement for the Filter cap on a Vref Voltage Follower?
I see they are not all placed same in every circuit. Take for instance the Angry Charles circuit from the PedalPCB.com pdf,
it has the cap placed after the op amp. See attached image.
This is contrary to the circuit from the opening post in this thread.
And then I read from a contributor on the electronics stackexchange that
"Op-amps generally can't handle excessive capacitance on their outputs"
That doesnt say much then for the Angry Charles Vref voltage follower if that case holds true.
https://electronics.stackexchange.com/questions/487659/voltage-reference-with-op-amp-buffer-and-additional-filtering
So which actually is it, or does it even matter?
I had in mind to do a vref follower similar to the angry charles , but using only a 10uF cap rather than the 100uF on the A. Charles schematic.
(https://i.postimg.cc/rRFkxVD5/Angry-Charles-Vref-Voltage-follower.png) (https://postimg.cc/rRFkxVD5)
Quote from: bluelagoon on May 31, 2023, 02:39:59 AM
That doesnt say much then for the Angry Charles Vref voltage follower if that case holds true.
No, it doesn't. Josh is more of a historian than an EE. Definitely don't load a TL072 with 100u.
Yeah well I figured as much 100uF was a bit of overkill, judging by general consensus, but more to the point, where is it right to be placed, before the opamp or after the opamp?, Like I said earlier one person commented concerning Vref Voltage followers elsewhere that -
"Op-amps generally can't handle excessive capacitance on their outputs"
Is that statement relevant to where this capacitor should rightly be placed?
Quote from: bluelagoon on May 31, 2023, 04:28:26 AM
"Op-amps generally can't handle excessive capacitance on their outputs"
Is that statement relevant to where this capacitor should rightly be placed?
Well, it's a big ass cap and it's right on the output, so it's very much relevant. Plus it acts like a short to ground while it charges (TL072s love that :icon_rolleyes:).
Look at the original post in this thread: C3 shunts R1 and R2's Johnson noise. But seeing as the op amp's input is roughly infinite ohms, the resistors can be bigger and the cap proportionally smaller (thus cheaper).
LE: Some 4 years late I just noticed the inverting and non-inverting inputs are swapped in that schematic. You get the idea, it's supposed to be a buffer.
If you DO insist to place a cap on buffered Vref, you'll have to place an output series resistor.. :icon_wink:
https://www.analog.com/en/analog-dialogue/articles/techniques-to-avoid-instability-capacitive-loading.html (https://www.analog.com/en/analog-dialogue/articles/techniques-to-avoid-instability-capacitive-loading.html)
Yeah But Nah But, what if I place that filter cap before the op amp, as in the first image posted first post this thread, will I still need this output series resistor? Thanks.
:icon_biggrin: :icon_biggrin: :icon_biggrin:
No..!!
(unless, of course, buffer output drives some other significant capacitance.. - stray one included..)
An op amp used as a buffer for Vref has some advantages. If you are providing the bias for two or more stages, the low output impedance of the op amp buffer keeps the signal at one Vref point from contaminating the signal at any other point because the output impedance of the buffer is very low, on the order of a few ohms. In some cases, without the Vref buffer, you might want separate Vref dividers for each place where Vref is used to avoid feedback from one circuit that uses Vref to another circuit that uses Vref.
As far as adding a large capacitor to the output of an op amp, DON'T! The op amp used as a buffer is set for unity gain and the feedback from output to inverting input maintains this gain. But each op amp has an output impedance that varies with frequency, so imagine a resistor connected to the output of the op amp. If this is connected to a capacitor to ground, this acts as a lowpass filter that reduces the amount of feedback at higher frequencies. Then the feedback connection that provides unity gain is turned into a lowpass filter giving a rising gain characteristic that intersect the op amp's falling gain characteristic and you may get oscillation or at least a poor transient response.
Quote from: amptramp on May 31, 2023, 07:09:07 AM
In some cases, without the Vref buffer, you might want separate Vref dividers for each place where Vref is used to avoid feedback from one circuit that uses Vref to another circuit that uses Vref.
What Ron said.. :icon_wink:
https://aionfx.com/app/files/docs/theseus_kit_documentation.pdf (https://aionfx.com/app/files/docs/theseus_kit_documentation.pdf)
Look at page 28 VB & VD configuration..
+1 what the others have said.
The cap goes on the voltage divider, so that the op-amp sees a stable filtered voltage to buffer.
You *can* add a proper RC filter after the op-amp, but then your nicely buffered reference voltage will move about with changing current draw again, just like you were trying to avoid - so why would you?
Adding hefty caps to ground directly on the output of the op-amp is just wrong and likely to cause problems. The fact that some circuits have done it and apparently got away with it in most cases doesn't make it a good idea. At all.
Yeah, What Ron said!
Thankyou all for your patience and kind explanations. Cheers.
Quote from: bluelagoon on May 31, 2023, 02:39:59 AM
This is contrary to the circuit from the opening post in this thread.
And then I read from a contributor on the electronics stackexchange that
"Op-amps generally can't handle excessive capacitance on their outputs"
Quote from: FiveseveN on May 31, 2023, 05:29:03 AM
Well, it's a big ass cap and it's right on the output, so it's very much relevant. Plus it acts like a short to ground while it charges (TL072s love that :icon_rolleyes:).
Quote from: amptramp on May 31, 2023, 07:09:07 AM
As far as adding a large capacitor to the output of an op amp, DON'T!
Quote from: ElectricDruid on May 31, 2023, 08:36:51 AM
+1 what the others have said.
there. now you have a collection of people on the interwires saying it is the wrong thing to do. it is now up to you to root it out at every occurence and flag the error whenever you see it.
I just want to chime in and say what a great example of a perfect DIYSB thread this is. Clear, thought-out questions followed by clear, intelligent answers by a number of contributors, with documentation (love that capacitive-loads-on-opamps-and-what-to-do-about-them article, Antonis!)--i.e., real learning going on--and even an entirely appropriate necrobump, plus the courtesy and friendliness this place is rightfully known for.
Kudos, friends.