Template:Short description Template:More citations needed Template:Linear analog electronic filter A resistor–capacitor circuit (RC circuit), or RC filter or RC network, is an electric circuit composed of resistors and capacitors. It may be driven by a voltage or current source and these will produce different responses. A first order RC circuit is composed of one resistor and one capacitor and is the simplest type of RC circuit.

RC circuits can be used to filter a signal by blocking certain frequencies and passing others. The two most common RC filters are the high-pass filters and low-pass filters; band-pass filters and band-stop filters usually require RLC filters, though crude ones can be made with RC filters.

Natural responseEdit

File:Discharging capacitor.svg
Simplest RC circuit

The simplest RC circuit consists of a resistor with resistance Template:Mvar and a charged capacitor with capacitance Template:Mvar connected to one another in a single loop, without an external voltage source. The capacitor will discharge its stored energy through the resistor. If Template:Mvar is taken to be the voltage of the capacitor's top plate relative to its bottom plate in the figure, then the capacitor current–voltage relation says the current Template:Mvar exiting the capacitor's top plate will equal Template:Mvar multiplied by the negative time derivative of Template:Mvar. Kirchhoff's current law says this current is the same current entering the top side of the resistor, which per Ohm's law equals Template:Mvar. This yields a linear differential equation:

<math>\overbrace{\Biggl(C\frac{-\mathrm{d}V(t)}{\mathrm{d}t}\Biggr)}^\text{capacitor current} = \overbrace{\Biggl(\frac{V(t)}{R}\Biggr)}^\text{resistor current} ,</math>

which can be rearranged according to the standard form for exponential decay:

<math>\frac{\mathrm{d}V(t)}{\mathrm{d}t} = -\frac{1}{RC}V(t) \, .</math>

This means that the instantaneous rate of voltage decrease at any time is proportional to the voltage at that time. Solving for Template:Mvar yields an exponential decay curve that asymptotically approaches 0:

<math>V(t)=V_0 \cdot e^{-\frac{t}{RC}} \,,</math>

where Template:Math is the capacitor voltage at time Template:Math and Template:Mvar is Euler's number.

The time required for the voltage to fall to Template:Math is called the RC time constant and is given by:<ref>Horowitz & Hill, p. 1.13</ref>

<math>\tau = RC \,.</math>

When using the International System of Units, Template:Mvar is in ohms and Template:Mvar is in farads, so Template:Mvar will be in seconds. At any time Template:Mvar, the capacitor's charge or voltage will be Template:Sfrac of its starting value. So if the capacitor's charge or voltage is said to start at 100%, then 36.8% remains at Template:Math, 13.5% remains at Template:Math, 5% remains at Template:Math, 1.8% remains at Template:Math, and less than 0.7% remains at Template:Math and later.

The half-life (Template:Math) is the time that it takes for its charge or voltage to be reduced in half:<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

<math>\tfrac{1}{2} {=} e^{-\tfrac{t_{1/2}}{\tau}} \longrightarrow t_{1/2} = \ln(2) \, \tau \approx \text{.693} \, \tau \, .</math>

For example, 50% of charge or voltage remains at time Template:Math, then 25% remains at time Template:Math, then 12.5% remains at time Template:Math, and Template:Sfrac will remain at time Template:Math.

RC discharge calculatorEdit

Template:Calculator

Template:Calculator

Template:Calculator

Template:Calculator

Template:Calculator

Template:Calculator

Template:Calculator

Template:Calculator

Template:Calculator

Template:Calculator

Template:Calculator

Template:Calculator

Template:Calculator

Template:Calculator Template:Calculator

Template:Calculator

Template:Calculator

Template:Calculator

Template:Calculator

Template:Calculator

Template:Calculator

Template:Calculator

Template:Calculator

For instance, Template:Nowrap of resistance with Template:Nowrap of capacitance produces a time constant of approximately Template:Nowrap This Template:Mvar corresponds to a cutoff frequency of approximately Template:Nowrap or Template:Nowrap If the capacitor has an initial voltage Template:Math of Template:Nowrap, then after Template:Nowrap (approximately Template:Nowrap or Template:Nowrap the capacitor's voltage will discharge to approximately Template:Nowrap

Complex impedanceEdit

The RC circuit's behavior is well-suited to be analyzed in the Laplace domain, which the rest of this article requires a basic understanding of. The Laplace domain is a frequency domain representation using complex frequency Template:Mvar, which is (in general) a complex number:

<math>s = \sigma + j \omega \,, </math>

where

When evaluating circuit equations in the Laplace domain, time-dependent circuit elements of capacitance and inductance can be treated like resistors with complex-valued impedance instead of real resistance. While the complex impedance Template:Mvar of a resistor is simply a real value equal to its resistance Template:Mvar, the complex impedance of a capacitor Template:Mvar is instead:

<math>Z_C = \frac{1}{C s} . </math>

Series circuitEdit

CurrentEdit

Kirchhoff's current law means that the current in the series circuit is necessarily the same through both elements. Ohm's law says this current is equal to the input voltage <math>V_\mathrm{in} </math> divided by the sum of the complex impedance of the capacitor and resistor:

<math>\begin{align}

I(s) &= \frac{V_\mathrm{in}(s) }{R + \frac{1}{Cs}} \\

    &=  \frac{ Cs }{ 1 + RCs } V_\mathrm{in}(s)\,.

\end{align}</math>

VoltageEdit

By viewing the circuit as a voltage divider, the voltage across the capacitor is:

<math>\begin{align}

V_C(s) &= \frac{\frac{1}{Cs}}{R + \frac{1}{Cs}}V_\mathrm{in}(s) \\

      &= \frac{1}{1 + RCs}V_\mathrm{in}(s)

\end{align}</math>

and the voltage across the resistor is:

<math>\begin{align}

V_R(s) &= \frac{R}{R + \frac{1}{Cs}}V_\mathrm{in}(s) \\

      &= \frac{RCs}{1 + RCs}V_\mathrm{in}(s)\,.

\end{align}</math>

Transfer functionsEdit

The transfer function from the input voltage to the voltage across the capacitor is

<math>H_C(s) = \frac{ V_C(s) }{ V_\mathrm{in}(s) } = \frac{ 1 }{ 1 + RCs } \,.</math>

Similarly, the transfer function from the input to the voltage across the resistor is

<math>H_R(s) = \frac{ V_R(s) }{ V_{\rm in}(s) } = \frac{ RCs }{ 1 + RCs } \,.</math>

Poles and zerosEdit

Both transfer functions have a single pole located at

<math>s = -\frac{1}{RC} \,.</math>

In addition, the transfer function for the voltage across the resistor has a zero located at the origin.

Frequency-domain considerationsEdit

The sinusoidal steady state is a special case of complex frequency that considers the input to consist only of pure sinusoids. Hence, the exponential decay component represented by <math>\sigma </math> can be ignored in the complex frequency equation <math>s {=} \sigma {+} j \omega </math> when only the steady state is of interest. The simple substitution of <math>s \Rightarrow j \omega </math> into the previous transfer functions will thus provide the sinusoidal gain and phase response of the circuit.

GainEdit

File:Passive integrator circuit transfer function.png
Amplitude and phase transfer functions for a series RC circuit

The magnitude of the gains across the two components are

<math>G_C = \big| H_C(j \omega) \big| = \left|\frac{V_C(j \omega)}{V_\mathrm{in}(j \omega)}\right| = \frac{1}{\sqrt{1 + \left(\omega RC\right)^2}}</math>

and

<math>G_R = \big| H_R(j \omega) \big| = \left|\frac{V_R(j \omega)}{V_\mathrm{in}(j \omega)}\right| = \frac{\omega RC}{\sqrt{1 + \left(\omega RC\right)^2}}\,,</math>

As the frequency becomes very large (Template:Math), the capacitor acts like a short circuit, so:

<math>G_C \to 0 \quad \mbox{and} \quad G_R \to 1 \,.</math>

As the frequency becomes very small (Template:Math), the capacitor acts like an open circuit, so:

<math>G_C \to 1 \quad \mbox{and} \quad G_R \to 0 \,.</math>
Operation as either a high-pass or a low-pass filterEdit

The behavior at these extreme frequencies show that if the output is taken across the capacitor, high frequencies are attenuated and low frequencies are passed, so such a circuit configuration is a low-pass filter. However, if the output is taken across the resistor, then high frequencies are passed and low frequencies are attenuated, so such a configuration is a high-pass filter.

Cutoff frequencyEdit

The range of frequencies that the filter passes is called its bandwidth. The frequency at which the filter attenuates the signal to half its unfiltered power is termed its cutoff frequency. This requires that the gain of the circuit be reduced to

<math>G_C = G_R = \frac{1}{\sqrt 2}</math>.

Solving the above equation yields

<math>\omega_\mathrm{c} = \frac{1}{RC} \quad \mbox{or} \quad f_\mathrm{c} = \frac{1}{2\pi RC}</math>

which is the frequency that the filter will attenuate to half its original power.

PhaseEdit

The phase angles are

<math>\phi_C = \angle H_C(j \omega) = \tan^{-1}\left(-\omega RC\right)</math>

and

<math>\phi_R = \angle H_R(j \omega) = \tan^{-1}\left(\frac{1}{\omega RC}\right)\,.</math>

As Template:Math:

<math>\phi_C \to 0 \quad \mbox{and} \quad \phi_R \to 90^{\circ} = \frac{\pi}{2}\mbox{ radians}\,.</math>

As Template:Math:

<math>\phi_C \to -90^{\circ} = -\frac{\pi}{2}\mbox{ radians} \quad \mbox{and} \quad \phi_R \to 0\,.</math>

While the output signal's phase shift relative to the input depends on frequency, this is generally less interesting than the gain variations. At DC (0 Hz), the capacitor voltage is in phase with the input signal voltage while the resistor voltage leads it by 90°. As frequency increases, the capacitor voltage comes to have a 90° lag relative to the input signal and the resistor voltage comes to be in-phase with the input signal.

Phasor representationEdit

The gain and phase expressions together may be combined into these phasor expressions representing the output:

<math>\begin{align} V_C &= G_C V_\mathrm{in} e^{j\phi_C} \\ V_R &= G_R V_\mathrm{in} e^{j\phi_R}\,. \end{align}</math>

Impulse responseEdit

File:Passive integrator circuit impulse response 1.png
The impulse response of a series RC circuit

The impulse response for each voltage is the inverse Laplace transform of the corresponding transfer function. It represents the response of the circuit to an input voltage consisting of an impulse or Dirac delta function.

The impulse response for the capacitor voltage is

<math>h_C(t) = \frac{1}{RC} e^{-\frac{t}{RC}} u(t) = \frac{1}{\tau} e^{-\frac{t}{\tau}} u(t)\,,</math>

where Template:Math is the Heaviside step function and Template:Math is the time constant.

Similarly, the impulse response for the resistor voltage is

<math>h_R(t) = \delta (t) - \frac{1}{RC} e^{-\frac{t}{RC}} u(t) = \delta (t) - \frac{1}{\tau} e^{-\frac{t}{\tau}} u(t)\,,</math>

where Template:Math is the Dirac delta function

Time-domain considerationsEdit

This section relies on knowledge of the Laplace transform.

The most straightforward way to derive the time domain behaviour is to use the Laplace transforms of the expressions for Template:Mvar and Template:Mvar given above. Assuming a step input (i.e. Template:Math before Template:Math and then Template:Math afterwards):

<math>\begin{align}

V_\mathrm{in}(s) &= V_1\cdot\frac{1}{s} \\ V_C(s) &= V_1\cdot\frac{1}{1 + sRC}\cdot\frac{1}{s} \\ V_R(s) &= V_1\cdot\frac{sRC}{1 + sRC}\cdot\frac{1}{s} \,. \end{align}</math>

File:Series RC capacitor voltage.svg
Capacitor voltage step-response.
File:Series RC resistor voltage.svg
Resistor voltage step-response.

Partial fractions expansions and the inverse Laplace transform yield:

<math>\begin{align} V_C(t) &= V_1 \cdot \left(1 - e^{-\frac{t}{RC}}\right) \\ V_R(t) &= V_1 \cdot \left( e^{-\frac{t}{RC}} \right)\,. \end{align}</math>

These equations are for calculating the voltage across the capacitor and resistor respectively while the capacitor is charging; for discharging, the equations are vice versa. These equations can be rewritten in terms of charge and current using the relationships Template:Math and Template:Math (see Ohm's law).

Thus, the voltage across the capacitor tends towards Template:Mvar as time passes, while the voltage across the resistor tends towards 0, as shown in the figures. This is in keeping with the intuitive point that the capacitor will be charging from the supply voltage as time passes, and will eventually be fully charged.

The product Template:Math is both the time for Template:Mvar and Template:Mvar to reach within Template:Math of their final value. In other words, Template:Math is the time it takes for the voltage across the capacitor to rise to Template:Math or for the voltage across the resistor to fall to Template:Math. This RC time constant is labeled using the letter tau (Template:Math).

The rate of change is a fractional Template:Math per Template:Mvar. Thus, in going from Template:Math to Template:Math, the voltage will have moved about 63.2% of the way from its level at Template:Math toward its final value. So the capacitor will be charged to about 63.2% after Template:Mvar, and is often considered fully charged (>99.3%) after about Template:Math. When the voltage source is replaced with a short circuit, with the capacitor fully charged, the voltage across the capacitor drops exponentially with Template:Mvar from Template:Mvar towards 0. The capacitor will be discharged to about 36.8% after Template:Mvar, and is often considered fully discharged (<0.7%) after about Template:Math. Note that the current, Template:Mvar, in the circuit behaves as the voltage across the resistor does, via Ohm's Law.

These results may also be derived by solving the differential equations describing the circuit:

<math>\begin{align} \frac{V_\mathrm{in} - V_C}{R} &= C\frac{dV_C}{dt} \\ V_R &= V_\mathrm{in} - V_C \,. \end{align}</math>

The first equation is solved by using an integrating factor and the second follows easily; the solutions are exactly the same as those obtained via Laplace transforms.

IntegratorEdit

Consider the output across the capacitor at high frequency, i.e.

<math>\omega \gg \frac{1}{RC}\,.</math>

This means that the capacitor has insufficient time to charge up and so its voltage is very small. Thus the input voltage approximately equals the voltage across the resistor. To see this, consider the expression for <math>I</math> given above:

<math>I = \frac{V_\mathrm{in}}{R+\frac{1}{j\omega C}}\,,</math>

but note that the frequency condition described means that

<math>\omega C \gg \frac{1}{R}\,,</math>

so

<math>I \approx \frac{V_\mathrm{in}}{R}</math>

which is just Ohm's Law.

Now,

<math>V_C = \frac{1}{C}\int_{0}^{t}I\,dt\,,</math>

so

<math>V_C \approx \frac{1}{RC}\int_{0}^{t}V_\mathrm{in}\,dt\,.</math>

Therefore, the voltage across the capacitor acts approximately like an integrator of the input voltage for high frequencies.

DifferentiatorEdit

Consider the output across the resistor at low frequency i.e.,

<math>\omega \ll \frac{1}{RC}\,.</math>

This means that the capacitor has time to charge up until its voltage is almost equal to the source's voltage. Considering the expression for Template:Mvar again, when

<math>R \ll \frac{1}{\omega C}\,,</math>

so

<math>\begin{align} I &\approx \frac{V_\mathrm{in}}\frac{1}{j\omega C} \\ V_\mathrm{in} &\approx \frac{I}{j\omega C} = V_C \,.\end{align}</math>

Now,

<math>\begin{align} V_R &= IR = C\frac{dV_C}{dt}R \\ V_R &\approx RC\frac{dV_{in}}{dt}\,. \end{align}</math>

Therefore, the voltage across the resistor acts approximately like a differentiator of the input voltage for low frequencies.

Integration and differentiation can also be achieved by placing resistors and capacitors as appropriate on the input and feedback loop of operational amplifiers (see operational amplifier integrator and operational amplifier differentiator).


Parallel circuitEdit

The parallel RC circuit is generally of less interest than the series circuit. This is largely because the output voltage Template:Math is equal to the input voltage Template:Math — as a result, this circuit acts as a filter on a current input instead of a voltage input.

With complex impedances:

<math>\begin{align} I_R &= \frac{V_\mathrm{in}}{R} \\ I_C &= j\omega C V_\mathrm{in}\,. \end{align}</math>

This shows that the capacitor current is 90° out of phase with the resistor (and source) current. Alternatively, the governing differential equations may be used:

<math>\begin{align} I_R &= \frac{V_\mathrm{in}}{R} \\ I_C &= C\frac{dV_\mathrm{in}}{dt}\,. \end{align}</math>

When fed by a current source, the transfer function of a parallel RC circuit is:

<math>\frac{V_\mathrm{out}}{I_\mathrm{in}} = \frac{R}{1+sRC}\,.</math>

SynthesisEdit

It is sometimes required to synthesise an RC circuit from a given rational function in s. For synthesis to be possible in passive elements, the function must be a positive-real function. To synthesise as an RC circuit, all the critical frequencies (poles and zeroes) must be on the negative real axis and alternate between poles and zeroes with an equal number of each. Further, the critical frequency nearest the origin must be a pole, assuming the rational function represents an impedance rather than an admittance.

The synthesis can be achieved with a modification of the Foster synthesis or Cauer synthesis used to synthesise LC circuits. In the case of Cauer synthesis, a ladder network of resistors and capacitors will result.<ref>Bakshi & Bakshi, pp. 3-30–3-37</ref>

See alsoEdit

<math>

V_\text{rms} = \sqrt{ k_\text{B} T \over C }. </math>

ReferencesEdit

Template:Reflist

BibliographyEdit

  • Bakshi, U.A.; Bakshi, A.V., Circuit Analysis - II, Technical Publications, 2009 Template:ISBN.
  • Horowitz, Paul; Hill, Winfield, The Art of Electronics (3rd edition), Cambridge University Press, 2015 Template:ISBN.

Template:Authority control