Capacitor Precharge Resistor Window Calculator
Enter the ideal DC source, one initially uncharged capacitor, one series resistor, and a target voltage. Compare time and initial current on separate tolerance corners. Inspect the full voltage and current ranges through the charge and export the quantities for the entered resistor.
Find the resistor window for capacitor precharge
Compare initial current and charging time across the resistor and capacitor tolerances you enter.
Circuit and design limits
Symmetric, plus or minus.
Symmetric, plus or minus.
A nominal resistor window meets both limits.
Nominal resistor bounds
- Minimum from initial current
- 12.6316 Ω
- Maximum from deadline
- 20.6807 Ω
Your nominal resistor
- Worst initial current
- 0.701754 A
- Within limit
- Time to reach 10.8 V
- 314.994 to 522.226 ms
- Within limit
- Worst resistor energy to target
- 0.85536 J
- Worst initial resistor power
- 8.42105 W
- Elapsed time
- 216 ms
- Capacitor voltage range
- 7.37014 to 9.5257 V
- Charging current range
- 0.144696 to 0.245253 A
- Resistance giving upper current
- 18 Ω
The shaded bands show values across tolerances. Orange dashed lines mark the voltage target, current limit, and deadline.
The circuit is an ideal constant DC step into one initially uncharged capacitor, without a parallel load. Compare pulse energy and power with ratings for the actual parts and duration.
Export the precharge audit
The CSV includes exact electrical quantities, numerical deadlines, and the voltage and current bands at 11 times.
View CSV text
How to use this calculator
- Enter the source voltage, nominal capacitance and resistor, and their symmetric tolerances.
- Enter an initial current cap, target voltage as a percentage of supply, and deadline.
- Compare the two nominal resistor bounds and the separate current and timing checks for your entered resistor.
- Move the elapsed-time slider to see the current and voltage range and which resistance gives the upper current. Export the audit for the exact initial quantities and numerical samples.
The Formula
The mathematical logic powering this calculation is:
For the initially uncharged capacitor, voltage is Vc(t) = V[1 − exp(−t/(RC))] and current is I(t) = (V/R) exp(−t/(RC)). Resistance in ohms times capacitance in millifarads gives the time constant in milliseconds. For a target fraction p of supply voltage, time is −RC ln(1 − p).
Apply the entered symmetric percent tolerances to make Rmin, Rmax, Cmin, and Cmax. The earliest target time uses RminCmin. The latest uses RmaxCmax. Initial current is highest at Rmin. For the nominal resistor, the current lower bound is V/[Icap(1 − r)], and the deadline upper bound is deadline/[Cmax(1 + r)(−ln(1 − p))], where r is the resistor tolerance as a fraction. The initial-current equality meets the limit exactly. Numerical timing comparisons within a relative difference of 10⁻¹² are shown as near the boundary.
At fixed positive t, current increases with capacitance. At Cmax, stationary current as a function of R peaks at R = t/Cmax, so clip that value to [Rmin,Rmax] to get the upper current. At Cmin, the smaller current from the two resistor endpoints gives the lower current. Voltage is bounded by the fast and slow time constants. A late-time current maximum can come from an interior resistance even when initial current is worst at the lowest resistance.
Initial resistor power peaks at V²/Rmin. The worst resistor energy up to the target uses Cmax and is Cmax V²[1 − (1 − p)²]/2, with C in farads. If the source remains connected, full-step resistor energy approaches Cmax V²/2. These energies follow by integrating I²R with respect to time. The CSV preserves exact initial quantities as fractions. It rounds numerical bounds and target times to 14 significant digits, and sampled curves to 12.
Use the model for one ideal step from a constant 0.001–60 V DC source, an initially uncharged capacitor and no parallel load. It excludes source sag, parasitics, converter startup and switching dynamics. Compare the energy and power results with applicable pulse ratings for the actual resistance, pulse duration, cooling, and repetition. Symmetric tolerances are 0–50%, target is 1–99.99% of supply, and inputs accept at most six decimal places.Worked Example
If you input:
- Supply: 12 V
- Capacitor: 10 mF ±20%
- Resistor: 18 Ω ±5%
- Initial current cap: 1 A
- Target and deadline: 90% of supply in 600 ms
Result:
The nominal window is 240/19 Ω to about 20.6807 Ω. Initial current can reach 40/57 A, and target time ranges from about 314.994 to 522.226 ms. Worst resistor energy to target is 0.85536 J.
Frequently Asked Questions
Can changing the resistor alone meet both limits?
The current cap gives a lower bound and the deadline gives an upper bound. If the lower bound exceeds the upper bound, that ideal circuit has no resistor satisfying both entered limits.
Why are the worst time and initial current on different tolerance corners?
Lower resistance gives higher initial current. Higher resistance and capacitance give a larger time constant and a slower charge. Evaluate the two effects independently.
Why can the largest current later occur at an interior resistor value?
A smaller resistor starts with more current and decays faster. At a given elapsed time, the maximum occurs at t/Cmax when that resistance is inside the tolerance interval.
Why does the tool stop short of a 100% target?
In this ideal circuit the voltage approaches the supply asymptotically. A target below the supply gives a finite time.
Similar Calculators
Capacitor Series/Parallel & Voltage Share Calculator
Compare two capacitor arrays. Calculate equivalent series and parallel capacitance, voltage shares by group and bounds under your entered tolerances.
Series RLC Step Response & Ringdown Calculator
Compare two series RLC transients. Inspect damping, capacitor voltage, current and energy after a constant source step or during source-free ringdown.
Ohm's Law Calculator
Calculate voltage, current, or resistance using Ohm's Law — enter any two values to find the third.
