# Understanding capacitor charging

**URL:** <https://boards.straightdope.com/t/understanding-capacitor-charging/169261>\
**Category:** Factual Questions\
**Created:** [April 17, 2003, 6:18am UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261 "2003-04-17T06:18:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trigonal\_Planar](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@Trigonal\_Planar](https://boards.straightdope.com/u/Trigonal_Planar)\
**Post date:** [April 17, 2003, 6:18am UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/1 "2003-04-17T06:18:44Z")

</div>

In my quest to become an electrical engineer, it seems the more I learn about electricity the more confused I get…  
When a capacitor is hooked up to an electrical source it will charge to the same voltage as the voltage applied, over a length of time dependent on the capacitance and the current, right? Does the voltage affect the charging speed?

Okay, where does this current value come from? Does a capacitor count as a “load”? In a pure voltage/capacitance arrangement, how does one calculate the load of a capacitor?  
Next question: I have constructed a tesla coil. It has a capacitor bank/spark gap arrangement. The power supply is 15,000v 30mA neon sign transformer. I can adjust the spark gap distance…a shorter distance means the gap will activate at lower charging voltages. Now, as I move the gap farther apart, the sparks become intermittent and presumably closer to the full 15,000v discharge of the capacitors. What if I move them apart so that no spark could possibly occur? My gut tells me this will blow the caps - but since capacitors can only charge to the same voltage as the source, (and assuming the voltage rating is appropriate) would this really put the caps in danger of being destroyed?

---

<div class="post-metadata">

**Author:** ![Desmostylus](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@Desmostylus](https://boards.straightdope.com/u/Desmostylus)\
**Post date:** [April 17, 2003, 6:51am UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/2 "2003-04-17T06:51:09Z")

</div>

Okay.

You’re charging a capacitor with capacitance C.

You’re charging from a source that has voltage V, and source resistance R.

The voltage across the capacitor with respect to time is:

_v_[sub]c[/sub] = V ( 1 - e[sup]-_t_/(RC)[/sup] )

The current is:

_i_ = (V/R) e[sup]-_t_/(RC)[/sup]

If there is no source resistance, it takes zero time to charge the capacitor, and the transient current is infinite.

---

<div class="post-metadata">

**Author:** ![Crafter\_Man](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crafter_man/32/458_2.png) [@Crafter\_Man](https://boards.straightdope.com/u/Crafter_Man)\
**Post date:** [April 17, 2003, 12:32pm UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/3 "2003-04-17T12:32:29Z")

</div>

**Desmostylus** is correct. I’ll provide a qualitative description of what goes on when you charge a capacitor.

To model how a capacitor charges you need three things:

1. Voltage source
2. Series resistance
3. Capacitor

Let’s assume the initial voltage on the capacitor is zero. You hook up the battery, resistor, and capacitor in series. What happens to the current and voltage?

Initially a _lot of current flows_. This is because the capacitor initially looks like a short (i.e. it looks just like a wire). The voltage across a wire is (roughly) zero. Therefore, when you first hook the circuit up, current is at a maximum while the voltage across the capacitor is zero.

But then the clock keeps ticking. What happens a little while later?

After a while the capacitor starts to “charge up.” As more and more charge accumulates on the plates, the capacitor no longer looks like a short circuit. The current starts decreasing while the voltage across the capacitor starts to increase.

After a long while the capacitor charge has built up to the point there will only be a trickle of current. This same current is going through the resistor; if the current is low, the voltage drop across the resistor is low. This means the voltage across the capacitor must be high.

At time = infinity the current finally stops. If there’s no current through the resistor, then the voltage drop across the resistor must be zero (i.e. the resistor looks like a wire). Consequently the capacitor voltage is at a maximum and in fact equals the voltage source.

How fast does all of this happen?

The lower the resistance, the faster everything happens.  
The lower the capacitance, the faster everything happens.

I will readily admit I’ve left out a bunch of stuff and glossed over things. If you want more detail just let us know.

---

<div class="post-metadata">

**Author:** ![Patty\_O\_Furniture](https://avatars.discourse-cdn.com/v4/letter/p/96bed5/32.png) [@Patty\_O\_Furniture](https://boards.straightdope.com/u/Patty_O_Furniture)\
**Post date:** [April 17, 2003, 12:59pm UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/4 "2003-04-17T12:59:01Z")

</div>

For a visual aid, [here is the universal charge curve for RC circuits.](http://www.murata.com/thermis/ntc/products/img/eng/basic2.gif) The basic unit is called a time constant (TC). TC = R×C. 1 time constant is the time it takes for C to charge up to 63.2% of the applied voltage. In this case, the applied voltage is the difference between the source and the charge on the plates of the capacitor.

Let’s assume a 100V DC battery connected to an RC circuit. The values of R and C don’t matter; the curve will still look the same. At one TC, the cap will charge to 63.2% of the applied voltage, or 63.2V in this case. During the 2nd TC, the cap will take on an additional 63.2% of the remaining difference between the charge it has already acquired and the applied voltage, or about 23.3 volts, bringing the charge on the cap up to about 86.5 volts by the end of the 2nd TC. Keep doing the math like this and at the end of the 3rd TC you will have 95.1 volts on the cap, 98.2 volts at the end of the 4th TC, and 99.4 volts at the end of the 5th TC.

Because the charge is always 63.2% of the potantial difference between the cap and the source, the cap will technically never reach a 100V charge, hence the resulting curve is asymptotic.

---

<div class="post-metadata">

**Author:** ![Desmostylus](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@Desmostylus](https://boards.straightdope.com/u/Desmostylus)\
**Post date:** [April 17, 2003, 1:06pm UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/5 "2003-04-17T13:06:15Z")

</div>

_Temperature_, **Attrayant**? :dubious:

(I know what you mean, but perhaps you’ve chosen the wrong graph?)

---

<div class="post-metadata">

**Author:** ![Desmostylus](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@Desmostylus](https://boards.straightdope.com/u/Desmostylus)\
**Post date:** [April 17, 2003, 1:09pm UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/6 "2003-04-17T13:09:23Z")

</div>

Here’s a more appropriate graph:

[http://www.tpub.com/neets/book2/3d.htm](http://www.tpub.com/neets/book2/3d.htm)

---

<div class="post-metadata">

**Author:** ![Crafter\_Man](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crafter_man/32/458_2.png) [@Crafter\_Man](https://boards.straightdope.com/u/Crafter_Man)\
**Post date:** [April 17, 2003, 1:20pm UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/7 "2003-04-17T13:20:02Z")

</div>

> [@](#):
>
> \*Originally posted by Desmostylus \*  
> \*\*_Temperature_, **Attrayant**? :dubious:
> 
> (I know what you mean, but perhaps you’ve chosen the wrong graph?) \*\*

As I’m aure we’re all aware, there are many similarities between electrical circuit theory and thermal conduction & mass transfer.

---

<div class="post-metadata">

**Author:** ![Desmostylus](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@Desmostylus](https://boards.straightdope.com/u/Desmostylus)\
**Post date:** [April 17, 2003, 1:50pm UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/8 "2003-04-17T13:50:32Z")

</div>

> [@](#):
>
> \*Originally posted by Crafter\_Man \*  
> \*\*As I’m aure we’re all aware, there are many similarities between electrical circuit theory and thermal conduction & mass transfer. \*\*

Maybe, maybe not. Assuming that “aure” = “sure”, and “mass” = “heat”, then yes, they are similar in that there are first order differential equations involved, and yes, solutions to first order differential equations display similar forms.

(Look, **Crafter\_Man** , I already acknowedged that **Attrayant** had the right idea, but had simply chosen a graph that wasn’t the best illustration.)

---

<div class="post-metadata">

**Author:** ![Crafter\_Man](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crafter_man/32/458_2.png) [@Crafter\_Man](https://boards.straightdope.com/u/Crafter_Man)\
**Post date:** [April 17, 2003, 2:30pm UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/9 "2003-04-17T14:30:48Z")

</div>

Wasn’t intended to be a flame, **Desmostylus**. Your post was excellent, BTW.

---

<div class="post-metadata">

**Author:** ![Desmostylus](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@Desmostylus](https://boards.straightdope.com/u/Desmostylus)\
**Post date:** [April 17, 2003, 2:41pm UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/10 "2003-04-17T14:41:08Z")

</div>

Peace, **Crafter\_Man** 🙂

---

<div class="post-metadata">

**Author:** ![Patty\_O\_Furniture](https://avatars.discourse-cdn.com/v4/letter/p/96bed5/32.png) [@Patty\_O\_Furniture](https://boards.straightdope.com/u/Patty_O_Furniture)\
**Post date:** [April 17, 2003, 3:41pm UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/11 "2003-04-17T15:41:07Z")

</div>

Oops, I just did a search on “time constant” and picked the nicest looking graph. Just change Temperature to Voltage and all will be right with the world. 🙂

---

<div class="post-metadata">

**Author:** ![robby](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/robby/32/11048_2.png) [@robby](https://boards.straightdope.com/u/robby)\
**Post date:** [April 17, 2003, 5:58pm UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/12 "2003-04-17T17:58:00Z")

</div>

Our own Bill Beaty ( **bbeaty** ) has some excellent conceptual [articles on electricity](http://amasci.com/ele-edu.html), one of which covers [capicitors](http://www.amasci.com/emotor/cap1.html).

---

<div class="post-metadata">

**Author:** ![Trigonal\_Planar](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@Trigonal\_Planar](https://boards.straightdope.com/u/Trigonal_Planar)\
**Post date:** [April 17, 2003, 6:00pm UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/13 "2003-04-17T18:00:37Z")

</div>

Yes, this all makes sense. We studied RC circuits earlier this year. I was just trying keep the concepts straight.  
Now, what about my second question? If I wire a capacitor bank rated at 20,000v parallel to a 15,000v supply and a spark gap (with the spark gap set such that no breakdown will occur), am I in danger of blowing the caps?

---

<div class="post-metadata">

**Author:** ![Crafter\_Man](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crafter_man/32/458_2.png) [@Crafter\_Man](https://boards.straightdope.com/u/Crafter_Man)\
**Post date:** [April 17, 2003, 6:41pm UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/14 "2003-04-17T18:41:11Z")

</div>

**Trigonal Planar** : I don’t know much about Tesla coils. But my gut reaction is that, as long as you stay below the maximum voltage rating of the capacitor, you probably won’t have a problem.

Just curious… is it just one capacitor? Or multiple caps in series?

---

<div class="post-metadata">

**Author:** ![andy\_fl](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@andy\_fl](https://boards.straightdope.com/u/andy_fl)\
**Post date:** [April 17, 2003, 6:56pm UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/15 "2003-04-17T18:56:46Z")

</div>

> [@](#):
>
> \*Originally posted by Trigonal Planar \*  
> \*\* Now, what about my second question? If I wire a capacitor bank rated at 20,000v parallel to a 15,000v supply and a spark gap (with the spark gap set such that no breakdown will occur), am I in danger of blowing the caps? \*\*

Look at the voltage rating of the capacitor. its a function of the dielectric constant.

---

<div class="post-metadata">

**Author:** ![andy\_fl](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@andy\_fl](https://boards.straightdope.com/u/andy_fl)\
**Post date:** [April 17, 2003, 6:58pm UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/16 "2003-04-17T18:58:15Z")

</div>

> [@](#):
>
> \*Originally posted by andy\_fl \*  
> \*\*Look at the voltage rating of the capacitor. its a function of the dielectric constant. \*\*

sorry, i just looked. well u’r okay with that.

---

<div class="post-metadata">

**Author:** ![barking\_frog](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@barking\_frog](https://boards.straightdope.com/u/barking_frog)\
**Post date:** [April 17, 2003, 7:20pm UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/17 "2003-04-17T19:20:24Z")

</div>

what’s been said regarding the (solved) DE’s for capacitors is correct if it’s a DC source, but just remember that, IIRC, capacitors act differently if using an AC source.

---

<div class="post-metadata">

**Author:** ![Trigonal\_Planar](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@Trigonal\_Planar](https://boards.straightdope.com/u/Trigonal_Planar)\
**Post date:** [April 17, 2003, 7:33pm UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/18 "2003-04-17T19:33:28Z")

</div>

Yes, it’s an AC power source I’m using to charge a bank of capacitors, each rated at I belive 1200v wired to give a voltage rating of 22,000v (and appropriate capacitance).

The rest of the tesla coil system isn’t important for my specific question – I assume that since the supply voltage is less than the design voltage, I shouldn’t have a problem directly charging the caps.

---

<div class="post-metadata">

**Author:** ![barking\_frog](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@barking\_frog](https://boards.straightdope.com/u/barking_frog)\
**Post date:** [April 17, 2003, 8:22pm UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/19 "2003-04-17T20:22:11Z")

</div>

I’m really not sure on this since we never really covered charging capacitors with an AC source in class, but we did do a lab on it. We applied a square wave to a capacitor and during the time V=0, the capacitor would discharge. I don’t know about V\<0 though, since we didn’t try a sine wave. I do know however that capacitors and inductors do have an impedance when using an AC source, which will have an effect on current and voltage.

I just finished my fundamentals of electrical engineering course (double credit), so hopefully someone more informed can come along.

---

<div class="post-metadata">

**Author:** ![bugg](https://avatars.discourse-cdn.com/v4/letter/b/ecae2f/32.png) [@bugg](https://boards.straightdope.com/u/bugg)\
**Post date:** [April 17, 2003, 8:30pm UTC](https://boards.straightdope.com/t/understanding-capacitor-charging/169261/20 "2003-04-17T20:30:40Z")

</div>

If you attach a capactior to an AC source, it will charge up as if the source were DC. When the polarity of the source changes (i.e. when there is a negative voltage from the source to the capacitor) the capacitor will start to discharge. This cycle continues.

As such, a capacitor can be used in a filter to help remove AC noise from a DC source.

Charging capacitors with an AC source is futile; you’ll spend as much time charging them as you do discharging them.

[Next page](https://boards.straightdope.com/t/understanding-capacitor-charging/169261.md?page=2)
