Your Equation

Library / Circuits, electronics and noise / ELN-09

Circuits, electronics and noise

Capacitor voltage ramp under constant current

Voltage across a capacitor charged by a constant current from an initial voltage V₀.

Ref
ELN-09
Rev
v1
Field
Circuits, electronics and noise
Result
V(t) [V]

A constant current I into a capacitor gives a linear voltage ramp, V(t) = V₀ + I t/C, because i = C dv/dt. The slope is I/C in volts per second. A negative current makes the voltage fall. The formula ignores leakage and series resistance, and fails when the capacitor reaches its voltage limit.

Voltage across a capacitor charged by a constant current from an initial voltage V₀. It rises linearly with time, and a negative current makes it fall.

Calculator

Solve for
V
V
−1010
A
1e-51
s
1e-51
F
1e-90.001
  • Ramp rate, I/C1,000 V/s
  • Charge added, I t6×10−6 C
  • Energy added to the capacitor1.5×10−5 J

What drives the result

Each variable is moved across its typical range while the others stay at the values above. The longest bar is the key driver.

Capacitor voltage (V) current value 4 V
CCapacitanceKey driver
1.016,000
IConstant current into the positive terminal
1.011,500
tCharging time
1.011,000
V0Initial voltage
−713
  • A 0.002 A current into 2×10−6 F ramps at 1,000 V/s, taking the voltage from 1 V to 4 V in 0.003 s.
  • Doubling the time or the current doubles the voltage added, while doubling the capacitance halves it.
Chart data as tables

Ranked variables

VariableTypical rangeLowest resultHighest resultSwing (V)Local stepChange in result
C Capacitance1e-9 to 0.001 F1.0066,0016,000+10%−6.82 %
I Constant current into the positive terminal1e-5 to 1 A1.0151,5011,500+10%+7.5 %
t Charging time1e-5 to 1 s1.011,0011,000+10%+7.5 %
V0 Initial voltage−10 to 10 V−71320+0.4 V+10 %

Sweep of Charging time

Charging time (s)Capacitor voltage (V)
1e-51.01
4.217e-51.042
1.778e-41.178
7.499e-41.75
0.0031624.162
0.0133414.34
0.0562357.23
0.2371238.1
11,001

Sweep one variable

Capacitor voltage (V)Hover, touch, or use the arrow keys on the chart
02004006008001000 1e−51e−40.0010.010.11 Charging time (s), log scale now 4

Variables and how each one contributes

V(t)

Capacitor voltage

Result · V

What the equation gives you. Everything else feeds it.

V0

Initial voltage

V · typical −10 to 10

The initial voltage across the capacitor, in V. Adds directly to the final voltage. Raising it by 10 % (to 1.1) moves the result by +2.5 %, from 4 to 4.1 V.

I

Constant current into the positive terminal

A · typical 1e-5 to 1

The constant current into the positive terminal, in A. A larger current steepens the ramp in direct proportion. Raising it by 10 % (to 0.0022) moves the result by +7.5 %, from 4 to 4.3 V.

t

Charging time

s · typical 1e-5 to 1

The charging time, in s. A longer time raises the voltage in direct proportion. Raising it by 10 % (to 0.0033) moves the result by +7.5 %, from 4 to 4.3 V.

C

Capacitance

F · typical 1e-9 to 0.001

The capacitance, in F. A larger capacitor ramps more slowly, in inverse proportion. Raising it by 10 % (to 2.2×10−6) moves the result by −6.82 %, from 4 to 3.727 V.

Worked example with the values above

  1. Ramp rate: I/C = 0.002 / 2×10−6 = 1,000 V/s.
  2. Voltage added in 0.003 s: 3 V.
  3. V = 1 + 3 = 4 V.

Assumptions and limits

  • Ideal linear capacitors and inductors with constant values.
  • Leakage current, series resistance and saturation are neglected.

Common mistakes

  • Adding capacitances in series as if they were in parallel.
  • Forgetting the sign of a voltage when two capacitors are connected with opposite polarity.
  • Assuming no energy is lost when two charged capacitors at different voltages are joined.

Statistics and uncertainty

Real capacitors have tolerances of 5 % to 20 % and change with voltage, temperature and age, so results scale with those errors. Inductor values fall when the core saturates.

Where it is used

  • Timing, smoothing and switched-capacitor circuits.
  • Energy storage in inductors and capacitors for converters and pulse circuits.

Maths you need

  • Capacitance: C = Q/V
  • Charge conservation: charge on isolated nodes does not change
  • Energy in a capacitor or inductor: ½CV² and ½LI²

Related formulas

Practise this formula