Electronic – Decoupling capacitors in MCUs

capacitormicrocontroller

This is related to decoupling capacitors on Vcc pins of MCUs. Most of my designs I usually put a sprinkling of a 10pf,10nF and 1uf or so to filter out any differential noise, and other noises on the very high,median and low frequency ranges. It has worked always. No doubts and is quite recommended by many vendors and also on their eval boards they have the same values(more or less).

But, is there a method to this madness. I was going through a rad hard MCU datasheet (for academic purpose) and stumbled on a line. The link is given below – Link

So, there is a relation between the peripheral switching frequency and the value of the capacitor. Is it so ?
If so, is the only factor the peripheral frequency or would other factors play in this ?

Best Answer

Quick answer: transient currents are the reason for decoupling capacitors

A device with a high current demand will draw high current, and so suffer a large voltage drop in the conductors to the device. To over come this, a small, low impedance voltage store is put next to the device drawing the current.

If a device is switching loads at a set frequency, than the frequency of this switching will be what the decoupling will be tuned to cope with. However it is extremely rare to find a device with only one switching frequency, hence you are left with a range of frequencies to give a supply to, and so a range of capacitance is required.

Some other reasons to add decoupling capacitors (no doubt there are others):

  • Improve EMC performance by reducing the current spikes and the distance the currents flow over
  • Improve immunity to ripple on the supply lines (including transient and surges)

I recommend reading Respawned Fluff's link too.