CAPACITORS
Capacitors
Date Published: | |
Last Modified: |
Contents
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.
Schematic Symbols
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.
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.
Types
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.

The deformation of a PCB due to the electrostrictive phenomenon in ceramic chip capacitors. Image from http://www.murata.com/products/capacitor/solution/naki.html.
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 codes1:
1ST CHARACTER | 2ND CHARACTER | 3RD CHARACTER | |||
---|---|---|---|---|---|
Letter | Significant Figures | Digit | Multiplier (10^X) | Letter | Tolerance (ppm/°C) |
C | 0.0 | 0 | -1 | G | ±30 |
B | 0.3 | 1 | -10 | H | ±60 |
L | 0.8 | 2 | -100 | J | ±120 |
A | 0.9 | 3 | -1000 | K | ±250 |
M | 1.0 | 4 | +1 | L | ±500 |
P | 1.5 | 6 | +10 | M | ±1000 |
R | 2.2 | 7 | +100 | N | ±2500 |
S | 3.3 | 8 | +1000 | ||
T | 4.7 | ||||
V | 5.6 | ||||
U | 7.5 |
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.

DigiKey, like many other suppliers, groups together C0G and NP0 as one temperature coefficient. Screenshot from https://www.digikey.com/product-detail/en/tdk-corporation/CGA4C2C0G1H392J060AA/445-6942-1-ND/2672960.
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.
Standard | Symbol | Temperature Range | Capacitance Tolerance |
---|---|---|---|
JIS | JB | -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.
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.
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 immune2.
Class II and Class III capacitors are most likely to “sing” when the capacitor is subject to large current/voltage ripple.
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. [^avx-flexiterm-test-for-ceramic-chip-caps] shows a diagram of the test setup for measuring the maximum bending flex3.
![Diagram showing the test setup for measuring the maximum bending flex for AVX chip capacitors with "FLEXITERM" terminals[^bib-avx-auto-mlcc].](https://blog.mbedded.ninja/electronics/components/capacitors/avx-flexiterm-test-for-ceramic-chip-caps.png)
Diagram showing the test setup for measuring the maximum bending flex for AVX chip capacitors with “FLEXITERM” terminals3.
Electrolytic
Range | 100nF - 5000uF |
Polarized | Yes (but some special ones aren't) |
Typical Marking | Because of their large size, the capacitance is usually printed in it's absolute form on the cylinder. |
Uses |
|
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.
Tantalum
Range | 100nF-2mF (from 47nF to 10mF on DigiKey as of Jan 2014) |
Polarized | Yes (mark indicates POSITIVE side) |
Typical Marking | Capacitance is usually printed directly onto capacitor |
Uses |
|
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.
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.
Construction
At the heart of a tantalum capacitor is a pellet of tantalum (\(Ta_2 O_5\)
).
Packaging
Tantalum capacitors come in both through-hole and SMD packages.
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.
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.
Film Capacitors
Parameter | Value |
---|---|
Synonyms/Subfamilies |
|
Range | 1nF - 10uF |
Polarized | No |
Dielectric | Polyester, Polycarbonate |
Typical Marking | Because of their large size, the capacitance is usually either in |
Uses |
|
Film capacitors are a family of capacitors which use thin insulating plastic film as the dielectric4. They are not polarity sensitive. The film can either be left as is or metallized, which makes it a metallized film capacitor5.
How do you identify film capacitors? Film capacitors usually come in the following forms:
A potted rectangular block with the two leads typically coming out of the same side (radial). Typical colors are yellow, blue, or white.
A rounded, red case that has been coasted in a epoxy lacquer, with the leads typically coming out of the same side.
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.

A broken 1uF (marking 105K) 250VAC metallized film capacitor (red bulge with cracks in it) I found inside my mum’s paper shredder.
Polyester (Green Cap)
Range | 1nF - 10uF |
Polarized | No |
Dielectric | Polyester, Polycarbonate |
Typical Marking | Value in pF with multiplier (similar to resistors) |
Uses | General 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.
Supercapacitors
Range | 10mF-1000F |
Polarized | Yes (mark indicates negative side) |
Typical Marking | Capacitance is usually printed directly onto capacitor |
Uses |
|
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.
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.

Ceramic, high-voltage ‘door-knob’ capacitors. Image from www.trademe.co.nz.
Dielectric Constants Of Common Materials
Sorted by alphabetic order.
Material | Dielectic Constant (value or range, no unit) | Notes |
---|---|---|
Air | 1 | See below for data on how temperature, humidity, and pressure influences the dielectric of air. |
Bakelite | 4.4-5.4 | |
Ethanol | 24 | |
Formica | 4.6-4.9 | |
Glass | 7.6-8.0 | This is common window glass |
Mica | 5.4 | |
Mylar | 3.2 | |
Paper | 3.0 | |
Paraffin | 2.1 | |
Plexiglass | 2.8 | |
Polyethylene | 2.3 | |
Polystyrene | 2.6 | |
Porcelain | 5.1-5.9 | |
Quartz | 3.8 | |
Rubber | 2.8 | Hard rubber |
Teflon | 2.1 | |
Vacuum | 1.0 | |
Vinyl | 2.8-4.5 | |
Water | 76.5-80 | Distilled water |
The Dielectric Of Air
The dielectric of air changes with humidity, pressure and temperature.
Temperature | 5ppm/C |
Relative Humidity | 1.4ppm/%RH |
Pressure | 100ppm/atm |
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.
Capacitors In Parallel
Capacitors in parallel can be treated as one capacitor with the equivalent capacitance of:
\begin{align} C_{total} = C1 + C2 \end{align}
That is, in parallel, the total equivalent capacitance is the sum of the individual capacitances. This is shown in the below diagram.
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).
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}
or:
\begin{align} C_{total} = \frac{C1C2}{C1 + C2} \end{align}
It is usually easier to remember this equation as:
\begin{align} \frac{1}{C_{total}} = \frac{1}{C1} + \frac{1}{C2} \end{align}
This is shown in the following diagram.
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.
Formulas
Charge
The charge stored on the plates of a capacitor is related to the voltage and capacitance by:
\begin{align} Q = CV \end{align}
where:
\(Q\) = charge stored in plates (Coulombs)
\(C\) = capacitance (Farads)
\(V\) = voltage (Volts)
If using this formula, see the Capacitor Charge Calculator.
Energy
The energy stored in a capacitor is:
\begin{align} E = \frac{1}{2}CV^2 \end{align}
where:
\(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.
Force
The force exerted on the two parallel plates of a capacitor is:
\begin{align} F = \frac{\epsilon_0 AV^2}{2d^2} \end{align}
where:
\(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
Single Disc Capacitance
The capacitance of a single thin plate, with a ground at ‘infinity’ (or more practically, just very far away) is:
\begin{align} C = 35.4 \times 10^{-12} \epsilon_r d \end{align}
where:
\(C\) = capacitance (Farads)
\(\epsilon_r\) = relative dielectric constant (1 for a vacuum)
\(d\) = diameter of the thin plate (meters)
Sphere Capacitance
The capacitance of a single sphere, again, with a ground at infinity is6:
\begin{align} C = 4\pi \epsilon_0 \epsilon_r r \end{align}
where:
\(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\)
Parallel Plate Capacitance
The capacitance of two parallel plates is approximately
\begin{align} C = \epsilon_r \epsilon_o\frac{A}{d} \end{align}
where:
\(\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)
Concentric Cylinder Capacitance

Diagram for the coaxial cylinder capacitance equation. Image from http://www.capsense.com/capsense-wp.pdf.
The capacitance of two concentric cylinders as shown in the diagram above is:
\begin{align} \frac{2 \pi \epsilon_o \epsilon_r}{\ln (\frac{b}{a})} L \end{align}
where:
\(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
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 Type | Typical 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.
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}\)
.
\begin{align} I_{leakage} = I_{abs} + I_{il} \end{align}
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 below.

A capacitor showing the parasitic series resistance present in all real capacitors, which creates a leakage current.
How Leakage Current Is Specified
For electrolytics, the maximum leakage current is usually specified in terms of the capacitance.
\begin{align} I_{leakage} = xC \end{align}
where:
\( 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
When 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:
\begin{align} I_{leakage} = \frac{V}{R_{insulation}} \end{align}
where:
\( V \) = the voltage across the capacitor
\( R_{insulation} \) = the insulation resistance as specified on the capacitors datasheet
When 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\)
).
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.
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.
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 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 the capacitance variation (w.r.t. voltage) of a select group of 4.7uF ceramic chip capacitors, Image from http://www.maximintegrated.com/app-notes/index.mvp/id/5527.
This can upset op-amp gains, frequency cut-off points of filters, and the time constant of RC oscillators.
Decoupling
Capacitors are commonly used for decoupling, as this following schematic shows (taken from the Raspberry-Pi PCB design).

Example usage of decoupling capacitors for ICs. Schematic is from the Raspberry-Pi PCB. Image from http://www.raspberrypi.org/wp-content/uploads/2012/04/Raspberry-Pi-Schematics-R1.0.pdf.
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.
Classification | Impulse Voltage (V) |
---|---|
X1 | 4,000 |
X2 | 2,500 |
Y1 | 8,000 |
Y2 | 5,000 |
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.
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}
where:
\(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.
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.
1st Character | Low Temp | 2nd Character | High Temp | 3rd Character | Change Over Temp (max) |
---|---|---|---|---|---|
Z | +10 | 2 | +45 | A | ±1.0 |
Y | -30 | 4 | +65 | B | ±1.5 |
X | -55 | 5 | +85 | C | ±2.2 |
- | - | 6 | +105 | D | ±3.3 |
- | - | 7 | +125 | E | ±4.7 |
- | - | 8 | +150 | F | ±7.5 |
- | - | 9 | +200 | P | ±10 |
- | - | - | - | R | ±15 |
- | - | - | - | S | ±22 |
- | - | - | - | T | +22, -33 |
- | - | - | - | U | +22, -56 |
- | - | - | - | V | +22, -82 |
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.

A 3D render of an 0603-sized feedthrough capacitor with 3 connections. Image from www.digikey.com.
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.
Schematic Symbol
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.
Uses
Feedthrough capacitors are commonly used in RC, LC, π and t-type filters when good RF performance is required.
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:
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}
\(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 the above design by changing the resistor into a resistor divider.
An capacitance multiplier which has improved filtering performance compared to the [^img-capacitance-multiplier-single,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 before 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).
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}
\(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:
Running AC analysis using ngspice gives us the following frequency response (bode plot):
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\)
.
\(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.
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.

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.

Graph of an electrolytic capacitor charging through a resistor to reform the aluminium oxide. The graph part of the image from http://www.antonine-education.co.uk/Pages/Electronics_2/Timing_Subsystems/RC_Networks/further_page_2.htm.
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:

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.
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).
References
https://www.electronics-notes.com/articles/electronic_components/capacitors/ceramic-dielectric-types-c0g-x7r-z5u-y5v.php. ↩︎
https://product.tdk.com/en/contact/faq/31_singing_capacitors_piezoelectric_effect.pdf. ↩︎
AVX. Automotive MLCC (datasheet). Retrieved 2022-02-01, from https://datasheets.avx.com/AutoMLCC.pdf. ↩︎ ↩︎
QS Study. Capacitance of a Spherical Conductor. Retrieved 2021-09-17, from https://qsstudy.com/physics/capacitance-spherical-conductor. ↩︎
Authors

This work is licensed under a Creative Commons Attribution 4.0 International License .
Related Content:
Tags
- capacitor
- cap
- components
- schematic symbols
- circuit
- ceramic
- electrolytics
- tantalums
- packages
- film
- feedthrough
- decoupling
- MFC
- X5R
- X7R
- C0G
- NP0
- singing capacitors
- piezoelectric
- Class I
- Class II
- Class III
- audible noise
- dielectrics
- bending flex
- FT-CAP
- capacitance multipliers