Capacitors are very interesting and very useful circuit elements. They can store charge, discharge it rapidly (or more slowly if used in combination with resistors), and they can essentially block direct current. They can be used in timing circuits, filtering circuits ... all kinds of things. Rapid chargers in electric cars employ capacitors to store charge rapidly and introduce it to the batteries more slowly later.

A capacitor is really pretty simple. It's two parallel plates, separated by air or some other insulator. The plates must be pretty close together, often just the with of a thin plastic film.. Each plate is connected to a conductor which connects into a circuit.

An object is electrically **polarized** when there is a significant charge imbalance between two of its sides or ends. The plates of a capacitor become polarized and depolarized in use.

When current flows to an un-charged capacitor, it is initially large. But as the capacitor becomes more polarized, it becomes more difficult to polarize further, so the rate of polarization decreases. The graph shows the basic shape of a current vs. time graph for a capacitor.

Notice that electrons don't really pass through the gap between the capacitor plates. The presence of a new negative charge on one plate (left plate in the images above) pushes a negative charge away from the opposite plate through electrostatic repulsion. The electrostatic force is a force that acts at a distance (without touching), like gravity.

The times in this figure correspond roughly to the t = 1,2,3,4 diagram above.

Here's what a capacitor might look like in practice. They come in a wide variety of physical sizes, but they're usually cylindrical or disk-shaped.

The unit of capacitance is the **Farad** (**F**), named after Michael Faraday. The base units of the Farad are, **1 F = s ^{4}·A^{2}·m^{-2}·Kg^{-1}**. That's not often too helpful. The most useful conversion we can make (and there are a lot of them) is that

In practice, one Farad (1F) is a very large amount of capacitance.

Charge a 1 F capacitor up and touch it and you'll get the shock of your life (maybe your last). In electronics applications, units of **microfarads** (**1 μF = 10 ^{-6} F**),

The unit of **capacitance** is the **Farad**.

1 F = 1 C/V

The amount of capacitance (capacity to hold charge) of such a device is dependent on three things:

- The area of overlap of the two parallel plates,
**A** - The distance between the plates,
**d** - The nature of the material in between the plates, which cannot be a conductor.

The two geometric properties, **A** & **d**, aren't difficult to figure out. The quality of insulation between the plates is ranked with a number, **ε _{r}**, called the relative static permeability.

Mathematically, capacitance scales linearly with overlap area and **ε _{r}**, and inversely with the distance between plates:

It's easy to see that as we increase either the area of overlap of the plates or the quality of the insulation material, and as we decrease the the distance between plates, we increase the capacitance of the device. The constant **ε _{o}** in the capacitance formula is called the dielectric constant,

Here are some relative permittivity values for a few substances.

In capacitors, we'd like to have

- small inter-plate distances,
- large areas of overlap between parallel plates, and
- a separating material with a very high permittivity value*.

We get small distances by using very thin insulating materials. Hemp fiber has recently become a good choice because its fibers are thin, cheap and have a high **ε _{r}** value. In order to have more overlap area, many capacitors employ plate pairs that are rolled up into a cylinder, preserving the constant distance between them, but dramatically enlarging the overlap area.

**Note that the word "permittivity" here is the opposite of what we really mean. High-permittivity substances really do not "permit" the flow of current very well. It's an old term we're kind of stuck with.*

We don't want the material (air, liquid or solid) between capacitor plates to *conduct* electricity so it needs to be an insulator, but that doesn't mean we can't choose an insulating material that helps us make a better capacitor. Some materials are **dielectrics**. They are insulators, yet when we apply an electric field to them, as we would between the plates of a capacitor, their polar subunits tend to re-orient along the direction of the field.

Here is a schematic diagram of a dielectric material, made of **[+ -]** dipoles that is not in an electric field. The dipole constituents are oriented pretty much randomly, and not polarized, like this.

If we apply an electric field to such a dielectric material, the polar constituent molecules can line up and serve to help polarize the two capacitor plates.

Many of the materials in the table above, including ceramics, plastic films and minerals like mica are good dielectrics.

*Parts of these derivations involve a little calculus. You can still use the result if you can't follow the calculus.*

We're going to develop a few equations to understand RC circuits. The simplest RC circuit consists of a resistor, capacitor and battery in series like the one below.

I've dressed that circuit up just a bit to include a volt meter across the capacitor so we can look at the time-dependent voltage across the capacitor (the potential will change as the capacitor charges), and a fancy switch, **S**.

When the switch is in position **a**, the battery charges the capacitor, with its current limited by the resistance, **R**. When it's in position **b**, the charge on the capacitor can leak away as current through the resistor until the two plates are once again unpolarized.

For a two-plate capacitor like the one above, capacitance is defined as charge divided by the potential difference between the plates, where the charge, **q**, is the charge on either plate (**+q** on one, **-q** on the other):

Notice that we could also solve for voltage and write **V = q/C**.

The loop rule of circuits says that the voltage increase, V, is equal to the voltage drop across the resistor, IR plus the voltage drop across the capacitor, q/C. We write the current in its derivative form: the change in charge divided by the change in time.

Here's our differential equation. It's separable.

To begin to separate this equation, isolate dq/dt on the left by dividing by **R**:

Now separate: divide by **V-q/C** on the left and multiply both sides by the differential **dt**.

Now we can multiply **V** by **C/C** to get a single fraction in the left-side denominator,

... and recognize that division is just multiplication by the reciprocal. That leaves a **C** multiplying the **dq** on the left. Divide it to the right side:

Now we can integrate, and we'll do it from time **t = 0** (at which point we assume that the charge on the capacitor is zero) to time **t**, at which point the time-dependent charge is class="center". We're summing up charge here.

That's a simple integral to do, and the right side limits are easy to evaluate:

Now evaluate the left-side limits.

It will be easier to go ahead if we multiply everything by -1:

Use the division law of logs to rearrange:

... and exponentiate both sides to get closer to a nice exponential form.

Now let's begin solving for **q(t)** by separating **(CV-q(t))/CV** into two fractions, **CV/CV** and **-q(t)/CV**:

Move the 1 to the right and switch the signs again:

And finally multiply by **CV**. Notice that **CV** is just the charge, but it's the final charge because **V** is the potential of the battery. We'll call that **q _{f}**.

Our final equation for the time-dependent charge on a capacitor is

Now one more thing. If **V _{c}** is the voltage across the capacitor, then we can use the relationships

and

to divide both sides by the capacitance to get a similar equation for the time-dependent voltage.

Finally, here's a graph of **f(t) = 1 - e ^{-t}**, Which is either one of our equations with

You can see that the capacitor charges rapidly at first, but more slowly as it becomes more fully polarized. Changing **R**, **C** and **V** would'nt change that essential feature, only how long the charging takes.

Now go back to the RC circuit diagram above and let's charge the capacitor and set the switch to position **b**, so that current flows through the resistor to discharge the capacitor. In that case, there is no more battery, and the loop rule says that the potential across the capacitor has to equal that across the resistor, and that they have to sum to zero, so

Substituting dq/dt for the current, we get:

Now we can separate variables (divide by **q** on both sides and multiply by **dt**) to get a form of the differential equation that we can integrate:

The solution is straightforward. Here **A** is the constant of integration

As usual in such equations, we can make that constant multiplicative after we exponentiate both sides to get **q(t)** out of the ln( ) expression:

The boundary condition is **q(0) = q _{f}**. That is, at time t = 0, the capacitor is fully-charged. So

As we did for the charging equations above, we can divide both sides by the capacitance, **C**, to get the time-dependent voltage equation:

Here is a plot of the function **q(t) = e ^{-t}**, and you can see that it's just the mirror image of the charging curve. The parameters

Solution: The time constant of an RC circuit is just the product of the resistance, **R**, in **Ohms** and the capacitance, **C**, in **Farads**.

**RC = (1.5 x 10 ^{6}Ω)(1.7 x 10^{-6}F) = 2.55 s**

The charge on a capacitor as a function of time (from the derivation above) is:

The product of the capacitance (**C**) and voltage of the power supply (**V**) is the final charge, or the asymptotic limit of the charge on the capacitor – the maximum amount of charge it can carry, **q _{f}**.

To find the time it would take to gain a charge of 0.2 μC, we rearrange to solve for time. First divide both sides by **q _{f}**, then subtract 1.

Here I've also multiplied both sides by -1 for convenience:

Taking the natural log of both sides gives:

And finally multiplying both sides by **RC** = 2.55 s gives us the time. I'm not placing absolute value bars on the log function because qf should always be greater than any other charge we could obtain on the capacitor.

The result is

and **t = 1.72 s**.

Solution: The discharge potential as a function of time is given by the formula we derived above,

We have **V(0)**, so we can solve for **V _{f}**. That's convenient because

Now we can rewrite **V(t)** as

Now we have another data point, **V(10) = 1.0**, that we can use to find **RC**. We'll solve for **RC** first by dividing by 100 on both sides:

Now take the natural log on both sides:

Finally, solve for **RC**:

Plugging in **t = 10** and **V(10) = 1.0 V**, we get the **RC** time constant for this circuit:

Now the final discharging potential equation is

Finally, at time **t = 15s**, the potential across the capacitor is

This site is a one-person operation and a labor of love. If you can manage it, I'd appreciate anything you could give to help defray the cost of keeping up the domain name, server, search service and my time.

**xaktly.com** by Dr. Jeff Cruzan is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. © 2012, Jeff Cruzan. All text and images on this website not specifically attributed to another source were created by me and I reserve all rights as to their use. Any opinions expressed on this website are entirely mine, and do not necessarily reflect the views of any of my employers. Please feel free to send any questions or comments to jeff.cruzan@verizon.net.