Professional Documents
Culture Documents
Damped harmonic motion is when the amplitude of the periodic motion of an oscillator (e.g., a
mass on a spring) decreases because of some kind of damping force which opposes velocity
(e.g., air resistance). When disturbed (i.e., moved away from equilibrium and/or given a
velocity), an oscillator responds harmonically at its natural frequency (unless the damping is too
high), dissipating energy away due to the damping and eventually returning to rest at its
equilibrium position.
Check out this link for a damped harmonic motion simulator for a mass on a spring:
https://www.mathwarehouse.com/harmonic-motion/interactive-damped-oscillator.php
And check out this Efficient Engineer video for a great introduction to the topic:
https://youtu.be/vLaFAKnaRJU
Resonance describes what happens when an external periodic force is applied to a system at a
frequency equal to (or very close to) the "natural frequency" of the system (the frequency it
would oscillate at naturally if excited with an impulse), causing an increased amplitude of
vibration in the system compared to what this same force would produce at other frequencies.
Here's a video showing 3 equal masses but supported using structures with different lengths (and
therefore different spring constants):
Resonance: A Perfect Experiment https://www.youtube.com/watch?v=iyw4AcZuj5k
Notice that as the oscillation frequency of the platform gradually increases each mass has a
frequency where it responds a lot. If you look closely, you'll see 3 regimes which happen at
different frequencies for each mass:
1. Low Frequency (well below resonance): the mass responds in phase and with the same
amplitude as the platform
2. Resonance: the mass responds with a much bigger amplitude and 90° behind the platform
in phase
3. High Frequency (well above resonance): the mass responds with further and further
decreasing amplitude
Though we'll talk mostly about masses on springs, the math and language we'll develop for
oscillators and resonance are broader concepts that apply to many systems, including resistor-
inductor-capacitor circuits, a magnetic pendulum over an aluminum plate, musical instruments,
earthquake protection for buildings, audio amplifiers and filters, and piezoelectric quartz tuning
forks for keeping time in electronic systems to name a few.
In one dimension, a mass on a spring subject to linear damping and no other forces has a net
force on it given by:
where k is the spring constant, x is the mass' displacement from the spring's equilibrium position,
b is the damping constant, and v is its velocity. Applying Newton's second law:
This is a linear homogeneous second order differential equation. In Math 2Z03, you learn that to
solve this you can substitute an assumed solution form , leading to:
The relative size of the damping determines the form of the solutions.
Case 1 - Overdamped:
A second solution comes from reduction of order, and the general solution is:
Case 3 - Underdamped:
When we have a complex conjugate pair of roots:
shows how the damping constant b has modified the natural frequency the system
would otherwise have. Note that if is very close to then can be much lower than
. In most underdamped resonant systems so that .
These solutions are inconvenient because they're complex, but because the DE is linear, we know
that any linear combination of solutions is also a solution, and it turns out the following linear
combinations let us replace these solutions with more-convenient sinusoids:
→ , where
Take the derivative, then apply the ICs:
You can substitute this back into directly in maple, or rearrange if you like:
It's hard to notice it from this general form, but since the decaying exponential
term always dominates the rising exponential components of the sinh & cosh functions
meaning that this solution decays exponentially in time from its starting position.
→
Take the derivative, then apply the ICs:
Because the exponential term dominates the linear term for large enough time, this also acts
as a decaying exponential.
→ , where
Take the derivative, then apply the ICs:
This solution is oscillatory with frequency due to the sin and cos terms, but modulated by a
Solution:
DE is
→ , where .
2
d d
ode := 2 x( t ) b x( t ) x( t )0
dt dt
ics := x( 0 )1, D( x )( 0 )0
Demonstrate that it worked:
overdamped(t);
critdamped(t);
underdamped(t);
x(t);
1 3 ( ( 2 3 ) t) 3 1 ( ( 2 3 ) t)
e e
2 3 3 2
( t ) ( t )
e e t
t t
1 2 t 3 2 t 3
3e
sin
e cos
3 2 2
x( t )
Plots the solutions:
> plot([overdamped(t), critdamped(t), underdamped(t)], t=0..20, , legend =
["overdamped", "critdamped", "underdamped"]);
Solution:
Since critical damping is b = 2, we can try b = 2.1 & b = 1.9 for slightly more and slightly less
than critically damping:
restart;
m:=1: k:=1: x0:=1:
ode:= m*diff(x(t), t,t)+b*diff(x(t),t)+k*x(t)=0:
ics:= x(0)=x0, D(x)(0)=0:
assign(dsolve(subs([x=overdamped, b=2.1], {ode, ics})));
assign(dsolve(subs([x=critdamped, b=2], {ode, ics})));
assign(dsolve(subs([x=underdamped,b=1.9], {ode, ics})));
plot([overdamped(t), critdamped(t), underdamped(t)], t=0..20,x=-.001..0.01,
legend = ["overdamped", "critdamped", "underdamped"]);
Indeed, critical damping is the fastest it can return to the equilibrium position without actually
ever crossing it. Slightly underdamped may be preferable for certain applications, e.g., when
you want to minimize time spent more than 0.002 away from equilibrium.
4.1.2 Damping Ratio
In the underdamped case, the oscillations of the harmonic response occur at a frequency of
Question:
Rewrite the DE in terms of and (rather than ), and then use maple to solve the
damper-mass-spring system for m = 1, k = 1, x0 = 1, and damping ratios of 1/4, 1/8, and 1/16.
Compare with a cosine at the natural frequency.
Solution:
In Maple:
restart;
m:=1: k:=1: x0:=1:
w0:=m/k:
ode:= diff(x(t), t,t)+2*zeta*w0*diff(x(t),t)+w0^2*x(t)=0:
ics:= x(0)=x0, D(x)(0)=0:
assign(dsolve(subs([x=X1, zeta=1/4], {ode, ics})));
assign(dsolve(subs([x=X2, zeta=1/8], {ode, ics})));
assign(dsolve(subs([x=X3, zeta=1/16], {ode, ics})));
plot([X1(t), X2(t), X3(t), cos(w0*t), exp(-t/16)], t=0..20,
legend=[zeta=1/4,zeta=1/8,zeta=1/16, cosine, exp]);
Higher damping ratios make the oscillations decay faster and shift their frequency down.
The motion in any case decays with exponent , as you can see from the
exponential plot.
time according to .
2. The second part, called the "steady state" term, doesn't decay with time, is a harmonic
solution at the same frequency as the driving force ( ) but phase shifted from the
Solution:
A= ,
Solution:
Solution:
Amplitude is:
frequency response modulated by the relative damping and lags 90o behind the
input.
(Note: if damping is high, this is not exactly the resonant frequency that causes maximum
, where
For sufficiently low damping ( ), driving the system at its natural frequency puts it into
resonance: the harmonic driving force pushes on the mass in perfect synchronization with its
movement and builds on the velocity from the cycle before, leading to a higher response
amplitude than the same force would produce at low frequency. For this reason, the natural
frequency of the system is often called its resonant frequency (though technically the true
resonant frequency is slightly lower).
(take )
Solution:
DE is:
They gave us F0/k (which should be the low-frequency response) but in the form of the DE with
we need F0/m.
If , then .
restart;
w0:=10: x0:=1: zeta:=1/16:
ode:= diff(x(t), t,t)+2*zeta*w0*diff(x(t),t)+w0^2*x(t)=x0*w0^2*sin(omega*t):
ics:=x(0)=0, D(x)(0)=0;
dsolve({ode, ics});
assign(%):
plot([subs(omega=2, x(t)), subs(omega=10, x(t)), subs(omega=50, x(t))],
t=0..10);
The low frequency response is basically a sine function with amplitude 1, the resonant response
has an amplitude around 8, and the high-frequency response is reduced to very low amplitude.
Our predictions were:
Solution:
With a superposition of all 3 individual responses (because it's a linear DE); this means that the
combined response is essentially just the response the resonant driving force would have by
itself, since it's so much larger than the others - especially at those lower damping values.
Example code:
> restart:
zeta:=1/16: omega0:=10:
DE:=diff(x(t),t,t)+2*zeta*omega0*diff(x(t),t)
+omega0^2*x(t)=omega0^2*sin(omega*t);
ICs:=x(0)=0,D(x)(0)=0:
dsolve([subs(omega=2, DE), ICs]): xLF:=rhs(%):
dsolve([subs(omega=50, DE), ICs]): xHF:=rhs(%):
dsolve([subs(omega=10, DE), ICs]): xRF:=rhs(%):
dsolve([diff(x(t),t,t)+2*zeta*omega0*diff(x(t),t)
+omega0^2*x(t)=omega0^2*(sin(2*t)+sin(10*t)+sin(50*t)), ICs]):
xMF:=rhs(%):
plot([xLF, xHF, xRF, xMF], t=0..20);
d2 5 d
DE := 2 x( t ) x( t ) 100 x( t )100 sin( t )
dt 4 dt
4.2.2.3 Amplitude & Phase Shift Log Plots
Plot the log of the steady-state amplitude of an rad/s mass-spring-damper system with
to a driving force at m vs the log of frequency. Repeat for the phase vs. log of
frequency.
Solution:
restart;
w0:=10: x0:=1: zeta:=1/16:
A:=x0*w0^2/sqrt((w^2-w0^2)^2+(2*zeta*w0*w)^2);
phi:=-arctan((w^2-w0^2)/(2*zeta*w0*w))-Pi/2;
with(plots): #Includes the plots package in Maple, which is required for
advanced plotting like loglogplot() and semilogplot()
loglogplot(A, w=1..100, numpoints=1000); #loglogplot is log horizontal, log
vertical
semilogplot(phi*180/Pi, w=1..100); #semilogplot is log horizontal, linear
vertical
400
A :=
16 w 3175 w2160000
4
2
4 ( w 100 )
:= arctan
5w 2
4.2.3 Quality Factor
The amplitude amplification ratio at resonance compared to the DC response is also called the
However, this isn't the only definition of quality factor you'll find. In fact, quality factor has 3
commonly-used definitions:
1. Q is the amplitude amplification factor at resonance (i.e., steady-state amplitude at
resonance is Q multiplied by the amplitude the same excitation would produce at zero
frequency):
2. Q is 2* the ratio of the peak energy stored to the energy dissipated per cycle at
resonance:
3. Q is the ratio of the resonant frequency to the half-width (full width at half maximum) in
the power response vs. frequency graph (and power goes like the square of amplitude):
Let's explore these and see what these each say about the quality factor of our linear system, and
whether they're truly equivalent.
Definition 2:
We can find peak energy stored from at the max displacement of the spring, which is the
amplitude of the motion (we could also have used max kinetic energy by finding the velocity as
We have:
Therefore:
Definition 3:
Where is the full-width-at-half-maximum of the of the relative power response curve.
Where is the relative frequency and are two convenience variables we'll use
for this proof. Using our new convenience variables, the relative frequency at the half-width is:
For small damping:
and
so:
To rewrite the difference of slightly different terms it's a good time to use the binomial series
approximation: , i.e., :
Therefore,
Recall,
Wher
e .
Solution:
The transient response has the exponential decay term . This has an exponent of -1 when
Since , the system has much smaller b (i.e., less damping) than it would if
critically damped, so underdamped.
Note that for critically or overdamped systems it's hard to even see a resonance peak; critical
damping is at Q = ½ (meaning ). Since this peak is prominent we know immediately that
it's underdamped.
Note that when Q is low (2 or less) is no longer the frequency with the maximum amplitude.
(Code for this follows. Note that the gridlines might not work for all maple worksheet modes.)
restart;
w0:=10: x0:=1: #zeta:=1:
A:=zeta->x0*w0^2/sqrt((w^2-w0^2)^2+(2*zeta*w0*w)^2):
phi:=-arctan((w^2-w0^2)/(2*zeta*w0*w))-Pi/2:
with(plots):
plot(2*[A(1/16), A(1/8), A(1/4), A(1/2), A(1), A(2)], w=0.1..40,
numpoints=1000, labels=["omega", "Amplitude"], axis=[gridlines=[10,
color=blue]]);
4.2.4.1
To clarify the three frequencies of a mass-spring system with linear damping:
1. is the natural frequency. This is the frequency the system would respond
at if there was no damping. In that case, it's also the driving frequency that will make the
response grow to infinite amplitude over time.
Thus, the response at is indeed the largest amplitude (8.016) but is very similar to the
response at (8).
4.3 Resonance Summary
A mass m on a spring with constant k subject to linear damping has a DE of:
The relative size of the damping determines how the system responds:
1. Overdamping ( ):
a. When disturbed the system will slowly return to equilibrium.
b. No resonance in response to driving force.
2. Critical damping ( ):
a. When disturbed the system will return to equilibrium as fast as possible without
ever crossing the equilibrium point.
b. No resonance in response to driving force.
3. Underdamping ( ):
a. When disturbed the system will harmonically oscillate at its natural resonant
frequency, with an amplitude that decays exponentially in time.
b. If the driving force has the same frequency as the system's natural frequency, the
response amplitude can be larger than the driving force would produce at low
frequency: this causes the system to resonate in response to the driving force.
b. : 2* the peak energy stored over the energy dissipated per
cycle at resonance.