Response to Exponential and Sinusoidal Inputs
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 est or a sinusoid cosω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
where y is the capacitor voltage or inductor current, x(t) is the source, τ is the time constant and K is a constant gain. For the series RC circuit below, y=vC, τ=RC and K=1. For a series RL circuit driven by a voltage source, y=iL, τ=L/R and K=1/R.
The forced response yf(t) is a particular solution of this equation with the same form as the input. The complete response adds the natural response Ae−t/τ, whose constant A is fixed by the initial condition.
Exponential inputs
Let x(t)=Xest, where s is a real constant (negative for a decaying source). Try yf=Yest. Substituting gives τsYest+Yest=KXest, so
The forced response changes at the source's rate, not the circuit's rate. When −1/τ<s<0 (a source decaying more slowly than the circuit), 0<1+sτ<1 and the forced coefficient exceeds KX. When the source decays faster than the circuit (s<−1/τ), 1+sτ is negative and the forced coefficient has the opposite sign to KX. Either way it is the coefficient of one term, not the peak of the complete response.
When s=−1/τ, the denominator is zero and the trial form fails: Ye−t/τ is the natural response, so it makes the left side zero. Multiply the trial by t instead, which gives
Sinusoidal inputs
A sinusoid is the real part of a complex exponential, Xcosωt=Re{Xejωt}. Setting s=jω in the exponential result and taking the real part gives the sinusoidal steady state:
The output has the source's frequency, an amplitude reduced by the factor 1+(ωτ)2 and a phase lag of tan−1ωτ, between 0∘ and 90∘. Here phase is written in cosine form with a lag as a negative angle; for a sine source, replace cos with sin on both sides and the same amplitude factor and lag apply. Use ω in rad/s, so a frequency in hertz must first be multiplied by 2π.
The product ωτ controls the result. At ωτ=1 the amplitude falls to 1/2≈0.707 of KX and the lag is 45∘; for ωτ≪1 the output nearly tracks the input.
Matching the initial condition
Whatever the input, the complete response for t≥0 is
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/τ, never at the source's rate or frequency. The table lists the forced value at t=0+ that enters the bracket.
Input x(t) | Forced response yf(t) | yf(0+) |
|---|---|---|
X (DC, s=0) | KX | KX |
Xest, s=−1/τ | 1+sτKXest | 1+sτKX |
Xe−t/τ | τKXte−t/τ | 0 |
Xcosωt | 1+(ωτ)2KXcos(ωt−tan−1ωτ) | 1+(ωτ)2KX |
What to remember
- The forced response copies the input's form: est in gives est out, and cosωt in gives a scaled, shifted cosωt out.
- For an exponential input, divide by 1+sτ; if s=−1/τ, use the form te−t/τ instead.
- For a sinusoidal input, the amplitude scales by 1/1+(ωτ)2 and the phase lags by tan−1ωτ.
- The natural term [y(0+)−yf(0+)]e−t/τ 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Ω and C=5 μF. The capacitor is uncharged when the source vs(t) is applied at t=0.
a) For vs(t)=12e−50t V, find the forced response and the complete capacitor voltage vC(t) for t≥0.
The loop equation is RCdvC/dt+vC=vs, so K=1 and
The natural rate is 1/τ=100 s−1. The source has s=−50 s−1, which differs from −100 s−1, so the ordinary exponential formula applies:
Check by substitution: τdvf/dt+vf=(0.0100)(−50)(24)e−50t+24e−50t=12e−50t, which matches the source.
The capacitor voltage is continuous, so vC(0+)=0, while vf(0+)=24 V. The natural coefficient is 0−24=−24 V:
At t=0 this gives 24−24=0, as required.
b) For the same source, find when vC reaches its maximum and the maximum value.
Set the derivative to zero:
At that instant e−50t=0.5 and e−100t=0.25, so
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 vs falls below vC.
c) The source is replaced by vs(t)=12cos(100t) V, with t in seconds, and the capacitor is again uncharged at t=0. Find the complete vC(t).
With ω=100 rad/s and τ=0.0100 s, ωτ=1. The steady-state amplitude and lag are
so vf(t)=8.49cos(100t−π/4) V. At t=0+, vf(0+)=8.485cos(−π/4)=6.00 V, which also equals 12/(1+12). The natural coefficient is 0−6.00=−6.00 V:
At t=0: 6.00−6.00=0, as required. The transient decays at the circuit's rate, 100 s−1, which happens to equal ω numerically here only because ωτ=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.0849 V. Require
That is about 4.3τ. After this time the capacitor voltage is, for practical purposes, the sinusoidal steady state alone.
A series RC or RL circuit is at rest when a sinusoidal source vs(t)=Vmcos(ωt) is switched on at t=0. Put the steps for finding the complete capacitor voltage or inductor current for t>0 in the order you would carry them out.
1.
Add the natural term Ae−t/τ to the forced response to form the general solution.
2.
Find the forced response: a sinusoid at the source frequency ω whose amplitude carries the factor 1/1+(ωτ)2 and whose phase lags by arctan(ωτ).
3.
Set the general solution at t=0+ equal to the continuous capacitor voltage or inductor current and solve for A.
4.
Confirm that the natural term has decayed after about 5τ, leaving only the sinusoidal steady state.
5.
Write the circuit's first-order differential equation for t>0 and identify the time constant τ.
A series RC circuit has R=1.5 kΩ and C=0.2 μF. It is driven by vs(t)=10cos(5000t) V, with t 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.