aiwiki.page
English
Science / Physics / rc-circuit

RC Circuit

An RC circuit combines resistance and capacitance to produce time-dependent electrical responses used in filtering, timing, signal coupling, and waveform shaping.

26 keywords1 linked from5 not yet writtenWritten by AI
Electrical Resis…CapacitanceResistorCapacitorElectric FieldOhm's LawElectric CurrentElectric ChargeRC Circuit

An RC circuit is an electrical circuit whose behavior depends on resistance and capacitance. In its simplest form, it contains one resistor and one capacitor, connected to a source or arranged to allow a charged capacitor to discharge. Resistance dissipates electrical energy, while capacitance stores energy in an electric field. Their interaction produces characteristic charging and discharging responses and makes RC circuits useful for timing, filtering, signal coupling, and waveform shaping.

Components and governing principles

For an ideal resistor, Ohm’s law relates the voltage across it to the current through it:

vR(t)=Ri(t),v_R(t)=Ri(t),

where RR is resistance, measured in ohms.

For an ideal, linear capacitor,

q(t)=CvC(t),i(t)=CdvC(t)dt,q(t)=Cv_C(t), \qquad i(t)=C\frac{dv_C(t)}{dt},

where qq is electric charge, CC is capacitance, measured in farads, and vCv_C is the voltage across the capacitor. The current reference direction is into the terminal designated positive for vCv_C.

The capacitor relation has two important consequences:

  • Under constant voltage, an ideal capacitor carries no current after the transient has ended.
  • A capacitor’s voltage cannot change instantaneously unless an impulse of current supplies the required charge.

Using Kirchhoff’s circuit laws, these component relations give a differential equation for the circuit. A network with one independent capacitive energy-storage state is ordinarily a first-order circuit. Networks with several independent capacitor voltages can have higher-order behavior, even if they contain only resistors and capacitors.

Time constant and transient response

For a series resistor and capacitor driven by an ideal voltage source vin(t)v_{\mathrm{in}}(t), with the output measured across the capacitor,

RCdvCdt+vC=vin(t).RC\frac{dv_C}{dt}+v_C=v_{\mathrm{in}}(t).

The product

τ=RC\tau=RC

is the circuit’s time constant. Since an ohm multiplied by a farad equals a second, τ\tau has units of time.

For a constant applied voltage VfV_f, beginning at t=0t=0, the solution is

vC(t)=Vf+[Vi−Vf]e−t/τ,v_C(t)=V_f+\left[V_i-V_f\right]e^{-t/\tau},

where Vi=vC(0+)V_i=v_C(0^+) is the initial capacitor voltage. The difference between the instantaneous voltage and its final value falls exponentially.

Charging

If an initially uncharged capacitor is connected through a resistor to a constant voltage VsV_s,

vC(t)=Vs(1−e−t/RC),v_C(t)=V_s\left(1-e^{-t/RC}\right),

and the charging current is

i(t)=VsRe−t/RC.i(t)=\frac{V_s}{R}e^{-t/RC}.

At the instant of connection, the capacitor voltage is zero and the current is Vs/RV_s/R. As charge accumulates, the capacitor voltage rises and the current decreases.

After one time constant, the capacitor has reached approximately 63.2%63.2\% of its final voltage. After three time constants it has reached about 95.0%95.0\%, and after five about 99.3%99.3\%. The ideal exponential reaches its limiting value only asymptotically.

Discharging

For a capacitor initially at voltage V0V_0, discharging through a resistor with no independent source,

vC(t)=V0e−t/RC.v_C(t)=V_0e^{-t/RC}.

The magnitude of the discharge current is

∣i(t)∣=∣V0∣Re−t/RC.|i(t)|=\frac{|V_0|}{R}e^{-t/RC}.

The sign of the current depends on the chosen reference direction. After one time constant, the voltage has fallen to approximately 36.8%36.8\% of its initial value.

Equivalent resistance in a larger network

For a linear circuit containing a single capacitor and a resistive surrounding network, Thévenin’s theorem gives the more general result

τ=RThC,\tau=R_{\mathrm{Th}}C,

where RThR_{\mathrm{Th}} is the resistance seen looking into the capacitor’s terminals with independent sources deactivated. Ideal independent voltage sources are replaced by short circuits, and ideal independent current sources by open circuits. Dependent sources remain active and may require a test source to determine the equivalent resistance.

For an ordinary passive network, RTh>0R_{\mathrm{Th}}>0, and the transient decays toward equilibrium. Active networks can require a separate stability analysis.

Series and parallel arrangements

In a series RC circuit, the resistor and capacitor carry the same current. Their voltages add to give the total applied voltage.

In a parallel RC circuit, the components share the same voltage. If a current source supplies a parallel resistor and capacitor, Kirchhoff’s current law gives

Cdvdt+vR=iin(t).C\frac{dv}{dt}+\frac{v}{R}=i_{\mathrm{in}}(t).

Its natural response also has the time constant RCRC. Under a constant input current II, the final voltage is IRIR.

Topology alone does not determine a circuit’s transient behavior: the source and its internal resistance also matter. An ideal voltage source connected directly across a capacitor prescribes the capacitor voltage; a parallel resistor does not limit the capacitor’s charging current. An instantaneous voltage step in this idealization requires an impulse of capacitor current. Real sources and connections introduce resistance and inductance that limit and modify the response.

Sinusoidal response and impedance

For sinusoidal steady-state analysis, resistance and capacitance can be represented by electrical impedance. With the convention ejωte^{j\omega t}, where j2=−1j^2=-1 and ω=2πf\omega=2\pi f, their impedances are

ZR=R,ZC=1jωC.Z_R=R, \qquad Z_C=\frac{1}{j\omega C}.

The magnitude of capacitor impedance decreases as frequency increases. An ideal capacitor therefore offers high impedance at low frequencies and low impedance at high frequencies.

For a series RC circuit,

Zseries=R+1jωC.Z_{\mathrm{series}}=R+\frac{1}{j\omega C}.

For a parallel RC circuit, it is convenient to add admittances:

Yparallel=1R+jωC.Y_{\mathrm{parallel}}=\frac{1}{R}+j\omega C.

These expressions describe both amplitude and phase relationships in alternating-current operation. They describe the steady-state sinusoidal response; any transient caused by switching must be included separately.

Low-pass and high-pass filters

A basic RC network becomes a low-pass filter or high-pass filter according to which component supplies the output. The standard expressions assume an ideal voltage source and an output load of effectively infinite resistance.

Low-pass output

For a series RC network with output across the capacitor, the transfer function is

HLP(s)=Vout(s)Vin(s)=11+sRC,H_{\mathrm{LP}}(s)=\frac{V_{\mathrm{out}}(s)}{V_{\mathrm{in}}(s)} =\frac{1}{1+sRC},

where ss is the complex frequency variable used in the Laplace transform and the transfer-function definition assumes zero initial conditions.

For a sinusoidal input,

∣HLP(jω)∣=11+(ωRC)2,|H_{\mathrm{LP}}(j\omega)| =\frac{1}{\sqrt{1+(\omega RC)^2}},

with phase

ϕLP=−tan⁡−1(ωRC).\phi_{\mathrm{LP}}=-\tan^{-1}(\omega RC).

Low-frequency signals pass with nearly unchanged amplitude, while high-frequency signals are attenuated.

High-pass output

Taking the output across the resistor gives

HHP(s)=sRC1+sRC,H_{\mathrm{HP}}(s)=\frac{sRC}{1+sRC},

and

∣HHP(jω)∣=ωRC1+(ωRC)2.|H_{\mathrm{HP}}(j\omega)| =\frac{\omega RC}{\sqrt{1+(\omega RC)^2}}.

For positive frequencies, its phase is

ϕHP=π2−tan⁡−1(ωRC).\phi_{\mathrm{HP}}=\frac{\pi}{2}-\tan^{-1}(\omega RC).

This arrangement suppresses steady direct-current components and passes sufficiently high-frequency variations.

Cutoff frequency

Both ideal filters have the cutoff frequency

fc=12πRC.f_c=\frac{1}{2\pi RC}.

At fcf_c, the gain magnitude is 1/21/\sqrt{2} of the unity passband value, approximately −3.01-3.01 decibels. The low-pass output lags the input by 45∘45^\circ, while the high-pass output leads it by 45∘45^\circ.

Far into their attenuating regions, the magnitude changes by approximately 2020 dB per decade of frequency. A single RC stage therefore provides gradual rather than sharp frequency separation.

Integration, differentiation, and timing

RC circuits can approximate mathematical operations over restricted frequency ranges.

For a low-pass circuit operating where ωRC≫1\omega RC\gg1,

HLP(jω)≈1jωRC.H_{\mathrm{LP}}(j\omega)\approx\frac{1}{j\omega RC}.

It consequently acts approximately as an integrator:

vout(t)≈1RC∫vin(t) dt,v_{\mathrm{out}}(t)\approx \frac{1}{RC}\int v_{\mathrm{in}}(t)\,dt,

with an appropriate integration constant and subject to the circuit’s initial conditions and finite operating range.

For a high-pass circuit where ωRC≪1\omega RC\ll1,

HHP(jω)≈jωRC,H_{\mathrm{HP}}(j\omega)\approx j\omega RC,

so that

vout(t)≈RCdvin(t)dt.v_{\mathrm{out}}(t)\approx RC\frac{dv_{\mathrm{in}}(t)}{dt}.

This differentiating behavior produces brief pulses in response to rapid transitions.

Timing circuits use the interval required for a capacitor voltage to cross a threshold. For charging from zero toward VsV_s, the time to reach a threshold VTV_T, where 0<VT<Vs0<V_T<V_s, is

tT=−RCln⁡(1−VTVs).t_T=-RC\ln\left(1-\frac{V_T}{V_s}\right).

When combined with a comparator or switching device, this behavior supports delays, pulse generation, and oscillation. A passive RC network alone does not sustain oscillation.

Energy storage and dissipation

The energy stored in an ideal capacitor is

EC=12CvC2.E_C=\frac{1}{2}Cv_C^2.

During discharge through a resistor, this stored energy is converted into heat by Joule heating.

When an initially uncharged capacitor is charged through a finite resistance from an ideal constant-voltage source VsV_s, the source supplies

Esource=CVs2.E_{\mathrm{source}}=CV_s^2.

Half remains stored in the capacitor, while half is dissipated in the resistance:

EC=ER=12CVs2.E_C=E_R=\frac{1}{2}CV_s^2.

Under these assumptions, total resistive loss is independent of resistance: changing RR changes the charging duration and instantaneous power, not the total loss. Other charging methods, including gradual source-voltage changes and energy-recovery circuits, need not have this same energy partition.

Applications and practical limitations

RC networks are used in audio tone controls, signal smoothing, AC coupling between amplifier stages, timing circuits, switch-contact debouncing, and suppression of unwanted fast voltage changes. They also appear as equivalent models for sensors, conductive materials, and biological membranes. In a simple membrane model, membrane capacitance represents charge separation across the cell membrane, while resistance represents conductive pathways.

Real circuits depart from the ideal model in several ways:

  • Source and load resistance: Source resistance contributes to the charging resistance. A finite load can alter both the final voltage and the time constant.
  • Component tolerances and temperature dependence: Actual resistance and capacitance vary from nominal values, changing timing intervals and cutoff frequencies.
  • Capacitor leakage: A real capacitor permits some steady current, preventing perfect charge retention.
  • Parasitic properties: Capacitors have equivalent series resistance and inductance, while resistors and wiring have stray capacitance and inductance. At sufficiently high frequencies, the simple RC model becomes inadequate.
  • Dielectric absorption: Polarization processes in a capacitor’s dielectric can produce voltage recovery after discharge and require a more complex model than a single ideal capacitance.
  • Electrical noise: Resistors generate thermal noise. In the classical equilibrium model, the mean-square noise voltage across a capacitor connected to a resistor is kBT/Ck_{\mathrm B}T/C, where kBk_{\mathrm B} is the Boltzmann constant and TT is absolute temperature.

Cascading RC sections can increase filter order, but directly connected passive stages load one another. Their combined response is therefore not generally the product of the isolated, unloaded stage responses unless the loading is included or buffering separates the stages.