A resistor–capacitor circuit (RC circuit), or RC filter or RC network, is an
electric circuit
An electrical network is an interconnection of electrical components (e.g., battery (electricity), batteries, resistors, inductors, capacitors, switches, transistors) or a model of such an interconnection, consisting of electrical elements (e. ...
composed of
resistor
A resistor is a passive two-terminal electronic component that implements electrical resistance as a circuit element. In electronic circuits, resistors are used to reduce current flow, adjust signal levels, to divide voltages, bias active e ...
s and
capacitor
In electrical engineering, a capacitor is a device that stores electrical energy by accumulating electric charges on two closely spaced surfaces that are insulated from each other. The capacitor was originally known as the condenser, a term st ...
s. It may be driven by a
voltage
Voltage, also known as (electrical) potential difference, electric pressure, or electric tension, is the difference in electric potential between two points. In a Electrostatics, static electric field, it corresponds to the Work (electrical), ...
or
current source
A current source is an electronic circuit that delivers or absorbs an electric current which is independent of the voltage across it.
A current source is the dual of a voltage source. The term ''current sink'' is sometimes used for sources fed ...
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 filter
A high-pass filter (HPF) is an electronic filter that passes signals with a frequency higher than a certain cutoff frequency and attenuates signals with frequencies lower than the cutoff frequency. The amount of attenuation for each frequency ...
s and
low-pass filter
A low-pass filter is a filter that passes signals with a frequency lower than a selected cutoff frequency and attenuates signals with frequencies higher than the cutoff frequency. The exact frequency response of the filter depends on the filt ...
s;
band-pass filter
A band-pass filter or bandpass filter (BPF) is a device that passes frequencies within a certain range and rejects ( attenuates) frequencies outside that range.
It is the inverse of a '' band-stop filter''.
Description
In electronics and s ...
s and
band-stop filters usually require
RLC filters, though crude ones can be made with RC filters.
Natural response

The simplest RC circuit consists of a resistor with
resistance and a charged capacitor with capacitance connected to one another in a single loop, without an external voltage source. The capacitor will discharge its stored energy through the resistor. If 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 ''exiting'' the capacitor's top plate will equal multiplied by the ''negative'' time derivative of .
Kirchhoff's current law
Kirchhoff's circuit laws are two Equality (mathematics), equalities that deal with the Electric current, current and potential difference (commonly known as voltage) in the lumped element model of electrical circuits. They were first described in ...
says this current is the same current entering the top side of the resistor, which per
Ohm's law
Ohm's law states that the electric current through a Electrical conductor, conductor between two Node (circuits), points is directly Proportionality (mathematics), proportional to the voltage across the two points. Introducing the constant of ...
equals . This yields a
linear differential equation
In mathematics, a linear differential equation is a differential equation that is linear equation, linear in the unknown function and its derivatives, so it can be written in the form
a_0(x)y + a_1(x)y' + a_2(x)y'' \cdots + a_n(x)y^ = b(x)
wher ...
:
:
which can be rearranged according to the standard form for
exponential decay
A quantity is subject to exponential decay if it decreases at a rate proportional to its current value. Symbolically, this process can be expressed by the following differential equation, where is the quantity and (lambda
Lambda (; uppe ...
:
:
This means that the instantaneous rate of voltage decrease at any time is proportional to the voltage at that time.
Solving for yields an exponential decay curve that
asymptotically approaches 0:
:
where is the capacitor voltage at time and ' is
Euler's number
The number is a mathematical constant approximately equal to 2.71828 that is the base of the natural logarithm and exponential function. It is sometimes called Euler's number, after the Swiss mathematician Leonhard Euler, though this can ...
.
The time required for the voltage to fall to is called the
RC time constant and is given by:
:
When using the
International System of Units
The International System of Units, internationally known by the abbreviation SI (from French ), is the modern form of the metric system and the world's most widely used system of measurement. It is the only system of measurement with official s ...
, is in
ohms and is in
farads, so will be in
seconds
The second (symbol: s) is a unit of time derived from the division of the day first into 24 hours, then to 60 minutes, and finally to 60 seconds each (24 × 60 × 60 = 86400). The current and formal definition in the International System of ...
. At any time , the capacitor's charge or voltage will be of its starting value. So if the capacitor's charge or voltage is said to start at 100%, then 36.8% remains at , 13.5% remains at , 5% remains at , 1.8% remains at , and less than 0.7% remains at and later.
The
half-life Half-life is a mathematical and scientific description of exponential or gradual decay.
Half-life, half life or halflife may also refer to:
Film
* Half-Life (film), ''Half-Life'' (film), a 2008 independent film by Jennifer Phang
* ''Half Life: ...
() is the time that it takes for its charge or voltage to be reduced in half:
:
For example, 50% of charge or voltage remains at time , then 25% remains at time , then 12.5% remains at time , and will remain at time .
RC discharge calculator
For instance, of resistance with of capacitance produces a time constant of approximately This corresponds to a
cutoff frequency
In physics and electrical engineering, a cutoff frequency, corner frequency, or break frequency is a boundary in a system's frequency response at which energy flowing through the system begins to be reduced ( attenuated or reflected) rather than ...
of approximately or If the capacitor has an initial voltage of , then after (approximately or the capacitor's voltage will discharge to approximately
(''τ'') ≈ % of
Complex impedance
The RC circuit's behavior is well-suited to be analyzed in the
Laplace domain
In mathematics, the Laplace transform, named after Pierre-Simon Laplace (), is an integral transform that converts a function of a real variable (usually t, in the ''time domain'') to a function of a complex variable s (in the complex-valued fre ...
, which the rest of this article requires a basic understanding of. The Laplace domain is a
frequency domain
In mathematics, physics, electronics, control systems engineering, and statistics, the frequency domain refers to the analysis of mathematical functions or signals with respect to frequency (and possibly phase), rather than time, as in time ser ...
representation using
complex frequency , which is (in general) a
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
:
:
where
* represents the
imaginary unit
The imaginary unit or unit imaginary number () is a mathematical constant that is a solution to the quadratic equation Although there is no real number with this property, can be used to extend the real numbers to what are called complex num ...
: ,
* is the
exponential decay
A quantity is subject to exponential decay if it decreases at a rate proportional to its current value. Symbolically, this process can be expressed by the following differential equation, where is the quantity and (lambda
Lambda (; uppe ...
constant, and
* is the
sinusoidal
A sine wave, sinusoidal wave, or sinusoid (symbol: ∿) is a periodic wave whose waveform (shape) is the trigonometric sine function. In mechanics, as a linear motion over time, this is '' simple harmonic motion''; as rotation, it correspond ...
angular frequency
In physics, angular frequency (symbol ''ω''), also called angular speed and angular rate, is a scalar measure of the angle rate (the angle per unit time) or the temporal rate of change of the phase argument of a sinusoidal waveform or sine ...
.
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 of a resistor is simply a real value equal to its resistance , the
complex impedance of a capacitor is instead:
:
Series 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
divided by the sum of the complex impedance of the capacitor and resistor:
:
Voltage
By viewing the circuit as a
voltage divider, the
voltage
Voltage, also known as (electrical) potential difference, electric pressure, or electric tension, is the difference in electric potential between two points. In a Electrostatics, static electric field, it corresponds to the Work (electrical), ...
across the capacitor is:
:
and the voltage across the resistor is:
:
Transfer functions
The
transfer function
In engineering, a transfer function (also known as system function or network function) of a system, sub-system, or component is a function (mathematics), mathematical function that mathematical model, models the system's output for each possible ...
from 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
Both transfer functions have a single
pole located at
:
In addition, the transfer function for the voltage across the resistor has a
zero
0 (zero) is a number representing an empty quantity. Adding (or subtracting) 0 to any number leaves that number unchanged; in mathematical terminology, 0 is the additive identity of the integers, rational numbers, real numbers, and compl ...
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
when only the steady state is of interest. The simple substitution of
into the previous transfer functions will thus provide the sinusoidal gain and phase response of the circuit.
Gain
The magnitude of the gains across the two components are
:
and
:
As the frequency becomes very large (), the capacitor acts like a short circuit, so:
:
As the frequency becomes very small (), the capacitor acts like an open circuit, so:
:
= 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
A low-pass filter is a filter that passes signals with a frequency lower than a selected cutoff frequency and attenuates signals with frequencies higher than the cutoff frequency. The exact frequency response of the filter depends on the filt ...
''. 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
A high-pass filter (HPF) is an electronic filter that passes signals with a frequency higher than a certain cutoff frequency and attenuates signals with frequencies lower than the cutoff frequency. The amount of attenuation for each frequency ...
''.
= 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
In physics and electrical engineering, a cutoff frequency, corner frequency, or break frequency is a boundary in a system's frequency response at which energy flowing through the system begins to be reduced ( attenuated or reflected) rather than ...
. 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.
Phase
The phase angles are
:
and
:
As :
:
As :
:
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
In physics and engineering, a phasor (a portmanteau of phase vector) is a complex number representing a sinusoidal function whose amplitude and initial phase are time-invariant and whose angular frequency is fixed. It is related to a mor ...
expressions representing the output:
:
Impulse response
The
impulse response
In signal processing and control theory, the impulse response, or impulse response function (IRF), of a dynamic system is its output when presented with a brief input signal, called an impulse (). More generally, an impulse response is the reac ...
for each voltage is the
inverse Laplace transform
In mathematics, the inverse Laplace transform of a function F(s) is a real function f(t) that is piecewise- continuous, exponentially-restricted (that is, , f(t), \leq Me^ \forall t \geq 0 for some constants M > 0 and \alpha \in \mathbb) and h ...
of the corresponding transfer function. It represents the response of the circuit to an input voltage consisting of an impulse or
Dirac delta function
In mathematical analysis, the Dirac delta function (or distribution), also known as the unit impulse, is a generalized function on the real numbers, whose value is zero everywhere except at zero, and whose integral over the entire real line ...
.
The impulse response for the capacitor voltage is
:
where is the
Heaviside step function
The Heaviside step function, or the unit step function, usually denoted by or (but sometimes , or ), is a step function named after Oliver Heaviside, the value of which is zero for negative arguments and one for positive arguments. Differen ...
and is the
time constant
In physics and engineering, the time constant, usually denoted by the Greek language, Greek letter (tau), is the parameter characterizing the response to a step input of a first-order, LTI system theory, linear time-invariant (LTI) system.Concre ...
.
Similarly, the impulse response for the resistor voltage is
:
where is the
Dirac delta function
In mathematical analysis, the Dirac delta function (or distribution), also known as the unit impulse, is a generalized function on the real numbers, whose value is zero everywhere except at zero, and whose integral over the entire real line ...
Time-domain considerations
:''This section relies on knowledge of the
Laplace transform
In mathematics, the Laplace transform, named after Pierre-Simon Laplace (), is an integral transform that converts a Function (mathematics), function of a Real number, real Variable (mathematics), variable (usually t, in the ''time domain'') to a f ...
''.
The most straightforward way to derive the time domain behaviour is to use the
Laplace transform
In mathematics, the Laplace transform, named after Pierre-Simon Laplace (), is an integral transform that converts a Function (mathematics), function of a Real number, real Variable (mathematics), variable (usually t, in the ''time domain'') to a f ...
s of the expressions for and given above. Assuming a
step input (i.e. before and then afterwards):
:
Partial fractions expansions and the
inverse Laplace transform
In mathematics, the inverse Laplace transform of a function F(s) is a real function f(t) that is piecewise- continuous, exponentially-restricted (that is, , f(t), \leq Me^ \forall t \geq 0 for some constants M > 0 and \alpha \in \mathbb) and h ...
yield:
:
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 and (see
Ohm's law
Ohm's law states that the electric current through a Electrical conductor, conductor between two Node (circuits), points is directly Proportionality (mathematics), proportional to the voltage across the two points. Introducing the constant of ...
).
Thus, the voltage across the capacitor tends towards 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 is both the time for and to reach within of their final value. In other words, is the time it takes for the voltage across the capacitor to rise to or for the voltage across the resistor to fall to . This
RC time constant is labeled using the letter
tau
Tau (; uppercase Τ, lowercase τ or \boldsymbol\tau; ) is the nineteenth letter of the Greek alphabet, representing the voiceless alveolar plosive, voiceless dental or alveolar plosive . In the system of Greek numerals, it has a value of 300 ...
().
The rate of change is a ''fractional'' per . Thus, in going from to , the voltage will have moved about 63.2% of the way from its level at toward its final value. So the capacitor will be charged to about 63.2% after , and is often considered fully charged (>99.3%) after about . When the voltage source is replaced with a short circuit, with the capacitor fully charged, the voltage across the capacitor drops exponentially with from towards 0. The capacitor will be discharged to about 36.8% after , and is often considered fully discharged (<0.7%) after about . Note that the current, , in the circuit behaves as the voltage across the resistor does, via
Ohm's Law
Ohm's law states that the electric current through a Electrical conductor, conductor between two Node (circuits), points is directly Proportionality (mathematics), proportional to the voltage across the two points. Introducing the constant of ...
.
These results may also be derived by solving the
differential equations describing the circuit:
:
The first equation is solved by using an
integrating factor
In mathematics, an integrating factor is a function that is chosen to facilitate the solving of a given equation involving differentials. It is commonly used to solve non-exact ordinary differential equations, but is also used within multivari ...
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.
:
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
given above:
:
but note that the frequency condition described means that
:
so
:
which is just
Ohm's Law
Ohm's law states that the electric current through a Electrical conductor, conductor between two Node (circuits), points is directly Proportionality (mathematics), proportional to the voltage across the two points. Introducing the constant of ...
.
Now,
:
so
:
Therefore, the voltage ''across the capacitor'' acts approximately like an
integrator
An integrator in measurement and control applications is an element whose output signal is the time integral of its input signal. It accumulates the input quantity over a defined time to produce a representative output.
Integration is an importan ...
of the input voltage for high frequencies.
Differentiator
Consider the output across the resistor at ''low'' frequency 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 for again, when
:
so
:
Now,
:
Therefore, the voltage ''across the resistor'' acts approximately like a
differentiator
In electronics, a differentiator is a Electrical network, circuit that outputs a signal approximately proportional to the rate of change (mathematics), rate of change (i.e. the derivative with respect to time) of its input signal. Because the Sine ...
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
Feedback occurs when outputs of a system are routed back as inputs as part of a chain of cause and effect that forms a circuit or loop. The system can then be said to ''feed back'' into itself. The notion of cause-and-effect has to be handle ...
loop of
operational amplifier
An operational amplifier (often op amp or opamp) is a direct coupling, DC-coupled Electronic component, electronic voltage amplifier with a differential input, a (usually) Single-ended signaling, single-ended output, and an extremely high gain ( ...
s (see ''
operational amplifier integrator'' and ''
operational amplifier differentiator'').
Parallel circuit
The parallel RC circuit is generally of less interest than the series circuit. This is largely because the output voltage is equal to the input voltage — as a result, this circuit acts as a filter on a current input instead of a voltage input.
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
It is sometimes required to
synthesise an RC circuit from a given
rational function
In mathematics, a rational function is any function that can be defined by a rational fraction, which is an algebraic fraction such that both the numerator and the denominator are polynomials. The coefficients of the polynomials need not be ...
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.
[Bakshi & Bakshi, pp. 3-30–3-37]
See also
*
RC time constant
*
RL circuit
*
LC circuit
*
RLC circuit
*
Electrical network
An electrical network is an interconnection of electrical components (e.g., batteries, resistors, inductors, capacitors, switches, transistors) or a model of such an interconnection, consisting of electrical elements (e.g., voltage sou ...
*
List of electronics topics
* – gives the derivation of ''kTC'' noise caused by a resistor with a capacitor to be:
::
*
Step response
References
Bibliography
* Bakshi, U.A.; Bakshi, A.V., ''Circuit Analysis - II'', Technical Publications, 2009 .
* Horowitz, Paul; Hill, Winfield, ''The Art of Electronics'' (3rd edition), Cambridge University Press, 2015 .
{{Authority control
Analog circuits
Electronic filter topology