Step 1 — What a capacitor stores. Charge Q=CV. Differentiate:
iC=dtdQ=CdtdV
Step 2 — Ask how much the voltage drops while the cap alone supplies the load.
Rearrange for the voltage change while delivering current ΔI for a duration Δt:
ΔV=C1∫idt≈CΔI⋅ΔtWhy this step? We integrated iC=CdV/dt over the current spike. Bigger C ⇒ smaller droop. This is the whole reason capacitors are big.
Step 3 — Size the capacitor. Set an allowed droop budget ΔVmax:
C≥ΔVmaxΔI⋅Δt
Step 4 — Why one capacitor is not enough (the frequency picture). Every real cap has parasitic series inductance (ESL) and resistance (ESR):
Zcap(ω)=ESR+jωESL+jωC1
At low ω: ωC1 dominates → capacitor "works."
At its self-resonant frequencyf0=2πESL⋅C1: impedance is minimum =ESR.
Above f0: ωESL dominates → the cap looks like an inductor and stops helping.
Why this matters: no single cap covers all frequencies, so we use a hierarchy.
Imagine a water tap far away and a kid who suddenly gets very thirsty. If the kid gulps fast, water can't rush down the long pipe instantly — the pressure at the cup drops. So we keep a cup of water right next to the kid (the capacitor). When he gulps, the cup empties first and keeps the pressure up until the far tap catches up. Small cups react instantly but run dry; big tanks are slow but hold a lot — so we keep several sizes at different distances.
Dekho, jab CPU ka core achanak se bahut saare transistors ek saath switch karta hai, to usko instantly bahut current chahiye hota hai. Problem ye hai ki power supply door hai aur beech ke wires me inductance hoti hai. Inductor current ke change ko rokta hai — yani VL=Ldi/dt. Isliye chip ke power pins par voltage thoda gir jaata hai, isko voltage droop kehte hain. Agar ye droop Vmin se niche chala gaya to chip galat bits produce karega. Yaad rakho: khatra current kitna bada hai usse nahi, balki kitni tezi se badla usse hota hai.
Iska solution hai decoupling capacitor — ek chhota charge ka "bucket" jo chip ke bilkul paas rakha jaata hai. Jab current spike aata hai, ye capacitor apna stored charge turant de deta hai aur voltage ko upar hold karta hai, jab tak door wali supply catch up na kar le. Formula simple hai: C≥ΔI⋅Δt/ΔVmax. Jitna bada droop budget chhota chahiye, utna bada cap.
Lekin ek hi bada capacitor kaafi nahi. Har cap me thodi si parasitic inductance (ESL) hoti hai, isliye ek self-resonant frequencyf0 ke upar wo cap inductor ki tarah behave karne lagta hai aur bekaar ho jaata hai. Isliye hum hierarchy use karte hain: bade bulk caps (slow, kHz-MHz), MLCC (MHz), aur on-die caps (sabse fast, ns-level). Rule yaad rakho — fast events ke liye charge physically paas hona chahiye, kyunki door rakhne se loop inductance badh jaati hai. Bas yahi decoupling ka pura funda hai.