Shop by category
Shop all componentsPower, batteries & solar
D = Vout ÷ VinΔI = ripple % × I outL = (Vin − Vout) × D ÷ (f × ΔI)I peak = I out + ΔI ÷ 2C out = ΔI ÷ (8 × f × ΔV)12 V to 5 V at 2 A, 100 kHz, 30% ripple: D = 0.417, ΔI = 0.6 A, L = 7 × 0.417 ÷ (100,000 × 0.6) = 48.6 µH, so use 56 µH. Peak current 2.3 A, output capacitor at least 15 µF for 50 mV ripple.
A buck converter chops the input on and off and smooths it with an inductor and capacitor. The duty cycle sets the ratio, and the inductor value sets how much the current ripples up and down while it switches.
A larger inductor gives less ripple but is bigger and slower to respond; a higher switching frequency allows smaller parts but more switching loss. Always pick an inductor whose saturation current is above the peak value, or the converter can be destroyed when the core saturates.
It is a good balance of inductor size and core losses. Under about 10% the inductor becomes large; over 60% the peak current and capacitor ripple grow quickly.
L = (Vin − Vout) × D ÷ (f × ΔI). For 12 V to 5 V at 2 A, 500 kHz and 30 % ripple, that is about 6.8 µH.
Roughly Vout ÷ Vin. Converting 12 V to 3.3 V needs about 27.5 % duty.
D = Vout ÷ Vin; ΔI = ripple % × I out; L = (Vin − Vout) × D ÷ (f × ΔI); I peak = I out + ΔI ÷ 2; C out = ΔI ÷ (8 × f × ΔV).
12 V to 5 V at 2 A, 100 kHz, 30% ripple: D = 0.417, ΔI = 0.6 A, L = 7 × 0.417 ÷ (100,000 × 0.6) = 48.6 µH, so use 56 µH. Peak current 2.3 A, output capacitor at least 15 µF for 50 mV ripple.
Geekobot builds that use it include Dashboard battery voltmeter for cars and bikes, Car cabin air-quality meter, Two-wheeler side-stand warning and Solder a fused 12 V to 5 V power board on stripboard. Each has the full parts list, wiring and code.
Results are estimates for design and learning. Check critical designs against the component datasheet. Made by the Geekobot Learning Team. How we write our calculators