# High frequency ripple and decoupling capacitors

**URL:** <https://lookmumnocomputer.discourse.group/t/high-frequency-ripple-and-decoupling-capacitors/3676>\
**Category:** DIY STUFF\
**Created:** [June 23, 2021, 1:37am UTC](https://lookmumnocomputer.discourse.group/t/high-frequency-ripple-and-decoupling-capacitors/3676 "2021-06-23T01:37:06Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![handsomegenius](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@handsomegenius](https://lookmumnocomputer.discourse.group/u/handsomegenius)\
**Post date:** [June 23, 2021, 1:37am UTC](https://lookmumnocomputer.discourse.group/t/high-frequency-ripple-and-decoupling-capacitors/3676/1 "2021-06-23T01:37:06Z")

</div>

Whenever I search for anything about decoupling and ripple, there seem to be two kinds of results:

1. Incredibly direct and simple answers like “just stick a big electrolytic on the power rails and a ceramic on each IC”. Very easy to follow, but doesn’t really help me to advance my understanding beyond that

2. Incredibly long and detailed discussions of ESR, ESL and resonant frequencies that seem to be written for professional engineers. I have a very loose idea of what those things are, but I can’t just intuitively apply them to my circuits, nor can I do the maths

The other thing is that, much of this discussion also seems to not be about audio but radio or computing or something.

Anyway, here’s what I’m stuck on

1. Is ripple above a certain frequency ever just too far from the audio band to really matter for synth diy?

2. Do we even have to worry about self resonant frequencies in synth diy? Or are they too far away to be important? Does this differ by material?

3. Will a larger value ceramic across the pins always do more to clean up noise and ripple than a smaller one? Or is there some kind of practical trade off?

4. Are higher switching frequencies on a power supply generally better because the amplitude of the ripple is smaller and the decoupling caps can soak it up better…

---

<div class="post-metadata">

**Author:** ![analogoutput](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/analogoutput/32/29663_2.png) [@analogoutput](https://lookmumnocomputer.discourse.group/u/analogoutput)\
**Post date:** [June 23, 2021, 2:49am UTC](https://lookmumnocomputer.discourse.group/t/high-frequency-ripple-and-decoupling-capacitors/3676/2 "2021-06-23T02:49:38Z")

</div>

[![](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/2X/f/f01bc531c2a057b7fd6d5e66ffc284ac02a2918a.jpeg "EEVblog #859 - Bypass Capacitor Tutorial") ](https://www.youtube.com/watch?v=BcJ6UdDx1vg)

---

<div class="post-metadata">

**Author:** ![TimMJN](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/timmjn/32/15227_2.png) [@TimMJN](https://lookmumnocomputer.discourse.group/u/TimMJN)\
**Post date:** [June 23, 2021, 8:17am UTC](https://lookmumnocomputer.discourse.group/t/high-frequency-ripple-and-decoupling-capacitors/3676/3 "2021-06-23T08:17:27Z")

</div>

also: [https://www.allaboutcircuits.com/technical-articles/clean-power-for-every-ic-part-1-understanding-bypass-capacitors/](https://www.allaboutcircuits.com/technical-articles/clean-power-for-every-ic-part-1-understanding-bypass-capacitors/)

---

<div class="post-metadata">

**Author:** ![handsomegenius](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@handsomegenius](https://lookmumnocomputer.discourse.group/u/handsomegenius)\
**Post date:** [June 23, 2021, 11:09am UTC](https://lookmumnocomputer.discourse.group/t/high-frequency-ripple-and-decoupling-capacitors/3676/4 "2021-06-23T11:09:23Z")

</div>

Thanks. This is a really good video but it doesn’t really say anything about ripple or audio

---

<div class="post-metadata">

**Author:** ![analogoutput](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/analogoutput/32/29663_2.png) [@analogoutput](https://lookmumnocomputer.discourse.group/u/analogoutput)\
**Post date:** [June 23, 2021, 11:57am UTC](https://lookmumnocomputer.discourse.group/t/high-frequency-ripple-and-decoupling-capacitors/3676/5 "2021-06-23T11:57:14Z")

</div>

I take that to mean bypass capacitors have little to do with ripple or audio.

---

<div class="post-metadata">

**Author:** ![moscione](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@moscione](https://lookmumnocomputer.discourse.group/u/moscione)\
**Post date:** [June 23, 2021, 4:56pm UTC](https://lookmumnocomputer.discourse.group/t/high-frequency-ripple-and-decoupling-capacitors/3676/6 "2021-06-23T16:56:43Z")

</div>

> [@handsomegenius](#):
>
> Is ripple above a certain frequency ever just too far from the audio band to really matter for synth diy?

No, it does not matter, if you do it correctly.

> **[Audio Myth - "Switching Power Supplies are Noisy"](https://benchmarkmedia.com/blogs/application_notes/152143111-audio-myth-switching-power-supplies-are-noisy)**
>
> This Myth Goes Something Like This: "Switching supplies are noisy." "Linear power supplies are best for audio." We disagree!

> **[How to Choose the Frequency of Your Switching Regulator - Technical Articles](https://www.allaboutcircuits.com/technical-articles/how-to-choose-the-frequency-of-your-switching-regulator/)**
>
> This article discusses some details—efficiency, noise, etc.—that influence the choice of operational frequencies for switch-mode power supplies.

[![](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/3X/d/0/d0391e0e7d0935e70c0619c001f2ed22861498f6.jpeg "Ground in PCB Layout - Separate or Not Separate? (with Rick Hartley)") ](https://www.youtube.com/watch?v=vALt6Sd9vlY&t=1179s)

> [@handsomegenius](#):
>
> Do we even have to worry about self resonant frequencies in synth diy? Or are they too far away to be important? Does this differ by material?

That depends mostly on the ICs you are using, but the oscillation can be prevented by adding capacitors to feedback loops in op-amps, for example.

> **[gpl\_opa\_osc\_load\_capa-e.pdf](https://fscdn.rohm.com/en/products/databook/applinote/ic/amp_linear/opamp/gpl_opa_osc_load_capa-e.pdf)**
>
> 755.14 KB

> [@handsomegenius](#):
>
> Will a larger value ceramic across the pins always do more to clean up noise and ripple than a smaller one? Or is there some kind of practical trade off?

[![](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/2X/f/ffb0d2647054f60200f8ac0fbba620821a5c325f.jpeg ""You must Unlearn what You have Learned"") ](https://www.youtube.com/watch?v=y4REmZlE7Jg)

> [@handsomegenius](#):
>
> Are higher switching frequencies on a power supply generally better because the amplitude of the ripple is smaller and the decoupling caps can soak it up better…

Yes, but there are trade-offs in efficiency, see above.

---

<div class="post-metadata">

**Author:** ![handsomegenius](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@handsomegenius](https://lookmumnocomputer.discourse.group/u/handsomegenius)\
**Post date:** [June 24, 2021, 12:04am UTC](https://lookmumnocomputer.discourse.group/t/high-frequency-ripple-and-decoupling-capacitors/3676/7 "2021-06-24T00:04:39Z")

</div>

No, it means that it doesn’t touch on the specific things that I was asking.

---

<div class="post-metadata">

**Author:** ![handsomegenius](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@handsomegenius](https://lookmumnocomputer.discourse.group/u/handsomegenius)\
**Post date:** [June 24, 2021, 12:07am UTC](https://lookmumnocomputer.discourse.group/t/high-frequency-ripple-and-decoupling-capacitors/3676/8 "2021-06-24T00:07:34Z")

</div>

This is awesome! Thanks dude.

---

<div class="post-metadata">

**Author:** ![analogoutput](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/analogoutput/32/29663_2.png) [@analogoutput](https://lookmumnocomputer.discourse.group/u/analogoutput)\
**Post date:** [June 24, 2021, 12:14am UTC](https://lookmumnocomputer.discourse.group/t/high-frequency-ripple-and-decoupling-capacitors/3676/9 "2021-06-24T00:14:39Z")

</div>

I mean I think it doesn’t touch on the specific things that you were asking because bypass capacitors are not especially important to the specific things you were asking about (ripple and audio distortion).

---

<div class="post-metadata">

**Author:** ![handsomegenius](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@handsomegenius](https://lookmumnocomputer.discourse.group/u/handsomegenius)\
**Post date:** [June 24, 2021, 12:29am UTC](https://lookmumnocomputer.discourse.group/t/high-frequency-ripple-and-decoupling-capacitors/3676/10 "2021-06-24T00:29:32Z")

</div>

Geez louise! Why would you have me watch a half hour video then?

---

<div class="post-metadata">

**Author:** ![analogoutput](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/analogoutput/32/29663_2.png) [@analogoutput](https://lookmumnocomputer.discourse.group/u/analogoutput)\
**Post date:** [June 24, 2021, 12:54am UTC](https://lookmumnocomputer.discourse.group/t/high-frequency-ripple-and-decoupling-capacitors/3676/11 "2021-06-24T00:54:02Z")

</div>

Sorry, I thought you wanted to learn about bypass capacitors.

---

<div class="post-metadata">

**Author:** ![handsomegenius](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@handsomegenius](https://lookmumnocomputer.discourse.group/u/handsomegenius)\
**Post date:** [June 25, 2021, 2:08am UTC](https://lookmumnocomputer.discourse.group/t/high-frequency-ripple-and-decoupling-capacitors/3676/12 "2021-06-25T02:08:27Z")

</div>

Ok, so it’s looking like I was very confused on a few points.

1. I think, because I was searching for how to clean up ripple and noise at a specific switching frequency, Google saw the phrase “switching frequency” and directed me to discussions around circuits in digital computing. Those guys were really into their ceramics because they’re kicking noise back into the power rails at 100MHz and more. These just aren’t going to make a dent in the switching frequency at tens or hundreds of kHz.

2. I was right about how capacitance and ESL interact to create a self resonant frequency, but I totally got wrong what to do with it. I’ve normally understood a resonance to be a range of frequencies that get louder, whereas here I want to make them go away. But actually, the self resonant frequency of a decoupling capacitor is where it is at its most useful, where the impedance is lowest, sending more of the AC content to ground. So I want to match that frequency as close to the ripple as is practical.

3. I’m still a bit confused as to how to actually select a cap for resonant frequency. The capacitance is clearly labeled but the ESL isn’t, and maybe it depends on the board too. It sounds like 10nH is a very vague ballpark for a medium sized electrolytic filter cap?

4. I probably need an oscilloscope if I want to get deeper into this

Thanks for your patience

---

<div class="post-metadata">

**Author:** ![konthaar043](https://avatars.discourse-cdn.com/v4/letter/k/a88e57/32.png) [@konthaar043](https://lookmumnocomputer.discourse.group/u/konthaar043)\
**Post date:** [June 26, 2021, 10:38am UTC](https://lookmumnocomputer.discourse.group/t/high-frequency-ripple-and-decoupling-capacitors/3676/13 "2021-06-26T10:38:27Z")

</div>

Yes, matching the resonant frequency of the filter network to the switching frequency makes fiktering most efficient.

Unfortunately, the self inductance of an electrolytic is not easy to control or specify, because it depends on a lot of factors (eg. Error tolerance, pcb layout, even the way it’s mounted)

You can however, put multiple capacitors in parallel to lower their effective inductance. This will of course raise the capacitance, but using a lot of smaller caps in parallel can give you the same capacitance but at a waaay lower inductance. It’s why some devices have big banks of electrolytics, instead of one large reservoir cap. Bypassing with a 100nf or so ceramic is good practice.

Hope this helps a bit, i’m no expert on this subject either.
