RC circuit

From Wikipedia, the free encyclopedia
(Redirected from RC filter)
Jump to navigation Jump to search

Template:Short description Script error: No such module "Unsubst". Template:Sidebar with collapsible lists 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 response

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 V(t)Script error: No such module "Check for unknown parameters". 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 I(t)Script error: No such module "Check for unknown parameters". exiting the capacitor's top plate will equal Template:Mvar multiplied by the negative time derivative of V(t)Script error: No such module "Check for unknown parameters".. Kirchhoff's current law says this current is the same current entering the top side of the resistor, which per Ohm's law equals V(t)/RScript error: No such module "Check for unknown parameters".. This yields a linear differential equation CdV(t)dtcapacitor current=V(t)Rresistor current, which can be rearranged according to the standard form for exponential decay: dV(t)dt=1RCV(t). This means that the instantaneous rate of voltage decrease at any time is proportional to the voltage at that time. Solving for V(t)Script error: No such module "Check for unknown parameters". yields an exponential decay curve that asymptotically approaches 0: V(t)=V0etRC, where V0Script error: No such module "Check for unknown parameters". is the capacitor voltage at time t = 0Script error: No such module "Check for unknown parameters"., and Template:Mvar is Euler's number.

The time required for the voltage to fall to V0/eScript error: No such module "Check for unknown parameters". is called the RC time constant and is given by[1] τ=RC. 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 1/eNScript error: No such module "Check for unknown parameters". of its starting value. So if the capacitor's charge or voltage is said to start at 100%, then 36.8% remains at 1·τScript error: No such module "Check for unknown parameters"., 13.5% remains at 2·τScript error: No such module "Check for unknown parameters"., 5% remains at 3·τScript error: No such module "Check for unknown parameters"., 1.8% remains at 4·τScript error: No such module "Check for unknown parameters"., and less than 0.7% remains at 5·τScript error: No such module "Check for unknown parameters". and later.

The half-life (t1/2Script error: No such module "Check for unknown parameters".) is the time that it takes for its charge or voltage to be reduced in half:[2] 12=et1/2τt1/2=ln(2)τ0.693τ. For example, 50% of charge or voltage remains at time t1/2Script error: No such module "Check for unknown parameters"., then 25% remains at time t1/2Script error: No such module "Check for unknown parameters"., then 12.5% remains at time t1/2Script error: No such module "Check for unknown parameters"., and 1/2NScript error: No such module "Check for unknown parameters". will remain at time N·t1/2Script error: No such module "Check for unknown parameters"..

RC discharge 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

Template:Calculator

For instance, Template:Calculator Template:Calculator of resistance with Template:Calculator Template:Calculator of capacitance produces a time constant of approximately Template:Calculator Template:Calculator. This Template:Mvar corresponds to a cutoff frequency of approximately Template:Calculator Template:Calculator or Template:Calculator Template:Calculator. If the capacitor has an initial voltage V0Script error: No such module "Check for unknown parameters". of Template:Calculator Template:Calculator, then after Template:Calculator Template:Mvar (approximately Template:Calculator Template:Calculator or Template:Calculator half-lives), the capacitor's voltage will discharge to approximately Template:Calculator Template:Calculator:

File:Series RC resistor voltage relabeled.svg

 VCScript error: No such module "Check for unknown parameters".(Template:Calculatorτ) ≈ Template:Calculator% of V0Script error: No such module "Check for unknown parameters". 

Complex impedance

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: s=σ+jω, where

Template:Mvar represents the imaginary unit: j2 = −1Script error: No such module "Check for unknown parameters".,
Template:Mvar is the exponential decay constant,
Template:Mvar is the sinusoidal angular frequency.

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 ZC=1Cs.

Series circuit

File:RC Series Filter (with V&I Labels).svg
Series RC circuit

Current

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 Vin divided by the sum of the complex impedance of the capacitor and resistor:

I(s)=Vin(s)R+1Cs=Cs1+RCsVin(s).

Voltage

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

VC(s)=1CsR+1CsVin(s)=11+RCsVin(s)

and the voltage across the resistor is:

VR(s)=RR+1CsVin(s)=RCs1+RCsVin(s).

Transfer functions

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

HC(s)=VC(s)Vin(s)=11+RCs.

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

HR(s)=VR(s)Vin(s)=RCs1+RCs.

Poles and zeros

Both transfer functions have a single pole located at

s=1RC.

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

Frequency-domain considerations

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 σ can be ignored in the complex frequency equation s=σ+jω when only the steady state is of interest. The simple substitution of sjω into the previous transfer functions will thus provide the sinusoidal gain and phase response of the circuit.

Gain

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

GC=|HC(jω)|=|VC(jω)Vin(jω)|=11+(ωRC)2

and

GR=|HR(jω)|=|VR(jω)Vin(jω)|=ωRC1+(ωRC)2,

As the frequency becomes very large (ω → ∞Script error: No such module "Check for unknown parameters".), the capacitor acts like a short circuit, so:

GC0andGR1.

As the frequency becomes very small (ω → 0Script error: No such module "Check for unknown parameters".), the capacitor acts like an open circuit, so:

GC1andGR0.
Operation as either a high-pass or a low-pass filter

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 frequency

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

GC=GR=12.

Solving the above equation yields

ωc=1RCorfc=12πRC

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

Phase

The phase angles are

ϕC=HC(jω)=tan1(ωRC)

and

ϕR=HR(jω)=tan1(1ωRC).

As ω → 0Script error: No such module "Check for unknown parameters".:

ϕC0andϕR90=π2 radians.

As ω → ∞Script error: No such module "Check for unknown parameters".:

ϕC90=π2 radiansandϕR0.

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 representation

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

VC=GCVinejϕCVR=GRVinejϕR.

Impulse response

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

hC(t)=1RCetRCu(t)=1τetτu(t),

where u(t)Script error: No such module "Check for unknown parameters". is the Heaviside step function and τ = RCScript error: No such module "Check for unknown parameters". is the time constant.

Similarly, the impulse response for the resistor voltage is

hR(t)=δ(t)1RCetRCu(t)=δ(t)1τetτu(t),

where δ(t)Script error: No such module "Check for unknown parameters". is the Dirac delta function.

Time-domain considerations

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. Vin = 0Script error: No such module "Check for unknown parameters". before t = 0Script error: No such module "Check for unknown parameters". and then Vin = V1Script error: No such module "Check for unknown parameters". afterwards):

Vin(s)=V11sVC(s)=V111+sRC1sVR(s)=V1sRC1+sRC1s.
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:

VC(t)=V1(1etRC)VR(t)=V1(etRC).

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 C = Template:SfracScript error: No such module "Check for unknown parameters". and V = IRScript error: No such module "Check for unknown parameters". (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 RCScript error: No such module "Check for unknown parameters". is both the time for Template:Mvar and Template:Mvar to reach within Template:SfracScript error: No such module "Check for unknown parameters". of their final value. In other words, RCScript error: No such module "Check for unknown parameters". is the time it takes for the voltage across the capacitor to rise to V1·(1 − Template:Sfrac)Script error: No such module "Check for unknown parameters". or for the voltage across the resistor to fall to V1·(Template:Sfrac)Script error: No such module "Check for unknown parameters".. This RC time constant is labeled using the letter tau (τScript error: No such module "Check for unknown parameters".).

The rate of change is a fractional 1 − Template:SfracScript error: No such module "Check for unknown parameters". per Template:Mvar. Thus, in going from t = Script error: No such module "Check for unknown parameters". to t = (N + 1)τScript error: No such module "Check for unknown parameters"., the voltage will have moved about 63.2% of the way from its level at t = Script error: No such module "Check for unknown parameters". 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 5τScript error: No such module "Check for unknown parameters".. 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 5τScript error: No such module "Check for unknown parameters".. 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:

VinVCR=CdVCdtVR=VinVC.

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.

Integrator

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

ω1RC.

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 I given above:

I=VinR+1jωC,

but note that the frequency condition described means that

ωC1R,

so

IVinR

which is just Ohm's law.

Now,

VC=1C0tIdt,

so

VC1RC0tVindt.

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

Differentiator

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

ω1RC.

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

R1ωC,

so

IVin1jωCVinIjωC=VC.

Now,

VR=IR=CdVCdtRVRRCdVindt.

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 circuit

File:RC Parallel Filter (with I Labels).svg
Parallel RC circuit

The parallel RC circuit is generally of less interest than the series circuit. This is largely because the output voltage VoutScript error: No such module "Check for unknown parameters". is equal to the input voltage VinScript error: No such module "Check for unknown parameters". — as a result, this circuit acts as a filter on a current input instead of a voltage input.

With complex impedances:

IR=VinRIC=jωCVin.

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:

IR=VinRIC=CdVindt.

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

VoutIin=R1+sRC.

Synthesis

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.[3]

See also

Vrms=kBTC.

References

<templatestyles src="Reflist/styles.css" />

  1. Horowitz & Hill, p. 1.13.
  2. Script error: No such module "citation/CS1".
  3. Bakshi & Bakshi, pp. 3-30–3-37

Script error: No such module "Check for unknown parameters".

Bibliography

  • 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