Forced Circuit Response to Exponential and Sinusoidal Inputs

When the source driving an RC or RL circuit is not constant, the response still splits into a part that dies out and a part that follows the source. This lesson shows how to find the part that follows the source when the input is an exponential este^{st} or a sinusoid cos⁡ωt\cos\omega t, and how to combine it with the initial condition to get the complete response. These two inputs are special because they keep their shape when differentiated, so a first-order circuit answers them with the same kind of signal.

The first-order equation and its forced part

Any first-order circuit with one source can be written in the standard form


τdydt+y=K x(t)\tau\frac{dy}{dt} + y = K\,x(t)


where yy is the capacitor voltage or inductor current, x(t)x(t) is the source, τ\tau is the time constant and KK is a constant gain. For the series RC circuit below, y=vCy = v_C, τ=RC\tau = RC and K=1K = 1. For a series RL circuit driven by a voltage source, y=iLy = i_L, τ=L/R\tau = L/R and K=1/RK = 1/R.


A sinusoidal voltage source in series with a resistor R and a capacitor C, with the loop current and the capacitor voltage marked.


The forced response yf(t)y_f(t) is a particular solution of this equation with the same form as the input. The complete response adds the natural response Ae−t/τAe^{-t/\tau}, whose constant AA is fixed by the initial condition.

Exponential inputs

Let x(t)=Xestx(t) = Xe^{st}, where ss is a real constant (negative for a decaying source). Try yf=Yesty_f = Ye^{st}. Substituting gives τsYest+Yest=KXest\tau sYe^{st} + Ye^{st} = KXe^{st}, so


yf(t)=KX1+sτ est,s≠−1τy_f(t) = \frac{KX}{1 + s\tau}\,e^{st}, \qquad s \neq -\frac{1}{\tau}


The forced response changes at the source's rate, not the circuit's rate. When −1/τ<s<0-1/\tau < s < 0 (a source decaying more slowly than the circuit), 0<1+sτ<10 < 1 + s\tau < 1 and the forced coefficient exceeds KXKX. When the source decays faster than the circuit (s<−1/τs < -1/\tau), 1+sτ1 + s\tau is negative and the forced coefficient has the opposite sign to KXKX. Either way it is the coefficient of one term, not the peak of the complete response.


When s=−1/τs = -1/\tau, the denominator is zero and the trial form fails: Ye−t/τYe^{-t/\tau} is the natural response, so it makes the left side zero. Multiply the trial by tt instead, which gives


yf(t)=KXτ t e−t/τ,s=−1τy_f(t) = \frac{KX}{\tau}\,t\,e^{-t/\tau}, \qquad s = -\frac{1}{\tau}



Sinusoidal inputs

A sinusoid is the real part of a complex exponential, Xcos⁡ωt=Re{Xejωt}X\cos\omega t = \text{Re}\{Xe^{j\omega t}\}. Setting s=jωs = j\omega in the exponential result and taking the real part gives the sinusoidal steady state:


yf(t)=KX1+(ωτ)2cos⁡(ωt−tan⁡−1ωτ)y_f(t) = \frac{KX}{\sqrt{1 + (\omega\tau)^2}}\cos\left(\omega t - \tan^{-1}\omega\tau\right)


The output has the source's frequency, an amplitude reduced by the factor 1+(ωτ)2\sqrt{1+(\omega\tau)^2} and a phase lag of tan⁡−1ωτ\tan^{-1}\omega\tau, between 0∘0^\circ and 90∘90^\circ. Here phase is written in cosine form with a lag as a negative angle; for a sine source, replace cos⁡\cos with sin⁡\sin on both sides and the same amplitude factor and lag apply. Use ω\omega in rad/s, so a frequency in hertz must first be multiplied by 2π2\pi.


The product ωτ\omega\tau controls the result. At ωτ=1\omega\tau = 1 the amplitude falls to 1/2≈0.7071/\sqrt{2} \approx 0.707 of KXKX and the lag is 45∘45^\circ; for ωτ≪1\omega\tau \ll 1 the output nearly tracks the input.

Matching the initial condition

Whatever the input, the complete response for t≥0t \ge 0 is


y(t)=yf(t)+[y(0+)−yf(0+)]e−t/τy(t) = y_f(t) + \left[y(0^+) - y_f(0^+)\right]e^{-t/\tau}


The natural term makes up the difference between where the circuit actually starts and where the forced response starts. It always decays at the circuit's own rate 1/τ1/\tau, never at the source's rate or frequency. The table lists the forced value at t=0+t = 0^+ that enters the bracket.


Input x(t)x(t)

Forced response yf(t)y_f(t)

yf(0+)y_f(0^+)

XX (DC, s=0s = 0)

KXKX

KXKX

XestXe^{st}, s≠−1/τs \neq -1/\tau

KX1+sτest\dfrac{KX}{1+s\tau}e^{st}

KX1+sτ\dfrac{KX}{1+s\tau}

Xe−t/τXe^{-t/\tau}

KXτ t e−t/τ\dfrac{KX}{\tau}\,t\,e^{-t/\tau}

00

Xcos⁡ωtX\cos\omega t

KX1+(ωτ)2cos⁡(ωt−tan⁡−1ωτ)\dfrac{KX}{\sqrt{1+(\omega\tau)^2}}\cos(\omega t - \tan^{-1}\omega\tau)

KX1+(ωτ)2\dfrac{KX}{1+(\omega\tau)^2}



What to remember

  • The forced response copies the input's form: este^{st} in gives este^{st} out, and cos⁡ωt\cos\omega t in gives a scaled, shifted cos⁡ωt\cos\omega t out.
  • For an exponential input, divide by 1+sτ1 + s\tau; if s=−1/τs = -1/\tau, use the form t e−t/τt\,e^{-t/\tau} instead.
  • For a sinusoidal input, the amplitude scales by 1/1+(ωτ)21/\sqrt{1+(\omega\tau)^2} and the phase lags by tan⁡−1ωτ\tan^{-1}\omega\tau.
  • The natural term [y(0+)−yf(0+)]e−t/τ[y(0^+) - y_f(0^+)]e^{-t/\tau} always decays at the circuit's rate.

Example: RC circuit driven by a decaying and a sinusoidal source

The series RC circuit shown has R=2 kΩR = 2\ \text{k}\Omega and C=5 μFC = 5\ \mu\text{F}. The capacitor is uncharged when the source vs(t)v_s(t) is applied at t=0t = 0.


A voltage source in series with a 2 kilohm resistor and a 5 microfarad capacitor, with the capacitor voltage marked.


a) For vs(t)=12e−50tv_s(t) = 12e^{-50t} V, find the forced response and the complete capacitor voltage vC(t)v_C(t) for t≥0t \ge 0.


The loop equation is RC dvC/dt+vC=vsRC\,dv_C/dt + v_C = v_s, so K=1K = 1 and


τ=RC=(2000 Ω)(5×10−6 F)=0.0100 s\tau = RC = (2000\ \Omega)(5\times10^{-6}\ \text{F}) = 0.0100\ \text{s}


The natural rate is 1/τ=100 s−11/\tau = 100\ \text{s}^{-1}. The source has s=−50 s−1s = -50\ \text{s}^{-1}, which differs from −100 s−1-100\ \text{s}^{-1}, so the ordinary exponential formula applies:


vf(t)=121+(−50)(0.0100)e−50t=120.5e−50t=24e−50t Vv_f(t) = \frac{12}{1 + (-50)(0.0100)}e^{-50t} = \frac{12}{0.5}e^{-50t} = 24e^{-50t}\ \text{V}


Check by substitution: τ dvf/dt+vf=(0.0100)(−50)(24)e−50t+24e−50t=12e−50t\tau\,dv_f/dt + v_f = (0.0100)(-50)(24)e^{-50t} + 24e^{-50t} = 12e^{-50t}, which matches the source.


The capacitor voltage is continuous, so vC(0+)=0v_C(0^+) = 0, while vf(0+)=24v_f(0^+) = 24 V. The natural coefficient is 0−24=−240 - 24 = -24 V:


vC(t)=24e−50t−24e−100t=24(e−50t−e−100t) Vv_C(t) = 24e^{-50t} - 24e^{-100t} = 24\left(e^{-50t} - e^{-100t}\right)\ \text{V}


At t=0t = 0 this gives 24−24=024 - 24 = 0, as required.


b) For the same source, find when vCv_C reaches its maximum and the maximum value.


Set the derivative to zero:


dvCdt=24(−50e−50t+100e−100t)=0⇒e−50t=0.5\frac{dv_C}{dt} = 24\left(-50e^{-50t} + 100e^{-100t}\right) = 0 \quad\Rightarrow\quad e^{-50t} = 0.5


tmax⁡=ln⁡250 s−1=0.01386 s=13.9 mst_{\max} = \frac{\ln 2}{50\ \text{s}^{-1}} = 0.01386\ \text{s} = 13.9\ \text{ms}


At that instant e−50t=0.5e^{-50t} = 0.5 and e−100t=0.25e^{-100t} = 0.25, so


vC,max⁡=24(0.5−0.25)=6.00 Vv_{C,\max} = 24(0.5 - 0.25) = 6.00\ \text{V}


The forced coefficient of 24 V is never reached: the natural term subtracts from it while the source itself decays. The capacitor charges at first, then discharges back through the source as vsv_s falls below vCv_C.


c) The source is replaced by vs(t)=12cos⁡(100t)v_s(t) = 12\cos(100t) V, with tt in seconds, and the capacitor is again uncharged at t=0t = 0. Find the complete vC(t)v_C(t).


With ω=100\omega = 100 rad/s and τ=0.0100\tau = 0.0100 s, ωτ=1\omega\tau = 1. The steady-state amplitude and lag are


121+12=8.49 V,tan⁡−1(1)=π4 rad=45∘\frac{12}{\sqrt{1 + 1^2}} = 8.49\ \text{V}, \qquad \tan^{-1}(1) = \frac{\pi}{4}\ \text{rad} = 45^\circ


so vf(t)=8.49cos⁡(100t−π/4)v_f(t) = 8.49\cos(100t - \pi/4) V. At t=0+t = 0^+, vf(0+)=8.485cos⁡(−π/4)=6.00v_f(0^+) = 8.485\cos(-\pi/4) = 6.00 V, which also equals 12/(1+12)12/(1+1^2). The natural coefficient is 0−6.00=−6.000 - 6.00 = -6.00 V:


vC(t)=8.49cos⁡(100t−π4)−6.00e−100t Vv_C(t) = 8.49\cos\left(100t - \frac{\pi}{4}\right) - 6.00e^{-100t}\ \text{V}


At t=0t = 0: 6.00−6.00=06.00 - 6.00 = 0, as required. The transient decays at the circuit's rate, 100 s−1100\ \text{s}^{-1}, which happens to equal ω\omega numerically here only because ωτ=1\omega\tau = 1.


d) For part c, how long does it take until the natural term is smaller than 1% of the steady-state amplitude?


One percent of the steady-state amplitude is 0.01×8.485=0.08490.01 \times 8.485 = 0.0849 V. Require


6.00e−100t<0.0849⇒t>ln⁡(6.00/0.0849)100 s−1=ln⁡70.7100=4.259100 s6.00e^{-100t} < 0.0849 \quad\Rightarrow\quad t > \frac{\ln(6.00/0.0849)}{100\ \text{s}^{-1}} = \frac{\ln 70.7}{100} = \frac{4.259}{100}\ \text{s}


t>0.0426 s=42.6 mst > 0.0426\ \text{s} = 42.6\ \text{ms}


That is about 4.3τ4.3\tau. After this time the capacitor voltage is, for practical purposes, the sinusoidal steady state alone.

A series RL circuit has R=50 ΩR = 50\ \Omega and L=0.5 HL = 0.5\ \text{H}. For t≥0t \ge 0 it is driven by the voltage source vs(t)=20e−40tv_s(t) = 20e^{-40t} V, with tt in seconds. Which expression is the forced response if(t)i_f(t) of the loop current?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A series RC or RL circuit is at rest when a sinusoidal source vs(t)=Vmcos⁡(ωt)v_s(t) = V_m\cos(\omega t) is switched on at t=0t = 0. Put the steps for finding the complete capacitor voltage or inductor current for t>0t > 0 in the order you would carry them out.

  1. 1.

    Add the natural term Ae−t/τAe^{-t/\tau} to the forced response to form the general solution.

  2. 2.

    Find the forced response: a sinusoid at the source frequency ω\omega whose amplitude carries the factor 1/1+(ωτ)21/\sqrt{1+(\omega\tau)^2} and whose phase lags by arctan⁡(ωτ)\arctan(\omega\tau).

  3. 3.

    Set the general solution at t=0+t = 0^+ equal to the continuous capacitor voltage or inductor current and solve for AA.

  4. 4.

    Confirm that the natural term has decayed after about 5τ5\tau, leaving only the sinusoidal steady state.

  5. 5.

    Write the circuit's first-order differential equation for t>0t > 0 and identify the time constant τ\tau.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A series RC circuit has R=1.5 kΩR = 1.5\ \text{k}\Omega and C=0.2 μFC = 0.2\ \mu\text{F}. It is driven by vs(t)=10cos⁡(5000t)v_s(t) = 10\cos(5000t) V, with tt in seconds, and has been running long enough for all transients to vanish. What is the amplitude of the capacitor voltage? Give your answer in volts to two decimal places.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Extra Practice