Author Topic: Decoupling caps value  (Read 4524 times)

0 Members and 1 Guest are viewing this topic.

Online VEGETATopic starter

  • Super Contributor
  • ***
  • Posts: 1916
  • Country: jo
  • I am the cult of personality
    • Thundertronics
Decoupling caps value
« on: June 01, 2023, 10:30:40 pm »
Hello,

I've been reading about this and watching videos to conclude what is the best answer to which values to use.

here are my current findings:

Facts:

1- decoupling caps most important thing is their location to be very near to IC power pins and short path to ground.
2- their value is not so important. 100nF is enough but 1uF is better and won't hurt.
3- their physical size is very important... as small as possible is always best. 0402 1uF seems the best choice overall.
4- adding parallel caps won't do any enhancements to decoupling, but may help reduce ripple if needed.
5- having elec. cap to dampen the rail is always recommended. having a relatively big elec. cap (10~22uF) as a local area storage is good too...won't enhance decoupling much but will help in ripple and stuff like that.

what is your take on this? can we consider 0402 1uF X7R 10V to be the best choice overall assuming the price is suitable (which is is)?

best regards

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11228
  • Country: us
    • Personal site
Re: Decoupling caps value
« Reply #1 on: June 01, 2023, 10:42:04 pm »
I'd say all this is fair.

The physical size is only important in a sense that bigger capacitors will interfere with close positioning. But if the layout allows to place bigger capacitors, there is no harm in that.

At the same time, I would not focus too much on placement near the IC on the same side of the board. Often this interferes with routing and creates a big mess of vias. In that case there is nothing wrong with placing the capacitors on the other side with a via close to the pin. Consider BGA packages, for them this is the only way to do it anyway.
Alex
 

Online VEGETATopic starter

  • Super Contributor
  • ***
  • Posts: 1916
  • Country: jo
  • I am the cult of personality
    • Thundertronics
Re: Decoupling caps value
« Reply #2 on: June 01, 2023, 10:59:32 pm »
I'd say all this is fair.

The physical size is only important in a sense that bigger capacitors will interfere with close positioning. But if the layout allows to place bigger capacitors, there is no harm in that.

At the same time, I would not focus too much on placement near the IC on the same side of the board. Often this interferes with routing and creates a big mess of vias. In that case there is nothing wrong with placing the capacitors on the other side with a via close to the pin. Consider BGA packages, for them this is the only way to do it anyway.

I thought small size such as 0402 is better than 0603 not just because of room but rather package inductance is low. most of the time I have enough space.

I am speaking mainly about 2 layer board where component placement is only on top. of course 4 layer board with internal ground and power planes will be much better.

what about ceramic dc bias effect in this regard? 100nF in 5v could be mere 10-20nF.

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11228
  • Country: us
    • Personal site
Re: Decoupling caps value
« Reply #3 on: June 01, 2023, 11:12:37 pm »
I thought small size such as 0402 is better than 0603 not just because of room but rather package inductance is low.
Yes, sure, but the difference is minuscule and in many cases theoretical for most cases. Especially if your capacitor is connected to the TQFP package with long leads and then connection goes though the bonding wire to the die. Inductance of that combo will be way greater than the difference due to the capacitor size.


I am speaking mainly about 2 layer board where component placement is only on top. of course 4 layer board with internal ground and power planes will be much better.
You can do double sided placement on two layer board too.


what about ceramic dc bias effect in this regard? 100nF in 5v could be mere 10-20nF.
100 nF was always "I don't know, lets put something" value anyway. In most cases, it is fine, especially on devices with a lot of VDD pins. If you find out that in some design it is not enough, you can fine tune it.
Alex
 

Online VEGETATopic starter

  • Super Contributor
  • ***
  • Posts: 1916
  • Country: jo
  • I am the cult of personality
    • Thundertronics
Re: Decoupling caps value
« Reply #4 on: June 01, 2023, 11:17:05 pm »
Quote
You can do double sided placement on two layer board too.

I know but my point was that 2 layer top placement is my only choice due to price and so on...etc. but I know 4 layer is best in this regard. the question was about how to do it properly in 2 layer top placement only.

Quote
100 nF was always "I don't know, lets put something" value anyway. In most cases, it is fine, especially on devices with a lot of VDD pins. If you find out that in some design it is not enough, you can fine tune it.

my opinion was that 100nF 0402 or 0603 is the default choice for normal stuff like MCUs and regular other low power chips, assuming power supply is finely designed and doesn't ring or have such problems.

However, you mentioned 100nF might not be enough, how can I know or estimate that before doing the board? and if so, isn't it better to just use 220nF-1uF 0402 0603 and never worry?

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11228
  • Country: us
    • Personal site
Re: Decoupling caps value
« Reply #5 on: June 01, 2023, 11:22:35 pm »
The only way to know for sure is to build a prototype and measure it.

Bigger does not mean better. If design has a lot of power pins (like FPGAs and high-performance MCUs often do), with 1 uF per pin and weaker power supply, you may end up with a very slow rise time. And many devices don't like that.

But if the design is simple, then sure, just place 1 uF.

In most cases the way you know there is a problem is by observing that device does not work as expected. This is where you would do investigation and know what to change.
Alex
 
The following users thanked this post: Someone

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14297
  • Country: fr
Re: Decoupling caps value
« Reply #6 on: June 01, 2023, 11:27:34 pm »
100 nF was always "I don't know, lets put something" value anyway. In most cases, it is fine, especially on devices with a lot of VDD pins. If you find out that in some design it is not enough, you can fine tune it.

Absolutely.

OTOH, I still see some engineers who put smaller value ceramic caps (like 1nF or even 100pF) in parallel with larger ceramic caps (like 1µF, 10µF) *for decoupling purposes*. In most cases, it doesn't bring anything as ceramic caps in small SMD packages, even at 10µF, have negligible parasitic inductance and very low ESR.

We might start discussing the finer details when dealing with high-frequency RF stuff, but for bypassing some logic IC, really?
 

Online VEGETATopic starter

  • Super Contributor
  • ***
  • Posts: 1916
  • Country: jo
  • I am the cult of personality
    • Thundertronics
Re: Decoupling caps value
« Reply #7 on: June 01, 2023, 11:36:41 pm »
Quote
I still see some engineers who put smaller value ceramic caps

after my latest readings and watching, I got convinced that multiple value parallel ceramics are not really beneficial.

the ones who aid this used to claim stuff about different value for different frequencies, and they post that drawing diagram..etc but the others like Eric from Robert Feranic videos says it is all about cap's inductance and placement not its own valve..etc.

Quote
In most cases, it doesn't bring anything as ceramic caps in small SMD packages, even at 10µF, have negligible parasitic inductance and very low ESR.

so 0402 10uF cap can work as good as 100nF 0402 (nearly) due to the package size. I just wanted to know the go-to value in normal situations.

Offline chilternview

  • Regular Contributor
  • *
  • Posts: 145
  • Country: gb
Re: Decoupling caps value
« Reply #8 on: June 02, 2023, 12:07:47 am »
2- their value is not so important. 100nF is enough but 1uF is better and won't hurt.

Not necessarily true, at 10MHz a 1uF may be good but at 100MHz 100nF may be better. See for example:
https://article.murata.com/en-eu/article/impedance-esr-frequency-characteristics-in-capacitors
If the self resonant frequency is lower than the primary noise frequency you are trying to decouple, a smaller value may be better.
 

Offline Someone

  • Super Contributor
  • ***
  • Posts: 4509
  • Country: au
    • send complaints here
Re: Decoupling caps value
« Reply #9 on: June 02, 2023, 02:04:24 am »
2- their value is not so important. 100nF is enough but 1uF is better and won't hurt.
Not necessarily true, at 10MHz a 1uF may be good but at 100MHz 100nF may be better. See for example:
https://article.murata.com/en-eu/article/impedance-esr-frequency-characteristics-in-capacitors
If the self resonant frequency is lower than the primary noise frequency you are trying to decouple, a smaller value may be better.
You'll have to pull out exactly where in the article you think it says a smaller value can be better, because I read it as exactly the opposite. That article reinforces the generally true concept that smaller case size is better (assuming nothing else changes).
 

Offline Someone

  • Super Contributor
  • ***
  • Posts: 4509
  • Country: au
    • send complaints here
Re: Decoupling caps value
« Reply #10 on: June 02, 2023, 02:12:18 am »
so 0402 10uF cap can work as good as 100nF 0402 (nearly) due to the package size. I just wanted to know the go-to value in normal situations.
There is no single go-to value, these existing "nice" values never made sense. Two things:
what is the (distributed) capacitance actually trying to achieve? for bypass, specify as a target impedance instead
then find whatever combination of capacitances meets that at the lowest cost, which results in things like this: https://www.eevblog.com/forum/microcontrollers/bypass-caps/msg930381/#msg930381
 

Offline PCB.Wiz

  • Super Contributor
  • ***
  • Posts: 1473
  • Country: au
Re: Decoupling caps value
« Reply #11 on: June 02, 2023, 03:34:21 am »
That article reinforces the generally true concept that smaller case size is better (assuming nothing else changes).

It does say this
Figure 7 shows an LW reverse capacitor with a short length l and large width w. From the frequency characteristics shown in Figure 8, you can see that LW reverse capacitors have lower impedance and better characteristics than a conventional capacitor of the same capacity. By using LW reverse capacitors, the same performance can be achieved as that of conventional capacitors with a fewer number of units. The reduction of unit number enables reduced costs and a reduction of mounting space.
 

Offline Someone

  • Super Contributor
  • ***
  • Posts: 4509
  • Country: au
    • send complaints here
Re: Decoupling caps value
« Reply #12 on: June 02, 2023, 04:21:36 am »
That article reinforces the generally true concept that smaller case size is better (assuming nothing else changes).
It does say this
Figure 7 shows an LW reverse capacitor with a short length l and large width w. From the frequency characteristics shown in Figure 8, you can see that LW reverse capacitors have lower impedance and better characteristics than a conventional capacitor of the same capacity. By using LW reverse capacitors, the same performance can be achieved as that of conventional capacitors with a fewer number of units. The reduction of unit number enables reduced costs and a reduction of mounting space.
Which is another point further again: "normal" vs wide electrodes and their reduction of the loop area + reduction in ESR (again generally).
 

Online Siwastaja

  • Super Contributor
  • ***
  • Posts: 8106
  • Country: fi
Re: Decoupling caps value
« Reply #13 on: June 02, 2023, 06:37:33 am »
2- their value is not so important. 100nF is enough but 1uF is better and won't hurt.

Not necessarily true, at 10MHz a 1uF may be good but at 100MHz 100nF may be better. See for example:
https://article.murata.com/en-eu/article/impedance-esr-frequency-characteristics-in-capacitors
If the self resonant frequency is lower than the primary noise frequency you are trying to decouple, a smaller value may be better.

You are looking at wrong metric. Physics and your circuit does not understand what SRF is. It only cares about impedance being low. Plot the impedances of 1uF and 100nF caps in the same package using the same Y axis and you will immediately understand that 1uF is superior and there is no compromise. Low-frequency impedance is better and high-frequency impedance is roughly the same.

Your misconception is very very classic so I don't blame you. But really it's true only whenever larger C also implies larger package and bigger ESL (including placement further away).
« Last Edit: June 02, 2023, 06:40:24 am by Siwastaja »
 
The following users thanked this post: eugene

Offline chilternview

  • Regular Contributor
  • *
  • Posts: 145
  • Country: gb
Re: Decoupling caps value
« Reply #14 on: June 02, 2023, 06:40:52 am »
You'll have to pull out exactly where in the article you think it says a smaller value can be better, because I read it as exactly the opposite. That article reinforces the generally true concept that smaller case size is better (assuming nothing else changes).

As per Fig 4 the resonant frequency of the cap, the point at which it changes from being capacitive to inductive, depends on the capacitance (and of course the parasitic inductance). So it's entirely possible that you might have noise at a high frequency that is not efectively decoupled because the capacitance is too large, and the capacitor is operating past its resonant frequency. It's not black and white, the best value depends on the application.

This is why people sometimes use both a high capacitance e.g. electrolytic or tantalum and a low capacitance e.g. ceramic in parallel.

And as you mention, size matters - the smaller the cap, the less its parasitic inductance.
 

Offline chilternview

  • Regular Contributor
  • *
  • Posts: 145
  • Country: gb
Re: Decoupling caps value
« Reply #15 on: June 02, 2023, 06:45:36 am »
You are looking at wrong metric.

You missed the words 'may be better'. Of course if the package (and hence the parasitic inductance) is the same, then a larger capacitance will have a lower impedance. But if it's just using a bigger capacitor both physically and in terms of value,  it may not.

I'm just poitning out that the OP's statement that bigger is *always* better is not true.
 

Online Siwastaja

  • Super Contributor
  • ***
  • Posts: 8106
  • Country: fi
Re: Decoupling caps value
« Reply #16 on: June 02, 2023, 06:46:26 am »
No, the OP was crystal clear constraining the package size to be the same in this comparison, the whole point was that package size thus ESL defines high-frequency impedance, not having smaller capacitance value. Always look at the context, removing sentences from the context is dangerously misleading.
« Last Edit: June 02, 2023, 06:48:05 am by Siwastaja »
 

Online Siwastaja

  • Super Contributor
  • ***
  • Posts: 8106
  • Country: fi
Re: Decoupling caps value
« Reply #17 on: June 02, 2023, 06:53:55 am »
so 0402 10uF cap can work as good as 100nF 0402 (nearly) due to the package size. I just wanted to know the go-to value in normal situations.

Yes, but note that in $current_year, 0402 10uF is not realistic; if some manufacturer sells such a thing you should expect a significant drop in capacitance (maybe even -90% down to 1uF) under any DC bias, even at just 3.3V. If your task is to filter at 3.3V, then excess capacitance at 0V does nothing useful but increase the initial inrush energy or make hotplug ringing transients more difficult to deal with. So don't go overboard. 1µF in 0402 is a good go-to MLCC instead of the classic 100nF. If you don't work in a field where certification of every component is required, like most of us don't, being able to substitute different values helps tremendously given the dire situation with availability. Maybe 0.56uF is suddenly available for cheaper? Good for you!
« Last Edit: June 02, 2023, 07:08:09 am by Siwastaja »
 

Online Siwastaja

  • Super Contributor
  • ***
  • Posts: 8106
  • Country: fi
Re: Decoupling caps value
« Reply #18 on: June 02, 2023, 07:17:31 am »
Regarding 100nF, it's really the "bare minimum" value. Given DC bias, temperature, tolerance and aging, let's say it goes down to 50nF. Then, at 10MHz, which is a relevant figure because it's tested for EMC and it's well within the edge rate capability of microcontroller / logic IC IO, impedance is
1/(2*pi*10e6*50e-9) = 0.32 ohms,
which means a switching current peak of 1A would cause 0.3V voltage drop due to used charge from that capacitor, which then the upstream power trace would then try to supply, limited by its inductance, causing a dip in the supply voltage and then opposite overvoltage peak (ringing). Now this doesn't seem too bad but redo the calculation with 10nF and you start seeing why I suggest the classic 100nF is the "bare minimum" which works in most cases fine but does not have much margin. Therefore, I second the recommendation you often hear from EMC experts, use 1uF as your default bypass cap if you can get it in the same package size you would use with 100nF.
 

Offline AndyC_772

  • Super Contributor
  • ***
  • Posts: 4208
  • Country: gb
  • Professional design engineer
    • Cawte Engineering | Reliable Electronics

Offline Someone

  • Super Contributor
  • ***
  • Posts: 4509
  • Country: au
    • send complaints here
Re: Decoupling caps value
« Reply #20 on: June 02, 2023, 08:18:03 am »
2- their value is not so important. 100nF is enough but 1uF is better and won't hurt.
Not necessarily true, at 10MHz a 1uF may be good but at 100MHz 100nF may be better. See for example:
https://article.murata.com/en-eu/article/impedance-esr-frequency-characteristics-in-capacitors
If the self resonant frequency is lower than the primary noise frequency you are trying to decouple, a smaller value may be better.
You'll have to pull out exactly where in the article you think it says a smaller value can be better, because I read it as exactly the opposite. That article reinforces the generally true concept that smaller case size is better (assuming nothing else changes).
As per Fig 4 the resonant frequency of the cap, the point at which it changes from being capacitive to inductive, depends on the capacitance (and of course the parasitic inductance). So it's entirely possible that you might have noise at a high frequency that is not efectively decoupled because the capacitance is too large, and the capacitor is operating past its resonant frequency. It's not black and white, the best value depends on the application.
Your reasoning is completely faulty, and misses what that article says. Fig 4 does not show any comparison between different capacitors, only a single representative impedance plot.... which you are asking us to imagine could look different for different values, without any examples or data to back that up (trivial to pull from the manufacturers public databases).

Further, Fig 5 says the exact opposite of what you are asking us to imagine. Siwastaja is on the money here, it would be extremely unusual for a 1uF cap in the same package as a 100nF cap to be "worse".
 

Offline Avelino Sampaio

  • Frequent Contributor
  • **
  • Posts: 260
  • Country: br
Re: Decoupling caps value
« Reply #21 on: June 02, 2023, 08:50:47 am »
W2aew video lesson is very enlightening.



 

Online Siwastaja

  • Super Contributor
  • ***
  • Posts: 8106
  • Country: fi
Re: Decoupling caps value
« Reply #22 on: June 02, 2023, 09:15:09 am »
Also the idea that capacitor stops being a capacitor and changes into inductor at SRF is totally wrong. It's only after this point the impedance starts to rise because of inductance, so inductance is starting to "win" over the capacitance. All that matters is the value of impedance (absolute; not relative to something else), so filtering properties are still acceptable quite far ahead from SRF; quite logically, since the impedance was higher before the SRF, too.

It's the sweet spot fallacy. One could say a capacitor is at its best at SRF, but the real question is how wide is the range it is good enough at? And that is the area below some "required maximum Z" curve. By choosing smaller C value in the same package, the range on the left side (low frequencies) shrinks, but does not (significantly) widen at right (high frequencies), even if SRF shifts to right, because SRF was well inside the range to begin with, not at the edge of the range as some mistakenly think.
« Last Edit: June 02, 2023, 09:18:57 am by Siwastaja »
 

Online Siwastaja

  • Super Contributor
  • ***
  • Posts: 8106
  • Country: fi
Re: Decoupling caps value
« Reply #23 on: June 02, 2023, 09:33:20 am »
Random image from Google image search:
https://www.doeeet.com/content/wp-content/uploads/2019/10/Impedance-of-usual-MLCCs-16V-rated-vs-DC-voltage-bias.png

Choose some Z value you deem sufficient, let's say 1E-1 ohms and say do you see any advantage in using the smaller capacitance part?

Another:
https://res.utmel.com/Images/UEditor/c8cd4daa-b2ee-42e6-80ba-59384db825b8.png
« Last Edit: June 02, 2023, 09:46:58 am by Siwastaja »
 

Online iMo

  • Super Contributor
  • ***
  • Posts: 4672
  • Country: nr
  • It's important to try new things..
Re: Decoupling caps value
« Reply #24 on: June 02, 2023, 10:04:25 am »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf