Consider an RC circuit consisted of a resistor and a capacitor in
series connected to an AC voltage source
, find
the voltage
across
. The governing DE describing the circuit
can be obtained based on KVL:
![$\displaystyle \tau\frac{d}{dt}v_C(t)+v_C(t)=v_s(t)
=\left\{\begin{array}{c}0\\ 1\\ \cos(\omega t)\end{array}\right.$](img252.svg) |
(73) |
When the external input is zero
, the DE is homogeneous
(zero on the right-hand side):
![$\displaystyle \tau\frac{d}{dt}v_C(t)+v_C(t)=0,\;\;\;\;\;v_C(t)\vert _{t=0}=v_C(0)=V_0$](img254.svg) |
(74) |
The non-trivial solution of this homogeneous equation is due to some
non-zero initial value, the voltage
across the capacitor before
. The homogeneous solution needs to
be a function whose derivative takes the same form as the function
itself, an exponential function:
and![$\displaystyle \;\;\;\;\;\;\;
\frac{d}{dt}v_C(t)=s A e^{st}$](img257.svg) |
(75) |
Substituting them into the DE, we get
![$\displaystyle \tau sA e^{st} + Ae^{st}=(\tau s+1) Ae^{st}=0$](img258.svg) |
(76) |
As we are not interested in the trivial solution
, we must
have
i.e.![$\displaystyle \;\;\;\;\;\;s=-\frac{1}{\tau}$](img261.svg) |
(77) |
Now we get
for
. The constant coefficient
can be obtained by the initial condition
:
i.e.![$\displaystyle \;\;\;\;\;A=V_0$](img265.svg) |
(78) |
Now the homogeneous solution is found to be
![$\displaystyle v_C(t)=V_0 e^{-t/\tau}$](img266.svg) |
(79) |
which decays to zero as
:
![$\displaystyle \lim_{t\rightarrow\infty} V_0 e^{-t/\tau}=0$](img268.svg) |
(80) |
The same result can also be obtained by the
Laplace transform method.
The current through
and
is
![$\displaystyle i(t)=C\frac{d}{dt}\;v_C(t)=C\frac{d}{dt}\left(V_0 e^{-t/\tau}\right)
=-V_0 \frac{C}{\tau} e^{-t/\tau}=-\frac{V_0}{R} e^{-t/\tau}$](img269.svg) |
(81) |
The voltage across
is
![$\displaystyle v_R(t)=i(t)R=-V_0 e^{-t/\tau}=-v_C(t)$](img270.svg) |
(82) |
This result can be verified by KVL:
.
The time constant
can be identified on the time plot of the general
first order response
with
. Specifically
consider the derivative of
evaluated at
:
![$\displaystyle \frac{d}{dt}v(t)\big\vert _{t=0}=-\frac{1}{\tau}e^{-t/\tau}\bigg\vert _{t=0}=-\frac{1}{\tau}$](img274.svg) |
(83) |
This is the slope of the tangent line of
at
, and
is its
intersection with the horizontal axis. We conclude that the voltage across a
capacitor cannot change instantaneously due to the time constant
,
unless
and therefore
. (The same can be said for the current
through an inductor.)