Article by:
Date Published:
Last Modified:


1. Overview

Capacitors are a passive electronic component that stores charge between two conductive surfaces. The conductive surfaces (plates) are usually very close together, with a dielectric in-between, to maximize the capacitance for a given size. They are a popular component, that along with resistors, make up the two most commonly used components on a circuit board. They come in a large range of sizes, from water tank sized caps to small SMD capacitors and capacitors formed from tracks on PCBs.

The mechanical equivalent of a capacitor is a spring. The larger the capacitance, the stronger the spring. This is using the force-voltage mechanical equivalent.

2. Schematic Symbols

capacitor schematic symbol unpolarized
Figure 1. Schematic symbol for a basic unpolarized capacitor.
capacitor schematic symbol polarized
Figure 2. Schematic symbol for a basic polarized capacitor.
capacitor schematic symbol variable
Figure 3. Schematic symbol for a variable capacitor.

These symbols only cover the main types you will see in schematics. There are other symbols for speciality capacitors such as feedthrough capacitors and trimming capacitors.

3. Uses

Some of the well-known uses for capacitors are:

  • Analog filtering

  • Energy storage (supercapacitors)

  • Charge pumps (voltage boosting, or a bootstrap capacitor)

  • High power energy supplies (e.g. for powering coil and rail guns)

  • Oscillators (along with resistors and/or inductors)

  • Touch/proximity sensors and screens

  • Distance measurement (e.g. the technique used in digital callipers)

A feedforward capacitor is the name given to capacitor between the VOUT and ADJ pins of a linear regulator to improve stability.

4. Types

4.1. Ceramic

  • Range: 1pF - 100uF

  • Polarized: No

  • Typical Markings: For large ceramics, the value in pF with multiplier (similar to resistors). No markings on small ceramic chip capacitors.

  • Uses:

    • General purpose (they are cheap)

    • RF circuits

    • Filter circuits

Ceramic capacitors are named after the tiny disc of ceramic material they use for their dielectric. Values above 1nF are usually made from stacked ceramic plates and are called 'multilayer monolithics'.

Ceramic capacitors can generate audible noise when operated at certain frequencies. This is due to the electrostrictive (not piezo-electric, as many people suggest) effect of the internal dielectric materials in a monolithic ceramic capacitor. This causes the capacitor to mechanically vibrate (the movement is in the order of 1pm-1nm), which creates acoustic noise. This noise can commonly be heard in switch-mode power supplies and other high-frequency switching devices. Tantalum and electrolytic capacitors do not exhibit this effect, and can be used as a replacement when this noise is undesirable.

murata deformation of pcb by electrostrictive phenomenon
Figure 4. The deformation of a PCB due to the electrostrictive phenomenon in ceramic chip capacitors. Image from

Ceramic Di-electrics

Ceramic capacitors are made from two broad categories of dielectric, Class 1 ceramic capacitors have high stability and low losses, suitable for resonant circuit applications. Class 2 ceramic capacitors have high volumetric efficiency (more capacitance for the same size!) and are suitable for buffer, by-pass and coupling applications in where the exact capacitance value is usually not so critical.

When talking about the high stability of Class 1 ceramic capacitors, we are usually referring to the stability of the capacitance over:

  • The operating temperature

  • DC operating voltage range (remember, the capacitance changes as the DC voltage across the capacitor changes!)

  • The life of the capacitor

The following table lists the common ceramic dielectric codes.

Class 1:

Class 1 capacitors are specified by the following EIA dielectric codes[3]:

LetterSignificant FiguresDigitMultiplier (10^X)LetterTolerance (ppm/°C)

Significant Figures refers to the significant figure of the change in capacitance with temperature, in ppm/°C. The multiplier digit 5 is intentionally excluded (although I don’t know why!).

NP0 is used to refer to the same material as C0G, and so they are the same thing. Some manufacturers use them interchangeably to refer to them together as C0G/NP0. NP0 stands for "negative positive 0" and refers to the capacitance not have a positive or negative change with respect to temperature.

c0g np0 capacitor temp coeff grouping digikey
Figure 5. DigiKey, like many other suppliers, groups together C0G and NP0 as one temperature coefficient. Screenshot from

Class 2:

The following are based on the EIA RS-198 standard.

First Character (lower temperature letter)Second Character (upper temperature letter)Third Character (change in capacitance over temperature)
X = -55°C (-67°F)4 = +65°C (+149°F)P = ±10%
Y = -30°C (-22°F)5 = +85°C (185°F)R = ±15%
Z = +10°C (+50°F)6 = +105°C (221°F)S = ±22%
7 = +125°C (257°F)T = +22/-33%
8 = +150°C (302°F)U = +22/-56%
9 = +200°C (392°F)V = +22/-82%

The most common codes from the above table are X5R, X7R, Y5V and Z5U.

The following table lists the class 2 codes defined by the JIS standard.

StandardSymbolTemperature RangeCapacitance Tolerance
JISJB-25°C to +85°C±10%

There is also the two codes JB (which is similar to X5R) and CH (which is similar to C0G) produced by TDK. They are similar to the codes mentioned except optimised for a smaller temperature range.

4.1.1. Insulation Resistance

The insulation resistance limits for military MLCCs are:

  • IR > \( 10^{11}\Omega \) or \( 10^3 M\Omega \cdot uF \), whichever is less, at \( +25^{\circ}C \).

  • IR > \( 10^{10}\Omega \) or \( 10^2 M\Omega \cdot uF \), whichever is less, at \( +125^{\circ}C \).

IR requirements for commercial MLCCs are about two times less.

4.1.2. Singing Capacitors (Audible Noise)

Sometimes you will hear ceramic capacitors make audible noise! This audible noise is caused due the piezoelectric effect which physically vibrates the capacitor, and can occur in ceramic capacitors which are ferroelectric. Both Class II and Class III ceramic capacitors are ferroelectric, and are susceptible to this problem. However, Class I (e.g. C0G/NP0) capacitors are immune[4].

Class II and Class III capacitors are most likely to "sing" when the capacitor is subject to large current/voltage ripple.

4.1.3. Flexibility

Ceramic capacitors are sometimes tested and rated to be able to withstand a maximum bending flex. One example is the Kemet VW80808 (FT-CAP) range of ceramic capacitors which can withstand 5mm bending flex. These are aimed towards automotive use (but not exclusive to). The large bending flex specification is achieved by designing flexible termination caps at each end of the capacitor, which stops the transfer of stress from the PCB to the fragile ceramic capacitor body.

AVX has coined the term FLEXITERM for their range of ceramic chip capacitors that can withstand higher bending flex. Figure 6 shows a diagram of the test setup for measuring the maximum bending flex[6].

avx flexiterm test for ceramic chip caps
Figure 6. Diagram showing the test setup for measuring the maximum bending flex for AVX chip capacitors with "FLEXITERM" terminals[6].

4.2. Electrolytic

Range100nF - 5000uF
PolarizedYes (but some special ones aren't)
Typical MarkingBecause of their large size, the capacitance is usually printed in it's absolute form on the cylinder.
  • Power supply bulk decoupling
  • Filtering
  • Audio bypass capacitors

Electrolytic capacitors uses a very thin electrically deposited metal oxide film (\(Al_2 O_3\)) as their dielectric. They have a high capacitance density (well, that was before super-caps came along). They are usually cylindrical in shape, and come in through-hole (axial and radial) and surface-mount types.

In over-voltage conditions, holes can be punched through the dielectric layer and the capacitor will begin to conduct. The good news is that if the over-voltage disappears quickly enough (e.g. just a surge or spike), the capacitor can self-heal. The bad news is that a if the capacitor heats up enough, the dielectric can boil, create vapours, and the cap explodes. Most electrolytics have a specific "weak spot" on the case which is designed to break in an over-pressure situation. This can make quite a bang, and can be dangerous if you happen to be peering closely at the circuit while this happened.

The common size codes and sizes of SMD Electrolytic capacitors, see the SMD Electrolytic Capacitor Packages page.

4.3. Tantalum

Range100nF-2mF (from 47nF to 10mF on DigiKey as of Jan 2014)
PolarizedYes (mark indicates POSITIVE side)
Typical MarkingCapacitance is usually printed directly onto capacitor
  • Power supply filtering on small PCBs
  • Medical and space equipment

Tantalum capacitors are actually special type of electrolytic capacitor. But they deserve their own category because of their special properties and wide-spread use. The have lower ESR, lower leakage and higher temperature ranges (up to 125°C) than their electrolytic counterparts.

container of th tantalum caps
Figure 7. Through-hole tantalum capacitors.

Most tantalum capacitors are made with a solid electrolyte, and therefore are not prone to the electrolyte evaporation/drying up problems normal electrolytics have. This makes them able to retain their rated capacitance for years, if not decades.

4.3.1. Construction

At the heart of a tantalum capacitor is a pellet of tantalum (\(Ta_2 O_5\)).

cross section of tantalum capacitor
Figure 8. Cross-section of a SMD tantalum capacitor.

4.3.2. Packaging

Tantalum capacitors come in both through-hole and SMD packages.

4.3.3. Price

Tantalum capacitors tend to be more expensive than any other commonly used capacitor (electrolytic, ceramic), and so are usually reserved for applications when a large amount of capacitance with low ESR is needed in a tight space.

4.3.4. Issues

The SILLIEST THING about tantalum capacitors is that the polarity indicator is a stripe, next to the POSITIVE end. It goes against pretty much all other stripy-polarity-mark thingies, which all indicate which end is the negative end (think electrolytics, diodes, e.t.c). So, be very careful and vigilant when using these, for it is so easy for forget this rule!

Tantalum capacitors are more susceptible to reverse and over-voltage than their electrolytic counterparts. At a high enough voltage, the dielectric breaks down and the capacitor begins to conduct. The current can generate plenty of heat, and here’s the best part, it can start of a mini-thermite reaction between tantalum and manganese dioxide. Some slightly better news to offset this is that at low-energy breakdowns, tantalum capacitors can actually self-heal and stop the leakage current.

Because of their large operating temperature range, stability, and high price, they are often found in medical and space equipment.

4.4. Film Capacitors



  • MKT

  • MFCs (metallized film capacitors)

  • MPFCs (metallized polyester film capacitors)

  • Power (film) capacitor


1nF - 10uF




Polyester, Polycarbonate

Typical Marking

Because of their large size, the capacitance is usually either in <number><number><multiplier><tolerance> picofarad form (e.g. 105K equals 10e^5pF equals 1uF), or because of their large size printed in it’s absolute form (e.g. 0.1uF) on the block somewhere.


  • Power supplies

  • Audio circuits

Film capacitors are a family of capacitors which use thin insulating plastic film as the dielectric[2]. They are not polarity sensitive. The film can either be left as is or metallized, which makes it a metallized film capacitor[1].

How do you identify film capacitors? Film capacitors usually come in the following forms:

  1. A potted rectangular block with the two leads typically coming out of the same side (radial). Typical colors are yellow, blue, or white.

    yellow potted film capacitor alibaba
    Figure 9. A yellow potted film capacitor. Image from
    blue potted film capacitor hitano
    Figure 10. A blue potted film capacitor from Hitano.
  2. A rounded, red case that has been coasted in a epoxy lacquer, with the leads typically coming out of the same side.

    red radial film capacitor photo ecq p1h822gz3 digikey
    Figure 11. A red radial film capacitor (Panasonic ECQ-P1H822GZ3). Image from

Metallized Polyester Film Capacitors

Metallized polyester film capacitors (MFCs) are used when long-term stability is required at a relatively low cost. They are usually recognized by their appearance of a bright yellow, rectangular block.

Metallized film capacitors have a self-healing effect when an over-voltage even occurs, while others such as ceramic capacitors do not. This makes them safer to use in high-power applications.

20191227 capacitor blown in circuit
Figure 12. A broken 1uF (marking 105K) 250VAC metallized film capacitor (red bulge with cracks in it) I found inside my mum’s paper shredder.

4.5. Polyester (Green Cap)

Range1nF - 10uF
DielectricPolyester, Polycarbonate
Typical MarkingValue in pF with multiplier (similar to resistors)
UsesGeneral circuits

Polyester capacitors use polyester plastic film for their dielectric. They have similar properties to disc ceramic capacitors. They are sometimes called green caps because they have a green outer plastic coating to protect them. The problem with that is that not all polyesters are green! Quite a few are brown, among other colours.

4.6. Supercapacitors

PolarizedYes (mark indicates negative side)
Typical MarkingCapacitance is usually printed directly onto capacitor
  • Filtering of low frequency voltage ripple, usually due to large and low-frequency pulse currents.
  • As an energy storage alternative to a battery
  • To be hooked up in parallel with batteries to provide good pulse-current capabilities to battery chemistries which typically lack in that regard (i.e. those which have a large internal resistance,). This is a common practice with lithium thionyl chloride batteries.
  • To provide extra support for bass in audio systems (essentially providing a low-source impedance energy source for when the bass goes boom)

Supercapacitors are actually a special type of electrolytic capacitor.

They typically range from 10mF up to 1000F (in a single capacitor). Stacks of these capacitors can produce capacitances as high as your imagination.

You have to be careful, the leakage current of large supercapacitors (10F and greater) can be quite high (100’s uA or mA’s!). Even worse, some datasheets don’t even mention the leakage current! The ESR of a supercapacitor usually decreases with increasing capacitance.

Through-hole and SMD super capacitor packages exist.

4.7. Door Knob Capacitors

Door knob (or barrel) capacitors are a form of ceramic capacitor named after their look-alike appearance to a door knob. They are usually rated for high voltages (kV’s), and used in RF applications. They hav a low dielectric loss and linear temperature co-efficient of capacitance. They are typically used in the frequency range from 50kHz-100MHz.

door knob capacitors
Figure 13. Ceramic, high-voltage 'door-knob' capacitors. Image from

5. Dielectric Constants Of Common Materials

Sorted by alphabetic order.

MaterialDielectic Constant (value or range, no unit)Notes
Air1See below for data on how temperature, humidity, and pressure influences the dielectric of air.
Glass7.6-8.0This is common window glass
Rubber2.8Hard rubber
Water76.5-80Distilled water

6. The Dielectric Of Air

The dielectric of air changes with humidity, pressure and temperature.

Relative Humidity1.4ppm/%RH

7. Capacitors In Series And In Parallel

The behaviour of capacitors when connected together in series and in parallel is exactly the opposite behaviour of what resistors and inductors exhibit.

7.1. Capacitors In Parallel

Capacitors in parallel can be treated as one capacitor with the equivalent capacitance of:

\[C_{total} = C1 + C2\]

That is, in parallel, the total equivalent capacitance is the sum of the individual capacitances. This is shown in the below diagram.

capacitors in parallel
Figure 14. Diagram showing the resulting capacitance from two capacitors in parallel.

Connecting capacitors in parallel increases the capacitance. Parallel-connected capacitors occurs everywhere in circuit design. A classic example is bulk decoupling for a switch-mode power supply, which will typically have more than one large capacitor connected in parallel on the input.

One of the benefits of connecting many capacitors in parallel rather than using one large capacitor is that you will usually get a lower ESR (equivalent series resistance).

7.2. Capacitors In Series

Capacitors in series with each other can be treated as one capacitor with a capacitance:

\[\begin{align} C_{total} = \frac{1}{\frac{1}{C1} + \frac{1}{C2}} \end{align}\]


\[\begin{align} C_{total} = \frac{C1C2}{C1 + C2} \end{align}\]

It is usually easier to remember this equation as:

\[\frac{1}{C_{total}} = \frac{1}{C1} + \frac{1}{C2}\]

This is shown in the following diagram.

capacitors in series
Figure 15. Diagram showing the equivalent capacitance from two capacitors connected in series.

Notice how the total equivalent capacitance is less than any one capacitor in the series string. Connecting capacitors in series reduces the capacitance. Capacitors in series behave in the same way as resistors in parallel.

One of the benefits of connecting capacitors in series is that each capacitor only sees a portion of the total applied voltage, hence you can apply a higher voltage than the max rated voltage for any single capacitor. However, care must be taken to make sure the capacitors don’t build up a charge imbalance, which could cause a single capacitor to take more than it’s fair share of voltage, and blow up! A balancing circuit can be made by connecting a high-value resistor(e.g. \(1M\Omega\)) across each capacitor. This causes any unbalanced build-up of charge to dissipate through the resistors, at the expense of increasing the leakage current of the circuit (remember, capacitors have an internal leakage current also). This is similar to how a battery cell charge balancing circuit works.

8. Formulas

8.1. Charge

The charge stored on the plates of a capacitor is related to the voltage and capacitance by:

\[Q = CV\]

\(Q\) = charge stored in plates (Coulombs)
\(C\) = capacitance (Farads)
\(V\) = voltage (Volts)

If using this formula, see the Capacitor Charge Calculator.

8.2. Energy

The energy stored in a capacitor is:

\[E = \frac{1}{2}CV^2\]

\(E\) = energy stored in the capacitor (Joules)
\(C\) = capacitance (Farads)
\(V\) = voltage across the capacitor (Volts)

As shown by the equation, the energy stored in a capacitor is related to both the capacitance and voltage of the capacitor. A typical 100nF, 6.5V capacitor can store 2.11uJ. Not much huh! If you are really considering capacitors for their energy storage capabilities, you must look at supercapacitors, which have typical values of 100F and 2.5V (as of 2011). This gives 313J of energy, which is useful amount for powering something.

If using this formula, see the Capacitor Energy Calculator.

8.3. Force

The force exerted on the two parallel plates of a capacitor is:

\[F = \frac{\epsilon_0 AV^2}{2d^2}\]

\(F\) = outwards force exerted on each parallel plate of the capacitor, in Newtons
\(\epsilon_0\) = the permittivity of free space
\(A\) = overlapping area of the two plates, in meters squared
\(V\) = voltage across the capacitor, in Volts
\(d\) = separation distance between the two plates, in meters

8.4. Single Disc Capacitance

diagram for disc capacitance equation
Figure 16. Diagram for the disc-to-infinity capacitance equation.

The capacitance of a single thin plate, with a ground at 'infinity' (or more practically, just very far away) is:

\[C = 35.4 \times 10^{-12} \epsilon_r d\]

\(C\) = capacitance (Farads)
\(\epsilon_r\) = relative dielectric constant (1 for a vacuum)
\(d\) = diameter of the thin plate (meters)

8.5. Sphere Capacitance

diagram for sphere capacitance equation
Figure 17. Diagram for the sphere-to-infinity capacitance equation.

The capacitance of a single sphere, again, with a ground at infinity is[5]:

\[C = 4\pi \epsilon_0 \epsilon_r r\]

\(C\) = capacitance, in \(F\)
\(\epsilon_0\) is the permittivity of free space, approx. \(8.85 \times 10^{-12}Fm^{-1}\)
\(\epsilon_r\) = relative dielectric constant (\(1\) for a vacuum)
\(r\) = radius of sphere, in \(m\)

8.6. Parallel Plate Capacitance

The capacitance of two parallel plates is approximately

\[C = \epsilon_r \epsilon_o\frac{A}{d}\]

\(\epsilon_o\) = electric constant (\(8.854 \times 10^{-12}Fm^{-1}\))
\(\epsilon_r\) = dielectric constant of the material between the plates (no unit)
\(A\) = overlapping surface area of the parallel plates (meters squared)
\(d\) = distance between the plates (meters)

8.7. Concentric Cylinder Capacitance

diagram for coaxial cylinders capacitance equation
Figure 18. Diagram for the coaxial cylinder capacitance equation. Image from

The capacitance of two concentric cylinders as shown in the diagram above is:

\[\frac{2 \pi \epsilon_o \epsilon_r}{\ln (\frac{b}{a})} L\]

\(a\) = radius of inner cylinder (meters)
\(b\) = radius of outer cylinder (meters)
\(L\) = length of both cylinders (meters)
and all other variables as previously mentioned

9. Equivalent Series Resistance (ESR)

Ceramic SMD capacitors have very low ESRs. In fact, in certain applications, this can be a bad thing (such as the input/output stabilization capacitors for linear regulators and DC/DC converters), and either tantalums are used or resistance has to be added in series with the capacitor. Since usually only milli-Ohms is required, this can be done with an appropriately sized PCB track which is usually snaked to the capacitor terminal.

Electrolytic capacitors typically have a large ESR (there are special low-ESR types, but they still don’t compare to ceramic caps).

Capacitor TypeTypical ESR (at 1kHz)
Super-cap (1-100F)4-0.1Ω

Since the ESR is proportional to the capacitor’s plate area, for a similar capacitor designs, the ESR decreases with increasing capacitance.

10. Leakage Currents

Leakage currents are present in all types of capacitor. Leakage current is the sum of electrical losses from energy required to build up the oxide layers, weaknesses in the dielectric, tunnel effects, and cross currents. They are typically increase proportionally to the capacitance of the capacitor. We can reduce the leakage current down to two main factors, the absorption current \(I_{abs}\), and the intrinsic leakage current \(I_{il}\).

\[I_{leakage} = I_{abs} + I_{il}\]

Absorption currents are due to quantum tunnelling of electrons at the metal/ceramic barrier! Absorption currents, \(I_{abs}\) reduce with time and have weak temperature dependence, while intrinsic leakage currents \(I_{il}\) remain constant with time but exponentially increase with temperature.

Desorption currents (depolarization) flow when the voltage on a capacitor is decreased (e.g. when it is shorted). These currents can actually recharge a previously discharged capacitor, sometimes up to dangerous voltages (people experimenting with coil/rail guns can have this problem)!

Capacitors that have had a relatively constant voltage across them for a decent amount of time typically exhibit far less absorption current than one which has not been charged in the short-term past. This is due to a phenomenon called ‘self-healing’, in where a charged capacitor will heal defects in the electrolyte. Uncharged electrolytic capacitors may have weakened electrolyte due to ‘dissolution’, the destruction of the dielectric when no charge is present.

The leakage current through a capacitor can be modelled with a resistor in parallel with the actual capacitance, as shown in Figure 19.

capacitor with parasitic series resistance leakage current
Figure 19. A capacitor showing the parasitic series resistance present in all real capacitors, which creates a leakage current.

10.1. How Leakage Current Is Specified

For electrolytics, the maximum leakage current is usually specified in terms of the capacitance.

\[I_{leakage} = xC\]

\( I_{leakage} \) = the leakage current, usually specified in units of mA (this is up to the manufacturer and their choice of constant)
\( x \) = a fixed constant (e.g. 0.5)
\( C \) = the capacitance of the capacitor, and again, choice of units is up to the manufacturer

TipWhen specified this way, the current is completely independent on voltage. The leakage current for electrolytic super-caps in the range of 1 to 100F is typically 0.5C (mA), where C is the rated capacitance in Farads.

The leakage current for MLCC capacitors is specified by an insulation resistance. To work out the leakage current, you just use Ohm’s law as follows:

\[I_{leakage} = \frac{V}{R_{insulation}}\]

\( V \) = the voltage across the capacitor
\( R_{insulation} \) = the insulation resistance as specified on the capacitors datasheet

TipWhen leakage current is specified this way, it is dependent on the voltage.

Ceramic capacitors are rated with an initial minimum insulation resistance (e.g. \(500M\Omega\)) and then a lower minimum resistance rated over its entire life time (e.g. \(50M\Omega\)).

10.2. Why Leakage Currents Are Important

Leakage current becomes an important parameter to consider when designing long-life battery powered circuits. This is especially true for circuits powered of primary batteries with high internal resistance, such as lithium thionyl chloride batteries (LiSOCl2), because large (>100uF) capacitors can be required to help provide energy during high pulse current situations. These capacitors can have significant leakage current.

10.3. Measuring The Leakage Current Of A Capacitor

Because of the small currents/total energy involved, you can’t really measure the leakage current of a capacitor with standard multimeter. One way is to use a dedicated high-resistance meter, commonly called a megaohm meter or insulation resistance tester.

11. Capacitor Voltage Dependence

Some types of capacitors have a capacitance which changes depending on the applied voltage (well, technically, all do, but I’m talking about a significant/useful change).

The good news is this can be manipulated to make things such as voltage-controlled oscillators (VCOs), in where the capacitance is part of a resonant circuit, and the resonant frequency is changed by modifying the voltage on the capacitor, hence changing the capacitance. [Diodes](/electronics/components/diodes) also offer this feature and can be used to make FM radio signals by modulating a high-frequency waveform.

The bad news is that this also adversely affects the capacitance in situations where you want it to stay constant. This can actually be a very significant problems, especially with small package size ceramic capacitors (such as 0603 and 0805 SMD chip capacitors). An excellent explanation on this effects if Maxim Integrated’s Temperature and Voltage Variation of Ceramic Capacitors, or Why Your 4.7uF Capacitor Becomes a 0.33uF Capacitor. The following graph is from Maxim’s page, and just serves as an example to show by how much the capacitance can vary in normal operation conditions!

graph of temperature variation of ceramic chip 4 7uf capacitors
Figure 20. Graph of the capacitance variation (w.r.t. voltage) of a select group of 4.7uF ceramic chip capacitors, Image from

This can upset op-amp gains, frequency cut-off points of filters, and the time constant of RC oscillators.

12. Decoupling

Capacitors are commonly used for decoupling, as this following schematic shows (taken from the Raspberry-Pi PCB design).

decoupling caps schematic example on r pi pcb
Figure 21. Example usage of decoupling capacitors for ICs. Schematic is from the Raspberry-Pi PCB. Image from

13. Mains Line Filters

Capacitors used on mains lines for filtering are usually rated with the "XY" scheme.

Capacitors rated with an X are deemed suitable for connecting between two main voltage AC lines (line-to-line). They pose no risk if they either fail open or closed circuit. Capacitors with a Y are deemed suitable for connecting between line and neutral. These capacitors do pose a risk if they fail closed circuit, as this would make the ground (and hence chassis) "hot".

They are also given a number to represent there impulse test rating, as shown in the table below.

ClassificationImpulse Voltage (V)

14. Dielectric Soakage

A weird and little known about property of capacitors is their ability to seemingly 'create' energy and charge themselves up when left in certain conditions. This can be particularly dangerous with high voltage capacitors such as the old oil-filled paper capacitors, which would charge themselves up and then give anyone a shock who was unfortunate enough to get too close.

It’s called dielectric soakage because it’s essentially a property of the dielectric which retains some of the charge if a capacitor is discharged quickly and then left open circuit. The voltage climb can be up to 10% of the original voltage on the capacitor.

15. Charge Pumps (Bootstrapping)

A charge pump (also commonly called bootstrapping), is a way of using capacitors to generate a voltage higher than the supply. A typical charge-pump circuit has two capacitors and two diodes, and requires an oscillating input.

It is commonly used as a simple way of driving the gate of a n-doped silicon switch (such as a N-Channel MOSFET or IGBT) when being used as a high side driver. Although using a P-Channel as the high-side driver would not require this voltage step-up, N-Channel MOSFETs are preferred in most cases because of their lower on-resistance and price. When using a capacitor to charge the gate of a N-Channel MOSFET, you must make sure the capacitor stores enough charge to transfer to the MOSFET gate while raising the voltage enough drive the on-resistance as low as you need. A general rule of thumb is that the capacitor should store 100x more charge than the gate charge as stated on the MOSFETs datasheet. The charge stored in a capacitor can be calculated using the following equation:

\[\begin{align} Q = CV \end{align}\]

\(Q\) is the charge (Coulombs)
\(C\) the capacitance (Farads)
\(V\) the voltage (Volts)

However, if you really want to optimise the charge pump capacitor, this rule does not suffice. The Fairchild Semiconductor Application Note, Design And Application Guide Of Bootstrap Circuit For High-Voltage Gate-Drive IC has an in-depth analysis of the bootstrap capacitor and surrounding circuit.

The following circuit shows a charge pump circuit used to generate -5V from a +5V PWM signal.

charge pump based negative voltage gen schematic
Figure 22. This schematic shows a charge pump circuit used to generate -5V from a +5V PWM signal.

16. Capacitor Packages

Through-hole capacitors can usually be used in a surface mount fashion by lying the caps down on the board, bending the legs 90 degrees, and soldering them onto pads on the PCB.

Ceramic chip capacitors usually have a three letter code which describes the max cap temp, min cap temp, and change over temperature. The following table shows what the three letter code means for "Class II" and "Class III" ceramics. This basically covers all ceramic caps except the NP0/COG capacitors which belong to Class I.

CharTemp (°C)NumTemp (°C)CharChange (%)
1st CharacterLow Temp2nd CharacterHigh Temp3rd CharacterChange Over Temp (max)
----T+22, -33
----U+22, -56
----V+22, -82

17. Feedthrough Capacitors

Feedthrough (or feedthru) capacitors are special three-terminal capacitors (sometimes with four connections) used for suppression of RF noise. They are also known under the more general name of an EMI suppression filter or three-terminal capacitor.

feedthrough capacitor 3d render 0603 1608 3 connections
Figure 23. A 3D render of an 0603-sized feedthrough capacitor with 3 connections. Image from

Their advantage over a standard decoupling capacitor to ground is lower parasitic series inductance, which offers a lower impedance path for RF noise to ground.

17.1. Schematic Symbol

feedthrough capacitor schematic symbol 3 connection
Figure 24. The schematic symbol for a 3-terminal feedthrough capacitor.

17.2. Component Package

Many smaller, PCB suitable feedthrough capacitors come in chip packages, such as the 0603 or 0402 size. They can be distinguished from normal capacitors by the fact that the package will have three or four terminals rather than the standard two.

17.3. Uses

Feedthrough capacitors are commonly used in RC, LC, π and t-type filters when good RF performance is required.

18. Capacitance Multipliers

Capacitance multipliers are circuits which use an active element such as a BJT transistor to "multiply" a capacitor to create an effective capacitance which is much larger. They are useful for:

  • Transformer/rectifier style DC PSU voltage rail filtering.

  • Providing low-pass filtering into heavy loads, in where just a standard RC filter would suffer from too much voltage drop (or power dissipation) across the resistor.

  • Power supply filtering for Class-A audio amplifiers.

What they are not good for is propping up the voltage rail when the load itself experiences a high di/dt (change in current over time). Loads that draw high peak currents include solenoids switching and H-bridges. They are not any better than a regular capacitor in this regard, as they store no more energy.

The below schematic shows a simple capacitance multiplier made from 1 resistor, 1 capacitor and 1 NPN BJT transistor:

capacitance multiplier simple
Figure 25. A simple capacitance multiplier consisting of a single resistor, capacitor and NPN BJT transistor. The effective capacitance is approximately the capacitance of C1 multiplied by the current gain B of the transistor.

The BJT is configured as a emitter-follower (common collector). The output voltage will always be \(0.7V\) less than the voltage across the capacitor. When the load draws current at \(V_{OUT}\), rather than all of that current loading the RC filter, only the proportion \(\frac{1}{\beta + 1}\) gets drawn through the base from the RC filter, the rest of it gets delivered directly from \(V_{IN}\) via the collector. The effective capacitance seen by the circuit is the capacitance of C1 multiplied by the current gain \(\beta + 1\) of the transistor:

\[\begin{align} \label{eq:eff-cap} C_{eff} = (\beta + 1)\ C1 \end{align}\]

Normally \(\beta >> 1\) such that it’s simplified to:

\[\begin{align} C_{eff} = \beta\ C1 \end{align}\]

The cut-off frequency for the capacitance multiplier is:

\[\begin{align} \label{eq:cap-mult-rc-cutoff} f_c = \frac{1}{2\pi R1 C1} \end{align}\]
WarningEven though this circuit is called a capacitance multiplier, when calculating the cutoff frequency, you must use the real capacitance value, not the effective capacitance! For this I consider this circuit’s name somewhat misleading, as the corner frequency is just the same as a regular old RC low-pass filter. What does change is the current capability of the filter, as now most of the current is going through \(Q1\), rather than \(R1\). Perhaps the name buffered RC filter would be better than capacitance multiplier?

The steady-state output voltage at no load is:

\[\begin{align} V_{OUT} = V_{IN} - 0.7V \end{align}\]

We can improve on Figure 25 by changing the resistor into a resistor divider.

capacitance multiplier resistor divider
Figure 26. An capacitance multiplier which has improved filtering performance compared to the single resistor version above.

Adding in \(R2\) lowers the base voltage applied to the transistor, which then lowers the output voltage. Because more voltage is now dropped across the transistor, the circuit is able to provide better filtering than in Figure 25 when the input voltage droops.

The steady-state output voltage (at no load) is:

\[\begin{align} V_{OUT} = \frac{R2}{R1 + R2} V_{IN} - 0.7V \end{align}\]

The cut-off frequency for the 2 resistor capacitance multiplier is the same equation as Eq. \ref{eq:cap-mult-rc-cutoff} but with the equivalent resistance being \(R1\) and \(R2\) in parallel:

\[\begin{align} f_c &= \frac{1}{2\pi (R1 || R2) C1} \nonumber \\ \label{eq:cm-resistor-divider-cutoff} &= \frac{R1 + R2}{2\pi R1 R2 C1} \end{align}\]

The "effective capacitance" is exactly the same as in the single-resistor version in Eq. \ref{eq:eff-cap} (but remember, you don’t use this for the cutoff frequency calculations).

18.1. Worked Example

Let’s go through the design process for a capacitance multiplier circuit, and then simulate it using KiCad/ngspice to see what it’s frequency response is.

Design criteria:

  • 12VDC in

  • Assume power supply is very noisy, with the voltage fluctuating at most 1Vp2p with frequency components from 50Hz (mains ripple) to 100kHz.

  • Cut-off frequency of 10Hz (which is quite low)

  • A relatively low load resistance of \(100\Omega\) (you can go even lower, but smaller resistors/bigger caps are needed)

Given the noise fluctuations can be up to \(1V_{p2p}\), we want the BJT transistor to be dropping more than \(1V_{p2p}\) so that in input voltage is always larger than our output voltage, even with the ripple present on the input. Let’s aim for nominal \(10V\) output at no load.

\[\begin{align} V_{OUT} = 10V \end{align}\]

This constrains the ratio of \(R1\) and \(R2\) as (basic resistor divider equation):

\[\begin{align} \label{eq:cm-r1-r2-vin-vout} \frac{R1}{R2} = \frac{V_{IN} - V_{OUT}}{V_{OUT}} \end{align}\]

We’ll use the time-honoured 2N2222 NPN transistor, just because, well, I had a simulation model for it (power consumption shouldn’t be to high that we’d need something beefier, but more on that below). The forward current gain (\(\beta\)) of the 2N2222 is simulated at \(200\).

Our load resistance is \(100\Omega\). At \(10V\), this will be a current of \(100mA\). We need to make sure this current will not cause a significant extra voltage drop across \(R1\), which would cause the output voltage to droop. Let’s allow for \(100mV\) of drop (i.e. \(V_{OUT} = 9.9V\)) at \(100mA\).

\(100mA\) through the load will cause a current to be drawn through \(R1\) that will be \(\beta + 1\) times smaller:

\[\begin{align} I_{R1} &= \frac{1}{\beta + 1} I_{load} \nonumber \\ &= \frac{1}{200 + 1} * 100mA \nonumber \\ &= 498uA \end{align}\]
Tip\(I_{R1}\) will actually be larger than this due to the current through it drawn down to ground via \(R2\). But this number is fine for calculation purposes.

We can now find what value of \(R1\) will produce no more than \(100mV\) drop:

\[\begin{align} R1 &= \frac{V_{R1}}{I_{R1}} \nonumber \\ &= \frac{100mV}{498uA} \nonumber \\ &= 200\Omega \end{align}\]

Then using Eq. \ref{eq:cm-r1-r2-vin-vout}, that means \(R2\) must be:

\[\begin{align} R2 &= R1 \frac{V_{OUT}}{V_{IN} - V_{OUT}} \nonumber \\ &= 200\Omega \frac{10V}{12V - 10V} \nonumber \\ &= 1k\Omega \end{align}\]

Now we have found \(R1\) and \(R2\), \(C1\) is determined for us by the cut-off equation (Eq. \ref{eq:cm-resistor-divider-cutoff}):

\[\begin{align} C1 &= \frac{R1 + R2}{2\pi R1 R2 f_c} \nonumber \\ &= \frac{200\Omega + 1k\Omega}{2\pi*200\Omega*1k\Omega*10Hz} \nonumber \\ &= 95uF \nonumber \\ &= 100uF\ \text{(E12 series)} \end{align}\]

We can now draw the finished schematic:

Figure 27. Simulation-ready schematic of the capacitance multiplier we are designing.

Running AC analysis using ngspice gives us the following frequency response (bode plot):

Figure 28. The simulated frequency response of the capacitance multiplier circuit above.

Looking at the "DC" gain, it is a value of \(-1.75dB\). At an input voltage of \(12V\) this corresponds to an output voltage of \(12V \cdot 10^{\frac{-1.75}{20}} = 9.8V\), close to the \(9.9V\) we were aiming for.

Our cut-off frequency should then be \(-3dB\) ontop of that, i.e. at \(-1.75dB - 3dB = -4.75dB\). Plotting across and then down does indeed give us a cut-off frequency of approx. \(10Hz\). The roll-off in the stop band is the same as a standard RC low-pass filter at \(-20dB/decade\).

WarningWatch out for the transistors power dissipation! In our example, \(100mA\) was going through the 2N2222 which was dropping \(2.1V\). This gives \(210mW\), which should be o.k. for the 2N2222 (when in the old style TO-18 can package). But capacitance multipliers are typically used in high-current situations (many amps and more), in where careful attention has to be given to the power dissipation in the transistor. Large transistors and/or heat-sinking may be required. The voltage drop can also be reduced, but this also gives to a poorer filtering capability (i.e. less headroom).

Capacitance multipliers don’t have to built from BJT transistors, they can also use MOSFETs or op-amps as their active component. BJTs are used in a majority of cases though because of their cost, power dissipation capability, and simplicity.

19. Repairing Electrolytic Capacitors

When electrolytic capacitors get old, they can dry out and stop working properly (for example, their capacitance can reduce and/or maximum dielectric voltage drop). There are many sources quoting that electrolytic capacitors can be repaired by ramping the voltage slowly up to its full rated voltage. It is meant to repair the aluminium oxide dielectric layer.

circuit schematic showing how to repair an electrolytic capacitor
Figure 29. Schematic showing how to repair/reform an old electrolytic capacitor. The voltage on the capacitor should slowly rise to the rated voltage.

This can be done with power supply set the rated voltage and a high-power (e.g. 5W) 30kΩ resistor in series with the capacitor, as shown in the image above. Connect the circuit and measure the voltage across the capacitor. It should start at 0V and increase as an inverse exponential as the current through the capacitor decreases. Wait until the voltage across the capacitor gets above 90% of the rated voltage before disconnecting the circuit, as shown in the image below. If the voltage stabilises below 90% of the full-rated voltage, the capacitor is stuffed and can be thrown out.

capacitor voltage graph while charging through resistor for reforming
Figure 30. Graph of an electrolytic capacitor charging through a resistor to reform the aluminium oxide. The graph part of the image from

20. Energy Loss While Charging A Capacitor

An interesting phenomenon occurs when charging a capacitor from a fixed voltage source (e.g. battery or power supply). Assuming a real-world world situation, there is always going to be some resistance between the voltage source and capacitor. Exactly the same amount of energy is dissipated through this resistance as is stored in the capacitor when charging it up to the voltage source voltage \(V_{cc}\). It doesn’t matter how large or small this resistance is! The resistance could just be the ESR of the capacitor, or it could be a dedicated resistor placed in series to limit the inrush current.

Here is an example schematic:

energy loss while charging a capacitor schematic
Figure 31. A schematic showing the basic circuit while charging a capacitor, highlighting the energy lost in the series resistance.

This quite significant and fixed energy loss has implications when it comes to charging caps in low-power circuits (e.g. running of a battery), and sizing resistors (including NTC thermistors) for limiting the inrush current to capacitors, normally as part of the front end to a power supply or motor driver.

20.1. The Proof

Let’s start from the basics.

We know total energy in the circuit is the integral of power over time:

\[\begin{align} E_{in} = \int{P_{in} \cdot dt} \end{align}\]

Using the basic equation for electrical power \(P = VI\) we can write:

\[\begin{align} P_{in} = V_{in} \cdot I_{in} \end{align}\]

Substituting the power equation into integral equation, we get an equation for the energy in terms of the voltage and current:

\[\begin{align} E_{in} = \int{ V_{in} I_{in} \cdot dt } \end{align}\]

If we assume a fixed DC voltage source, \(V_{in}\), that does not vary over time, we can bring it outside the integral:

\[\begin{align} E_{in} = V_{in} \int{ I_{in} \cdot dt } \end{align}\]

Now using the equation for charge in it’s integral form \(Q = \int{I \cdot dt}\) we can write:

\[\begin{align} Q_{in} = \int{I_{in} \cdot dt} \end{align}\]

We can substitute the charge equation into for energy equation:

\[\begin{align} E_{in} = V_{in} Q_{in} \end{align}\]

Assuming the cap was fully charged to \(V_{in}\) (o.k., this would take an infinite amount of time, but lets just be realistic and say 99.9% is fully charged), and using the basic formula for the energy in a capacitor (\(E = \frac{1}{2}CV^2\)), we can write:

\[\begin{align} E_{cap} = \frac{1}{2}CV_{in}^2 \end{align}\]

Now, all of the input charge \(Q_{in}\) referred to in charge equation got to the capacitor since the resistor and capacitor share the same current. The equation for the energy in the capacitor can be re-written in terms of charge (using \(Q=CV\)):

\[\begin{align} E_{cap} = \frac{1}{2} V_{in} Q_{in} \end{align}\]

We now have an equation for the energy given out by the voltage source, and an equation for the amount of energy given to the capacitor. Subtracting the two will give the amount of energy lost to the resistance during charging:

\[\begin{align} E_{res} &= E_{in} - E_{cap} \nonumber \\ &= V_{in} Q_{in} - \frac{1}{2} V_{in} Q_{in} \nonumber \\ &= \frac{1}{2} V_{in} Q_{in} \end{align}\]

Woah, hang on a moment, this is the same as the energy in the capacitor!

This implies that when charging a capacitor from a fixed DC source, you dissipate just as much energy as heat as you store in the capacitor. It does not matter what the resistance is (it could just be the resistance of the wires and the ESR (equivalent series resistance) in the capacitor).


Geoffrey Hunter

Dude making stuff.

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License .

Related Content:


comments powered by Disqus