In an AC circuit, a capacitor acts as a frequency-dependent resistor (reactance) that blocks DC voltage while allowing AC signals to pass, simultaneously shifting the phase of the AC current to lead the voltage by up to 90 degrees. If you are asking what does a capacitor do in an ac circuit, the short answer is that it opposes changes in voltage. It stores and releases energy in a way that creates high impedance at low frequencies and low impedance at high frequencies, making it the fundamental component for AC coupling, filtering, and phase shifting.
To see this behavior on the bench, we use the 1st-order RC high-pass filter (often called an AC coupler). This topology isolates DC bias between circuit stages while passing the AC waveform. Below, we break down the topology, the math, and the physical realities of building it.
The RC AC-Coupling Topology: Nodes and Behavior
The standard AC coupling topology consists of a series capacitor and a shunt resistor to ground. Here is the node mapping for our reference design:
- Vin: The input node receiving a mixed AC+DC signal (e.g., from a microphone preamp or function generator).
- C1: The series coupling capacitor connected between Vin and Node A.
- Node A: The junction between C1 and R1. This is where the filtered AC signal emerges.
- R1: The shunt resistor connected between Node A and GND. It provides a DC discharge path and sets the input impedance for the next stage.
- Vout: The output node, measured across R1 (identical to Node A).
- GND: The common circuit reference (0V).
The behavior of this circuit is entirely dictated by the relationship between the capacitive reactance ($X_C$) and the resistance ($R$). Here is how the circuit responds when you alter the variables:
| Parameter Changed | Effect on Cutoff Frequency ($f_c$) | Effect on Vout Amplitude (at fixed AC freq) | Effect on Phase Shift |
|---|---|---|---|
| Increase C1 Value | Decreases (passes lower frequencies) | Increases (less signal lost to $X_C$) | Phase shift approaches 0° (more resistive) |
| Decrease C1 Value | Increases (blocks more low frequencies) | Decreases (more signal dropped across $X_C$) | Phase shift approaches +90° (more capacitive) |
| Increase R1 Value | Decreases (passes lower frequencies) | Increases (less voltage divider loss) | Phase shift approaches 0° |
| Increase Input Freq | N/A (cutoff is fixed by R and C) | Increases (approaches Vin amplitude) | Phase shift approaches 0° |
Capacitive Reactance Across the Frequency Spectrum
A capacitor's opposition to AC current is called capacitive reactance ($X_C$), calculated as $X_C = \frac{1}{2 \pi f C}$. Unlike a resistor, which dissipates energy as heat, a capacitor stores energy in an electric field and returns it to the circuit. This means a pure capacitor dissipates zero real power (watts), only reactive power (VARs).
The table below maps the exact reactance of a standard 100nF (0.1µF) capacitor across common AC frequencies. Notice how the impedance drops by a factor of 10 for every decade increase in frequency.
| Frequency (Hz) | Angular Freq $\omega$ (rad/s) | Capacitive Reactance $X_C$ ($\Omega$) | Total Impedance $Z$ (with 10k$\Omega$ R1) | Phase Angle $\theta$ (Vout vs Vin) |
|---|---|---|---|---|
| 10 Hz | 62.83 | 159,155 $\Omega$ | 159,469 $\Omega$ | +86.4° (Current leads heavily) |
| 60 Hz (Mains) | 376.99 | 26,525 $\Omega$ | 28,348 $\Omega$ | +69.3° |
| 159.15 Hz ($f_c$) | 1000.0 | 10,000 $\Omega$ | 14,142 $\Omega$ | +45.0° (Exactly at -3dB point) |
| 1,000 Hz (Audio) | 6283.18 | 1,591 $\Omega$ | 10,125 $\Omega$ | +9.0° (Mostly resistive) |
| 10,000 Hz | 62831.8 | 159 $\Omega$ | 10,001 $\Omega$ | +0.9° (Acts like a short circuit) |
At the cutoff frequency (159.15 Hz for this RC pair), $X_C$ exactly equals $R$. The output voltage drops to 70.7% of the input voltage (-3dB), and the phase shift is exactly 45 degrees. For a deeper mathematical breakdown of these relationships, the All About Circuits chapter on capacitive reactance provides excellent foundational derivations.
Design Walkthrough: Sizing C1 and R1 for Audio AC Coupling
Let's design an AC coupler to pass human voice frequencies (approx. 200 Hz to 3 kHz) from an electret microphone preamp into an Arduino ADC, while blocking the 2.5V DC bias from the preamp.
Step 1: Choose R1 (Shunt Resistor)
The Arduino ADC input impedance is roughly 100M$\Omega$ during sampling, but we need a stable DC bias path to ground (or to a mid-rail bias) to prevent the floating node from accumulating static charge. A 10k$\Omega$ resistor (e.g., Vishay MRS25 1/4W metal film) is a standard choice. It provides a solid ground reference without loading down the preamp.
Step 2: Calculate C1 for Target Cutoff
We want the -3dB cutoff frequency ($f_c$) to be well below our lowest target frequency (200 Hz). Let's target $f_c = 15.9$ Hz to ensure zero attenuation in the voice band.
Using the formula $C = \frac{1}{2 \pi f_c R}$:
$C = \frac{1}{2 \times \pi \times 15.9 \times 10,000} = 1 \times 10^{-6}$ Farads, or 1.0 µF.
Step 3: Select the Capacitor Dielectric (Critical)
Do not use a standard X7R or Y5V multilayer ceramic capacitor (MLCC) for AC coupling. Under DC bias or high AC swing, X7R ceramics exhibit severe capacitance loss and introduce harmonic distortion (microphonics). For audio AC coupling, you must use a C0G/NP0 ceramic or a polyester film capacitor (like the WIMA MKS2 or Panasonic ECQ-E series). Film capacitors offer exceptional linearity and zero piezoelectric distortion.
Why RC Coupling Over the Alternatives?
Why use an RC high-pass filter instead of just wiring the signal directly, or using an inductor?
- vs. Direct Coupling: Direct wiring passes the 2.5V DC bias from the preamp straight into the Arduino ADC. Since the Arduino ADC measures 0-5V, a 2.5V DC offset cuts your usable AC swing in half, destroying resolution. The capacitor blocks the 2.5V DC entirely.
- vs. Inductive Coupling (Transformers): Audio transformers provide galvanic isolation and can step up voltage, but they are bulky, expensive ($5-$15 vs $0.10 for an RC pair), and introduce their own low-frequency roll-off and magnetic hum pickup. RC coupling is the default for 95% of solid-state signal routing.
- vs. Active High-Pass Filters (Op-Amps): Active filters offer steeper roll-off (e.g., -40dB/decade for a 2nd-order Sallen-Key), but require dual power rails or virtual grounds and introduce op-amp noise. A passive RC pair is noiseless and requires no power.
Failure Modes: What Breaks at the Extremes?
When troubleshooting AC coupling on the bench, components fail in predictable ways. Here is the failure-mode contrast for series/parallel extremes:
| Component Fault | Circuit Behavior | Oscilloscope Symptom at Vout |
|---|---|---|
| C1 Shorts | Capacitor becomes a wire. DC bias passes directly to Node A. | Vout shows a massive DC offset (e.g., 2.5V) plus the AC signal. Downstream stage may clip or saturate. |
| C1 Opens | Signal path broken. No AC current can flow. | Vout drops to 0V AC (flatline). If R1 is present, DC is 0V. |
| R1 Shorts | Node A is hard-tied to GND. AC signal is shunted to ground. | Vout is 0V. The preamp driving Vin may experience excessive current draw if it lacks output protection. |
| R1 Opens | Node A loses its DC discharge path and becomes high-impedance. | Vout floats. A 10M$\Omega$ scope probe will show a massive 60Hz mains hum (parasitic coupling) and the DC level will drift unpredictably. |
The 'R1 Opens' scenario is a classic trap for beginners. When the shunt resistor is missing, the capacitor charges up from stray electrostatic fields and never discharges. The node 'floats', and your oscilloscope will display a chaotic, drifting waveform dominated by 50/60Hz electromagnetic interference from the room's wiring. Always verify the shunt resistor is populated before blaming the capacitor.
Step-by-Step Breadboard Verification
To prove the theory, build the 159 Hz cutoff circuit (100nF C1, 10k$\Omega$ R1) and verify it with test equipment. For comprehensive filter theory and practical testing setups, Electronics Tutorials offers excellent visual guides on waveform responses.
- Prepare the Components: Insert a 100nF WIMA MKS2 film capacitor and a 10k$\Omega$ 1/4W metal film resistor into the breadboard. Connect one leg of C1 to the positive rail (Vin). Connect the other leg of C1 to an empty node (Node A). Connect R1 between Node A and the ground rail.
- Configure the Signal Source: Set your function generator to output a 1.0V peak-to-peak (Vpp) sine wave at 1,000 Hz, with a 0V DC offset. Connect the generator's BNC-to-alligator clip to Vin and GND.
- Probe the Circuit: Connect Oscilloscope Channel 1 to Vin (generator input) and Channel 2 to Vout (Node A). Set both channels to 500mV/div and AC coupling mode. Trigger on Channel 1.
- Verify Passband: At 1,000 Hz, $X_C$ is only 1,591$\Omega$. The voltage divider ratio is $\frac{10000}{10000 + 1591} = 0.86$. You should see Channel 2 displaying roughly 860mVpp, almost perfectly in phase with Channel 1.
- Find the Cutoff Frequency: Slowly sweep the function generator frequency down. Watch Channel 2's amplitude drop. When Channel 2 reads exactly 707mVpp (which is $1.0V \times 0.707$), stop. Check the frequency readout on the generator. It should read approximately 159 Hz.
- Observe Phase Shift: At this 159 Hz point, expand the timebase. Measure the time delay ($\Delta t$) between the zero-crossing of CH1 and CH2. You will observe that the Vout waveform leads the Vin waveform by exactly 1/8th of a cycle (45 degrees), confirming the theoretical phase shift of an RC high-pass filter at $f_c$.
Understanding what a capacitor does in an AC circuit moves you from simply memorizing formulas to actively shaping signal flow. By mastering the interplay between capacitive reactance, shunt resistance, and dielectric selection, you can design coupling networks that preserve signal integrity from audio frequencies all the way up to RF.






