We want to solve a differential equation for the output x(t) by factoring x(t) out of the left-hand side and dividing, even though x(t) is inside time derivatives.
1
The Transfer Function as a Multiplier
For a system starting from rest (x(0)=0 and x′(0)=0), the transfer functionH(s) is the ratio of the output's Laplace transform X(s) to the input's Laplace transform F(s). It acts as a multiplier that turns the input into the output.
The Transfer Function as a Multiplier
Text solution
Replace derivatives with s to factor out X(s)Because dtd(est)=sest, taking the Laplace transform of dt2d2x+3dtdx+2x=f(t) from rest turns each time derivative into multiplication by s, with no initial-condition terms.
s2X(s)+3sX(s)+2X(s)=(s2+3s+2)X(s)=F(s)
Divide output by input to get the transfer functionSolving for the ratio F(s)X(s) gives the multiplier H(s) for the system.
transfer functionH(s)=F(s)X(s)=s2+3s+21
Evaluate H(s) at the input's exponent to find the forced motionFor a constant push f(t)=1=e0t (s=0) and a growing push f(t)=et (s=1), plugging s into H(s) gives the multiplier for the forced part of x(t).
Multiplying the input by H(s) only gives the forced part of the motion. To get the natural motion the system makes on its own when f(t)=0, we look for the poles of H(s): the values of s that make the denominator of H(s) equal zero.
Poles and Natural Motion
H(s)xnatural(t)=s2+3s+21=?
Text solution
Factor the characteristic polynomial in the denominatorThe denominator of H(s) is the system's characteristic polynomial, and its roots are the poles, where the multiplier goes to infinity.
H(s)=s2+3s+21=poles at s=−1,−2(s+1)(s+2)1
Build the natural motion from the polesBecause an infinite multiplier can produce a nonzero output even when the input is zero (f(t)=0), each pole s gives one of the system's natural exponential motions est.
xnatural(t)=Ae−t+Be−2t
For a motion x(t)=est, as s gets close to a pole at s=−1 or s=−2, the multiplier ∣H(s)∣ goes to infinity while the input force f(t) needed to keep the system moving drops to zero.
Where the multiplier shoots to infinity, the push needed to keep the door moving drops to zero.
3
Reading Poles on the Complex s-Plane
When a spring oscillates, the denominator of H(s) has complex roots s=a±bi. Plotting these poles on the complex s-plane lets us read the system's decay rate, oscillation frequency, and stability right from their coordinates.
Reading Poles on the Complex s-Plane
Text solution
Write the transfer function from the differential equationFor dt2d2x+2dtdx+10x=f(t), replacing derivatives with s puts the characteristic polynomial in the denominator.
H(s)=s2+2s+101
Complete the square to find the complex polesSetting the denominator to zero gives the coordinates of the poles in the complex s-plane.
(s+1)2+9⟹(s+1)2⟹s=0=−9=decay−1±frequency3i
Read the natural motion from the pole coordinatesBecause the poles sit 1 unit left of the vertical axis and 3 units up and down, the natural motion is stable, decaying as e−t while oscillating at frequency 3.
xnatural(t)=e−t(Acos3t+Bsin3t)
In the complex s-plane, poles further to the left give waves that die out faster, poles further from the horizontal axis oscillate faster (and stop oscillating completely right on the horizontal axis), and poles in the right half-plane give unstable waves that grow without bound over time.
A pole’s horizontal position sets whether the natural motion dies out or blows up, and its vertical distance from the horizontal axis sets how fast it oscillates.
4
System Poles and Input Poles Together
Now we want to find the full motion x(t), with both the natural and forced parts together, when a system starting from rest is pushed by an exponential input.
System Poles and Input Poles Together
dtdx+2xx(0)x(t)=3e−5t=0=?
Text solution
Multiply the system's transfer function by the input's transformFor dtdx+2x=3e−5t with x(0)=0, multiplying H(s)=s+21 by F(s)=s+53 puts both the system pole and the input pole in the denominator of X(s).
X(s)=H(s)F(s)=system pole s=−2s+21⋅input pole s=−5s+53=(s+2)(s+5)3
Split into partial fractions using the cover-up methodCovering s+2 and plugging in s=−2 gives −2+53=1, and covering s+5 and plugging in s=−5 gives −5+23=−1.
X(s)=(s+2)(s+5)3=s+21−s+51
Take the inverse Laplace transform of each pieceEach fraction turns back into a time exponential with its pole as the exponent, and the two pieces cancel at t=0 so that x(0)=0.
x(t)=naturale−2tforced−e−5t
Notice that covering up s+5 and plugging s=−5 into what's left, s+23, gives 3H(−5)=−1, which is the exact same calculation as multiplying H(−5)=−31 by the input 3e−5t. If a problem only asks for the forced motion, just plug the input's exponent into H(s) and multiply by f(t); use X(s)=H(s)F(s) and partial fractions when you need the full motion starting from rest.
As the input pole changes while the system pole stays fixed at s=−2, the natural part always decays at the system's own rate e−2t but rescales to cancel the forced part at t=0, while the piece from whichever pole is closer to 0 decays more slowly and dominates for large t.
Natural motion always starts opposite forced motion to keep the total at zero at the start, while whichever pole sits closer to zero sets the long-term behavior.
5
Impulse Response and Convolution
To see what the transfer function H(s) means by itself in time, and to handle any input force f(t) that isn't a simple exponential, we use the impulse responseh(t)=L−1{H(s)}, which is the system's motion after a single unit tap f(t)=δ(t) at t=0.
Impulse Response and Convolution
Text solution
Split H(s) by partial fractionsWhen f(t)=δ(t), the input transform is F(s)=1, so the output transform is X(s)=H(s)=(s+1)(s+2)1.
H(s)=(s+1)(s+2)1=s+11−s+21
Invert H(s) to get the impulse response h(t)Taking the inverse Laplace transform term by term gives the system's motion in time after a single unit tap at t=0.
impulse responseh(t)=L−1{H(s)}=e−t−e−2t
Convolve h(t) with any input f(t) to find x(t)Because multiplying H(s)F(s) in s turns into convolution in t, any force f(t) gives an output made by adding up shifted impulse responses.
x(t)=(h∗f)(t)=∫0th(t−τ)f(τ)dτ
Key concepts
Starting from rest (x(0)=0,x′(0)=0), replacing each time derivative dtd with s turns a differential equation like dt2d2x+3dtdx+2x=f(t) into an algebraic equation, and dividing the output by the input gives the transfer function,
H(s)=F(s)X(s)=s2+3s+21.
The roots of the denominator are the system's poles, where H(s) goes to infinity and the system can move on its own with zero input. On the complex s-plane, a pole at s=a±bi has horizontal coordinate a setting the exponential envelope eat (so the system is stable only when its poles are in the left half-plane, a<0) and vertical distance b setting the oscillation frequency in cos(bt) and sin(bt). For (s+1)2+9=0, the poles s=−1±3i give a natural motion that decays as e−t and oscillates at frequency 3.
How you use H(s) depends on what you are given and what you need to find:
Forced motion only for f(t)=Aest
Don't take the Laplace transform of f(t) or set up partial fractions. Just plug the input's exponent s straight into H(s) to get xforced(t)=H(s)Aest (for a constant f(t)=1=e0t, plug in s=0 to get H(0)=21; for f(t)=et, plug in s=1 to get 61et).
Full motion from rest for an exponential input
Multiply X(s)=H(s)F(s) and split by partial fractions so the system poles (natural part) and input poles (forced part) both appear: for X(s)=s+21⋅s+53=s+21−s+51, taking the inverse Laplace transform gives x(t)=e−2t−e−5t.
Impulse response or any input f(t)
Take the inverse Laplace transform of H(s) by itself to get the system's response to a unit tap δ(t),h(t)=L−1{H(s)}, and use convolution for any input force: x(t)=(h∗f)(t)=∫0th(t−τ)f(τ)dτ (don't use the convolution integral when f(t) is a simple exponential, since partial fractions on H(s)F(s) is much faster).
6
Practice
1
A system starting from rest follows dt2d2x+5dtdx+6x=f(t). Find its transfer function H(s)=F(s)X(s), and use H(s) as a multiplier to find the forced part of the output x(t) when the input is (a) a constant force f(t)=12 and (b) an exponential force f(t)=20e2t.
Rewrite the constant 12 as 12e0t to see what value of s to plug into H(s), and check which number in 20e2t is the exponent s.
Replacing dt2d2 with s2 and dtd with s gives the transfer function:
H(s)=F(s)X(s)=s2+5s+61
(a) Write the constant force as f(t)=12e0t, so the exponent is s=0 (watch out: don't plug the constant 12 in for s in H(s), which would give H(12)=2101 and the wrong answer 352):
xforced(t)=H(0)⋅12=02+5(0)+61⋅12=61(12)=2
(b) For f(t)=20e2t, the exponent is s=2 (don't plug the coefficient 20 in for s, and don't forget to multiply H(2) by the input 20e2t, which would leave 201e2t):
Find the transfer function and poles of the damped spring system dt2d2x+6dtdx+25x=f(t). From the coordinates of the poles in the complex s-plane, state the decay rate, the oscillation frequency, and whether the system is stable, then describe what happens to the poles and stability if the damping term is changed to −6dtdx.
Complete the square on s2+6s+25 starting from (s+3)2, then look at the real and imaginary parts of the roots.
Replacing derivatives with s gives the transfer function:
H(s)=s2+6s+251
Complete the square in the denominator to find the poles (watch out: when taking the square root of (s+3)2=−16, don't forget to take 16=4, or you would get the wrong poles −3±16i and wrong frequency 16):
(s+3)2+16⟹(s+3)2⟹s=0=−16=−3±4i
Because the poles lie 3 units left of the vertical axis and 4 units up and down, the natural motion decays like e−3t (decay rate 3), oscillates at frequency 4 (as cos4t and sin4t), and is stable. Changing +6dtdx to −6dtdx changes the completed square to (s−3)2+16=0, moving the poles into the right half-plane to s=+3±4i, where the oscillations grow like e3t and the system is unstable.
3
Use the transfer function method X(s)=H(s)F(s) to solve dtdx+4x=10e−9t starting from rest, x(0)=0. Identify the system pole and the input pole, and label the natural and forced parts of x(t).
Multiply H(s) and F(s) together, then use the cover-up method at s=−4 and s=−9.
From the equation and input, the transfer function is H(s)=s+41 (system pole at s=−4) and the input transform is F(s)=s+910 (input pole at s=−9). Multiplying them gives X(s), which splits by the cover-up method (watch out: when plugging s=−9 into s+410, keep the negative sign in −9+4=−5, or you would get +2 instead of −2 and write 2e−4t+2e−9t, which doesn't satisfy x(0)=0):
X(s)=H(s)F(s)=(s+4)(s+9)10=s+42−s+92
Taking the inverse Laplace transform term by term gives:
x(t)=natural2e−4tforced−2e−9t
4
A system starting from rest follows dt2d2x+5dtdx+4x=f(t). Find its impulse response h(t) (its motion when hit with a unit impulse f(t)=δ(t)), and use h(t) to write the convolution integral for the output x(t) from any input f(t).
Factor the denominator of H(s) and use partial fractions to invert H(s) into h(t), then replace t inside h with the shifted time t−τ for the convolution integral.
Factoring the denominator of H(s) and splitting by the cover-up method gives:
H(s)=s2+5s+41=(s+1)(s+4)1=s+131−s+431
Taking the inverse Laplace transform of H(s) gives the impulse response:
h(t)=31e−t−31e−4t
Convolving h(t) with any input f(t) gives the output (watch out: inside the integral you must evaluate h at the shifted time t−τ, not at τ or t, which would give the wrong integrand 31(e−τ−e−4τ)f(τ)):
x(t)=(h∗f)(t)=∫0t31(e−(t−τ)−e−4(t−τ))f(τ)dτ
5
When a system at rest is hit with a unit impulse f(t)=δ(t), its measured output is h(t)=21e−t−21e−3t. Find the system's poles, its transfer function H(s) as a single fraction, and its differential equation, then find the full output x(t) when the system starts from rest and is pushed with f(t)=2e−2t.
Take the Laplace transform of h(t) and combine the two fractions over a common denominator to find H(s).
Taking the Laplace transform of the impulse response h(t) gives H(s) (watch out: when combining the numerators, 21(s+3)−21(s+1)=21(2)=1; forgetting the factor of 2 from 3−1 leaves an extra 21 on top, giving H(s)=s2+4s+321 and half the true output, 21e−t−e−2t+21e−3t):