Capacitor Gaining Voltage Over Time?

What you've observed is called "dielectric absorbtion" or "recovery voltage phenomenon".

It's cause by kind of interia of the dipoles (ions) in the electrolyte while charging and discharging.

From wikipedia:

Dielectric absorption is the name given to the effect by which a capacitor, that has been charged for a long time, discharges only incompletely when briefly discharged. Although an ideal capacitor would remain at zero volts after being discharged, real capacitors will develop a small voltage from time-delayed dipole discharging, a phenomenon that is also called dielectric relaxation, "soakage", or "battery action". For some dielectrics, such as many polymer films, the resulting voltage may be less than 1–2% of the original voltage, but it can be as much as 15% for electrolytic capacitors.

Further:

When the capacitor is discharging, the strength of the electric field is decreasing and the common orientation of the molecular dipoles is returning to an undirected state in a process of relaxation. Due to the hysteresis, at the zero point of the electric field, a material-dependent number of molecular dipoles are still polarized along the field direction without a measurable voltage appearing at the terminals of the capacitor. This is like an electrical remanence.

From a Mouser note

7 Recovery Voltage

Where a capacitor is once charged and discharged with both of the terminals short-circuiting and then left the terminals open for a while, a voltage across the capacitor spontaneously increases again. This is called “recovery voltage phenomenon”. The mechanism for this phenomenon can be interpreted as follows:

When charged with a voltage, the dielectric produces some electrical changes within, and then the inside of the dielectric is electrified with the opposite polarities (dielectric polarization). The dielectric polarization occurs in both ways of proceeding rapidly and slowly. When a charged capacitor was discharged until the voltage across the capacitor disappears, and then being left the terminals open, the slow polarization will discharge within the capacitor and appear as recovery voltage. (Fig. 28).


Dielectric absorption Equivalent Circuit

  • 100V to 5V C1V1=C2V2 before = after discharge after long time
  • Main Cap C1= 3300uF at V1=100V and V2=5V
  • therefore C2 = C1 * V1/V2= 66 mF equiv dielectric absorption Capacitance
  • ".01 volts every 20-40 seconds" or 10mV/20s=dV/dt thus Voltage rise on C2 at 100V and C1 at 0V
  • The discharge on C2 at V1=100V due to series ESR2 on absorption cap, C2
    • Ignoring leakage R for now,
    • V2/ESR2 = Ic2 = Ic1 = C1 * dV1/dt or
    • ESR2 = V1/C1 * dt/dV1 = 100V/66mF * 20s/10mV = 3MΩ

schematic

simulate this circuit – Schematic created using CircuitLab

Note for old E-Caps each component value in the equivalent circuit can be estimate by various tests. Your test estimates the ESR2 * C2 = T2 = 180ks C2/C1=20 with as the absorption/cap ratio.

Bed Side notes

  • if dV/dt was 10mV/30s , can we estimate the minimum amount of sleep you had?
    • if 60% charge time of 5V is reached at a 10mV/30s rate this would take 5V/10mV *30s = 15ks = 4.17 h without knowing the dV/dt in the morning rate, we can only assume it was much lower such as 2T or 3T meaning 8 h or 12 h sleep or the ESR2 reduced overnight.

Parallel Leakage R values are known to reduce with aging and conditioning old large E caps using a large Series R will raise the leakage R values towards the original values in many cases. This is a safe practice when dealing with big-old low ESR caps to prevent interlayer short circuits.