1
\$\begingroup\$

This is a schematic of a ATmega328P used circuit. It has paralleled two 100nF capacitors between Vcc and GND. (C8 and C9) What is the function of this two capacitors and why they are paralleled?

enter image description here

\$\endgroup\$
2
  • 2
    \$\begingroup\$ Cant believe that “duplicate” answer got so many points. Newbs. @NSiri this redundancy cuts the voltage transient dips in half if they are SMD and allows some cheaper ceramic types to be considered. The idea is to have mOhm level ESR. \$\endgroup\$
    – D.A.S.
    Commented Oct 12, 2018 at 6:30
  • 1
    \$\begingroup\$ Just as Important the choice of quality low ESR decoupling caps is the ESL from the cap, and the length of traces between the load and cap, which adds inductance of 1nH/mm which if the uC is fast enough slew rate to amplify the ripple. V=LdI/dt \$\endgroup\$
    – D.A.S.
    Commented Oct 12, 2018 at 15:12

2 Answers 2

4
\$\begingroup\$

MCUs often have multiple pairs of GND/VDD pairs, to provide charge to the MCU core with lower inductance; adjacent leadframe metallic structures for GND/VDD are the standard method; adjacency of conductive paths produces the minimum loop area and thus the smallest STORED ENERGY and thus the quickest way to rebuild the on-chip charge just consumed by MCU ROM/RAM/ALU/BUS activity.

That charge is best re-plenished if a reservoir of change (those bypass capacitors) are located extremely close to the MCU GND/VDD pin twins.

Notice the schematic shows two GND pins and two VDD pins, hence the two capacitors.

====== added VDD dampening, for lower EMI =====

To avoid failing the EMI radiated emissions, the VDD capacitors should be dampened; the internal ESR may be adequate IF YOU GET LUCKY. If you fail EMI, confusion reigns and people worry that the "magic" has vanished, when the previous design was executed with a punt-and-hope we-are-unaware of how to design well dampened VDD systems.

Using the math Rdampen = sqrt( L / C ),

with 4" (10cm of wire) between the 0.1uF cap installed at the MCU and the 10uF cap centrally located as bulk bypass for all the +3.3 volt users, you have 100nH (10 cm of wire at 10nH/cm, the wire NOT over a plane) and 0.1uF cap (Ignore the larger cap, for computing resonance).

The resonance of 100nH and 0.1uF is 1.6MHz.

The appropriate Rdampen, for zeta = 1 if I recall, or Q of 2, is sqrt( L / C).

Rdampen = sqrt( 0.1uF / 0.1uF) = ONE OHM.

I'd implement this as shown here

schematic

simulate this circuit – Schematic created using CircuitLab

\$\endgroup\$
0
\$\begingroup\$

When operating a 16 or 20 MHz class uC, which come in different grades it means the FET switching speed is fast enough to be stable. The cause of this speed is a lower internal RdsOn*Ciss product which in turn results in a higher internal dI/dt for the many millions of internal switches.

When traces to Vdd,Vss are 1nH/mm and Vp=LdI/dt=LVdd/(Ron*dt). Where the numerator speed grade increases the denominator when they both go lower.

Thus to keep ripple to a reasonable level, someone in your image (that has no citation) has decided to use two 0.1uF which is pretty standard to use one. More important is the self resonant frequency of this decoupling cap due its spec and your layout must be defined to know exactly what happens, but with high transient fast current rise time that reduces to near zero, the better you need to learn about reactive decoupling frequency response and load regulation.

Two may be twice as good for ripple reduction with a close layout, but what is acceptable for analog parts of the uC?

You can also get more expensive caps that are twice as wide vs. Long, which gives inherently higher SRF. But on the whole, this example is sound advice for 16,20,MHz ARM chips which have drivers of 25 Ohms.

\$\endgroup\$
2
  • \$\begingroup\$ @ Tony I've seen (in simulations) the two-caps-one-resistor network be able to provide the transient charges needed, but also be able to quickly dampen. \$\endgroup\$ Commented Oct 18, 2018 at 3:11
  • \$\begingroup\$ Yes you can see any simulation with ESR, ESL added to tracks.caps , source and load with this. Q will relate to X(f)/Rs. All caps must have non-zero ESR. \$\endgroup\$
    – D.A.S.
    Commented Oct 18, 2018 at 16:19

Not the answer you're looking for? Browse other questions tagged or ask your own question.