Jump to content

RC circuit

From Wikipedia, the free encyclopedia

Aresistor–capacitor circuit(RC circuit), orRC filterorRC network,is anelectric circuitcomposed ofresistorsandcapacitors.It may be driven by avoltageorcurrent sourceand 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 thehigh-pass filtersandlow-pass filters;band-pass filtersandband-stop filtersusually requireRLC filters,though crude ones can be made with RC filters.

Introduction

[edit]

There are three basic, linear passivelumpedanalog circuitcomponents: the resistor (R), the capacitor (C), and theinductor(L). These may be combined in the RC circuit, theRL circuit,theLC circuit,and theRLC circuit,with the acronyms indicating which components are used. These circuits, among them, exhibit a large number of important types of behaviour that are fundamental to much ofanalog electronics.In particular, they are able to act aspassive filters.This article considers the RC circuit, in bothseriesandparallelforms, as shown in the diagrams below.

Natural response

[edit]
RC circuit

The simplest RC circuit consists of a resistor and a charged capacitor connected to one another in a single loop, without an external voltage source. Once the circuit is closed, the capacitor begins to discharge its stored energy through the resistor. The voltage across the capacitor, which is time-dependent, can be found by usingKirchhoff's current law.The current through the resistor must be equal in magnitude (but opposite in sign) to the time derivative of the accumulated charge on the capacitor. This results in thelinear differential equation

whereCis the capacitance of the capacitor.

Solving this equation forVyields the formula forexponential decay:

whereV0is the capacitor voltage at timet= 0.

The time required for the voltage to fall toV0/eis called theRC time constantand is given by,[1]

In this formula,τis measured in seconds,Rin ohms andCin farads.

Complex impedance

[edit]

Thecomplex impedance,ZC(inohms) of a capacitor with capacitanceC(infarads) is

Thecomplex frequencysis, in general, acomplex number,

where

Sinusoidal steady state

[edit]

Sinusoidal steady state is a special case in which the input voltage consists of a pure sinusoid (with no exponential decay). As a result,and the impedance becomes

Series circuit

[edit]
SeriesRC circuit

By viewing the circuit as avoltage divider,thevoltageacross the capacitor is:

and the voltage across the resistor is:

Transfer functions

[edit]

Thetransfer functionfrom the input voltage to the voltage across the capacitor is

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

Poles and zeros

[edit]

Both transfer functions have a singlepolelocated at

In addition, the transfer function for the voltage across the resistor has azerolocated at theorigin.

Gain and phase

[edit]
Amplitude and phase transfer functions for a series RC circuit

The magnitude of the gains across the two components are

and

and the phase angles are

and

These expressions together may be substituted into the usual expression for thephasorrepresenting the output:

Current

[edit]

The current in the circuit is the same everywhere since the circuit is in series:

Impulse response

[edit]
The impulse response of a series RC circuit

Theimpulse responsefor each voltage is the inverseLaplace transformof the corresponding transfer function. It represents the response of the circuit to an input voltage consisting of an impulse orDirac delta function.

The impulse response for the capacitor voltage is

whereu(t)is theHeaviside step functionandτ=RCis thetime constant.

Similarly, the impulse response for the resistor voltage is

whereδ(t)is theDirac delta function

Frequency-domain considerations

[edit]

These arefrequency domainexpressions. Analysis of them will show which frequencies the circuits (or filters) pass and reject. This analysis rests on a consideration of what happens to these gains as the frequency becomes very large and very small.

Asω→ ∞:

Asω→ 0:

This shows that, if the output is taken across the capacitor, high frequencies are attenuated (shorted to ground) and low frequencies are passed. Thus, the circuit behaves as alow-pass filter.If, though, the output is taken across the resistor, high frequencies are passed and low frequencies are attenuated (since the capacitor blocks the signal as its frequency approaches 0). In this configuration, the circuit behaves as ahigh-pass filter.

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

.

Solving the above equation yields

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

Clearly, the phases also depend on frequency, although this effect is less interesting generally than the gain variations.

Asω→ 0:

Asω→ ∞:

So atDC(0Hz), the capacitor voltage is in phase with the 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 signal and the resistor voltage comes to be in-phase with the signal.

Time-domain considerations

[edit]
This section relies on knowledge ofe,thenatural logarithmic constant.

The most straightforward way to derive the time domain behaviour is to use theLaplace transformsof the expressions forVCandVRgiven above. This effectively transformss.Assuming astep input(i.e.Vin= 0beforet= 0and thenVin=Vafterwards):

Capacitor voltage step-response.
Resistor voltage step-response.

Partial fractionsexpansions and the inverseLaplace transformyield:

These equations are for calculating the voltage across the capacitor and resistor respectively while the capacitor ischarging;for discharging, the equations are vice versa. These equations can be rewritten in terms of charge and current using the relationshipsC=Q/VandV=IR(seeOhm's law).

Thus, the voltage across the capacitor tends towardsVas 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.

These equations show that a series RC circuit has atime constant,usually denotedτ=RCbeing the time it takes the voltage across the component to either rise (across the capacitor) or fall (across the resistor) to within1/eof its final value. That is,τis the time it takesVCto reachV(1 −1/e)andVRto reachV(1/e).

The rate of change is afractional1 −1/eperτ.Thus, in going fromt=tot= (N+ 1)τ,the voltage will have moved about 63.2% of the way from its level att=toward its final value. So the capacitor will be charged to about 63.2% afterτ,and essentially fully charged (99.3%) after about5τ.When the voltage source is replaced with a short circuit, with the capacitor fully charged, the voltage across the capacitor drops exponentially withtfromVtowards 0. The capacitor will be discharged to about 36.8% afterτ,and essentially fully discharged (0.7%) after about5τ.Note that the current,I,in the circuit behaves as the voltage across the resistor does, viaOhm's Law.

These results may also be derived by solving thedifferential equationsdescribing the circuit:

The first equation is solved by using anintegrating factorand the second follows easily; the solutions are exactly the same as those obtained via Laplace transforms.

Integrator

[edit]

Consider the output across the capacitor athighfrequency, i.e.

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 forgiven above:

but note that the frequency condition described means that

so

which is justOhm's Law.

Now,

so

which is anintegratoracross the capacitor.

Differentiator

[edit]

Consider the output across the resistor atlowfrequency i.e.,

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

so

Now,

which is adifferentiatoracross the resistor.

Integrationanddifferentiationcan also be achieved by placing resistors and capacitors as appropriate on the input andfeedbackloop ofoperational amplifiers(seeoperational amplifier integratorandoperational amplifier differentiator).

PWM RC Series Circuit

Parallel circuit

[edit]
ParallelRC circuit

The parallel RC circuit is generally of less interest than the series circuit. This is largely because the output voltageVoutis equal to the input voltageVin— as a result, this circuit does not act as a filter on the input signal unless fed by acurrent source.

With complex impedances:

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:

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

Synthesis

[edit]

It is sometimes required tosynthesisean RC circuit from a givenrational functionins.For synthesis to be possible in passive elements, the function must be apositive-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 theFoster synthesisorCauer synthesisused to synthesiseLC circuits.In the case of Cauer synthesis, aladder networkof resistors and capacitors will result.[2]

See also

[edit]

References

[edit]
  1. ^Horowitz & Hill, p. 1.13
  2. ^Bakshi & Bakshi, pp. 3-30–3-37

Bibliography

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