5.1 Overview of Vibrations
5.1 Overview of Vibrations
5.1 Overview of Vibrations
Vibrations
Generally, engineers try to avoid vibrations, because vibrations have a number of unpleasant effects:
• Cyclic motion implies cyclic forces. Cyclic forces are very damaging to materials.
• Even modest levels of vibration can cause extreme discomfort;
• Vibrations generally lead to a loss of precision in controlling machinery.
You can watch newsreel footage of the vibration and even the final collapse at
http://www.youtube.com/watch?v=HxTZ446tbzE To the credit of the designers, the bridge survived for an
amazingly long time before it finally failed. It is thought that the vibrations were a form of self-
excited vibration known as `flutter,’ or ‘galloping’ A similar form of vibration is known to occur
2
in aircraft wings. Interestingly, modern cable stayed bridges that also suffer from a new vibration problem:
the cables are very lightly damped and can vibrate badly in high winds (this is a resonance problem, not
flutter). You can find a detailed article on the subject at www.fhwa.dot.gov/bridge/pubs/05083/chap3.cfm.
Some bridge designs go as far as to incorporate active vibration suppression systems in their cables.
Precision Machinery: The picture on the right shows one example of a precision
instrument. It is essential to isolate electron microscopes from vibrations. A typical
transmission electron microscope is designed to resolve features of materials down to
atomic length scales. If the specimen vibrates by more than a few atomic spacings, it
will be impossible to see! This is one reason that electron microscopes are always
located in the basement – the basement of a building vibrates much less than the upper
floors. Professor K.-S. Kim at Brown recently invented and patented a new vibration
isolation system to support his atomic force microscope on the 7th floor of the Barus-
Holley building – you can find the patent at United States Patent, Patent Number 7,543,791.
When faced with a vibration problem, engineers generally start by making some
measurements to try to isolate the cause of the problem. There are two common
ways to measure vibrations:
Displacement transducers are generally preferable if you need to measure low frequency vibrations;
accelerometers behave better at high frequencies.
4
The FREQUENCY of the signal, f, is the number of cycles of oscillation per second. Cycles per
second is often given the name Hertz: thus, a signal which repeats 100 times per second is said to
oscillate at 100 Hertz.
1 2π
f = ω=
2π f =
T T
The PEAK-TO-PEAK AMPLITUDE of the signal, A, is the difference between its maximum
value and its minimum value, as shown in the picture
The AMPLITUDE of the signal is generally taken to mean half its peak to peak amplitude.
Engineers sometimes use amplitude as an abbreviation for peak to peak amplitude, however, so be
careful.
Harmonic oscillations are a particularly simple form of vibration response. A conservative spring-mass
system will exhibit harmonic motion – if you have Java, Internet Explorer (or a browser plugin that allows
you to run IE in another browser) you can run a Java Applet to visualize the motion. You can find
instructions for installing Java, the IE plugins, and giving permission for the Applet to run here. The
address for the SHM simulator (cut and paste this into the Internet Explorer address bar)
http://www.brown.edu/Departments/Engineering/Courses/En4/java/shm.html
If the spring is perturbed from its static equilibrium position, it vibrates (press `start’ to watch the vibration).
We will analyze the motion of the spring mass system soon. We will find that the displacement of the mass
from its static equilibrium position, x , has the form
∆X sin(ω t + φ )
x(t ) =
Here, ∆X is the amplitude of the displacement, ω is the frequency of oscillations in radians per second,
and φ (in radians) is known as the `phase’ of the vibration. Vibrations of this form are said to be
Harmonic.
Typical values for amplitude and frequency are listed in the table below
Here, ∆V is the amplitude of the velocity, and ∆A is the amplitude of the acceleration. Note the simple
relationships between acceleration, velocity and displacement amplitudes.
Surprisingly, many complex engineering systems behave just like the spring mass system we are looking at
here. To describe the behavior of the system, then, we need to know three things (in order of importance):
(1) The frequency (or period) of the vibrations
(2) The amplitude of the vibrations
(3) Occasionally, we might be interested in the phase, but this is rare.
So, our next problem is to find a way to calculate these three quantities for engineering systems.
We will do this in stages. First, we will analyze a number of freely vibrating, conservative systems.
Second, we will examine free vibrations in a dissipative system, to show the influence of energy losses in a
mechanical system. Finally, we will discuss the behavior of mechanical systems when they are subjected to
oscillating forces.
6
It turns out that all 1DOF, linear conservative systems behave in exactly the same way. By analyzing the
motion of one representative system, we can learn about all others.
We will follow standard procedure, and use a spring-mass system as our representative example.
Problem: The figure shows a spring mass system. The spring has
stiffness k and unstretched length L0 . The mass is released with velocity
v0 from position s0 at time t = 0 . Find s (t ) .
(i) Get a differential equation for s using F=ma (or other methods to be discussed)
(ii) Solve the differential equation.
Now, we need to solve this equation. We could, of course, use Matlab to do this – in fact here is the Matlab
solution.
syms m k L0 s0 v0 real
syms v(t) s(t)
assume(k>0); assume(m>0);
diffeq = m*diff(s(t),t,2) + k*s(t) == k*L0;
v(t) = diff(s(t),t);
IC = [s(0)==s0, v(0)==v0];
s(t) = dsolve(diffeq,IC)
7
In practice we usually don’t need to use matlab (and of course in exams you won’t have access to matlab!)
5.2.1 Using tabulated solutions to solve equations of motion for vibration problems
Note that all vibrations problems have similar equations of motion. Consequently, we can just
solve the equation once, record the solution, and use it to solve any vibration problem we might be
interested in. The procedure to solve any vibration problem is:
1. Derive the equation of motion, using Newton’s laws (or sometimes you can use energy
methods, as discussed in Section 5.3)
2. Do some algebra to arrange the equation of motion into a standard form
3. Look up the solution to this standard form in a table of solutions to vibration problems.
We have provided a table of standard solutions as a separate document that you can download and
print for future reference. Actually, this is exactly what MATLAB is doing when it solves a
differential equation for you – it is doing sophisticated pattern matching to look up the solution you
want in a massive internal database.
We therefore consult our list of solutions to differential equations, and observe that it gives the
solution to the following equation
1 d 2x
+x=C
ωn2 dt 2
This is very similar to our equation, but not quite the same. To make them identical, divide our
equation through by k
m d 2s
+s=L0
k dt 2
We see that if we define
8
m 1 k
= ⇒ ωn = x= s C = L0
k ωn 2 m
then our equation is equivalent to the standard one.
HEALTH WARNING: it is important to note that this substitution only works if L0 is constant, so its time
derivative is zero.
When we present the solution, we have a choice of writing down the solution for x, and giving formulas for
the various terms in the solution (this is what is usually done):
= x X 0 sin (ωn t + φ )
k 2 ( s − L )ω
ωn = X 0 = ( s0 − L0 ) + v02 / ωn2 φ = tan −1 0 0 n
m v0
Alternatively, we can express all the variables in the standard solution in terms of s
2 k ( s − L0 )ωn
s= L0 + ( s0 − L0 ) + v02 / ωn2 sin t + tan −1 0
m v0
But this solution looks very messy (more like the Matlab solution).
Observe that:
The mass oscillates harmonically, as discussed in the preceding section;
The angular frequency of oscillation, ωn , is a characteristic property of the system, and is
independent of the initial position or velocity of the mass. This is a very important observation, and
we will expand upon it below. The characteristic frequency is known as the natural frequency of
the system.
Increasing the stiffness of the spring increases the natural frequency of the system;
Increasing the mass reduces the natural frequency of the system.
We saw that the spring mass system described in the preceding section likes to vibrate at a characteristic
frequency, known as its natural frequency. This turns out to be a property of all stable mechanical
systems.
All stable, unforced, mechanical systems vibrate harmonically at certain discrete frequencies, known
as natural frequencies of the system.
9
A system with three masses would have three natural frequencies, and so on.
In general, a system with more than one natural frequency will not vibrate harmonically.
For example, suppose we start the two mass system vibrating, with initial conditions
o dx1
=x1 x=1 0
dt
t =0
o dx2
=x2 x= 2 0
dt
The response may be shown (see sect 5.5 if you want to know how) to be
= x1 A1 sin (ω1t + φ1 ) + A2 sin (ω2t + φ2 )
x2 A1 sin (ω1t + φ1 ) − A2 sin (ω2t + φ2 )
=
with
1 o o 1 o o
A1 = x1 + x2 A2 = x1 − x2
2 2
π π
=φ1 = φ2
2 2
In general, the vibration response will look complicated, and is not harmonic. The animation above shows a
typical example (if you are using the pdf version of these notes the animation will not work)
Similarly, if we choose
o o
x1 = X 0 x2 = − X 0
then
10
= x1 X 0 sin (ω2t + φ2 )
x2 =− X 0 sin (ω2t + φ2 )
i.e., the system vibrates harmonically, at the second natural frequency.
The natural frequencies are arguably the single most important property of any mechanical system.
This is because, as we shall see, the natural frequencies coincide (almost) with the system’s resonant
frequencies. That is to say, if you apply a time varying force to the system, and choose the frequency of
the force to be equal to one of the natural frequencies, you will observe very large amplitude vibrations.
When designing a structure or component, you generally want to control its natural vibration frequencies
very carefully. For example, if you wish to stop a system from vibrating, you need to make sure that all its
natural frequencies are much greater than the expected frequency of any forces that are likely to act on the
structure. If you are designing a vibration isolation platform, you generally want to make its natural
frequency much lower than the vibration frequency of the floor that it will stand on. Design codes usually
specify allowable ranges for natural frequencies of structures and components.
Once a prototype has been built, it is usual to measure the natural frequencies and mode shapes for a
system. This is done by attaching a number of accelerometers to the system, and then hitting it with a
hammer (this is usually a regular rubber tipped hammer, which might be instrumented to measure the
impulse exerted by the hammer during the impact). By trial and error, one can find a spot to hit the device
so as to excite each mode of vibration independent of any other. You can tell when you have found such a
spot, because the whole system vibrates harmonically. The natural frequency and mode shape of each
vibration mode is then determined from the accelerometer readings.
Impulse hammer tests can even be used on big structures like bridges or buildings – but you need a big
hammer. In a recent test on a new cable stayed bridge in France, the bridge was excited by first attaching a
barge to the center span with a high strength cable; then the cable was tightened to raise the barge part way
out of the water; then, finally, the cable was released rapidly to set the bridge vibrating.
5.2.4 Calculating the number of degrees of freedom (and natural frequencies) of a system
When you analyze the behavior a system, it is helpful to know ahead of time how many vibration
frequencies you will need to calculate. There are various ways to do this. Here are some rules that you can
apply:
The number of degrees of freedom is equal to the number of independent coordinates required to
describe the motion. This is only helpful if you can see by inspection how to describe your system. For
the spring-mass system in the preceding section, we know that the mass can only move in one direction, and
so specifying the length of the spring s will completely determine the motion of the system. The system
therefore has one degree of freedom, and one vibration frequency. Section 5.6 provides several more
examples where it is fairly obvious that the system has one degree of freedom.
11
For a 2D system, the number of degrees of freedom can be calculated from the equation
n =3r + 2 p − N c
where:
r is the number of rigid bodies in the system
p is the number of particles in the system
N c is the number of constraints (or, if you prefer, independent reaction forces) in the system.
To be able to apply this formula you need to know how many constraints appear in the problem.
Constraints are imposed by things like rigid links, or contacts with rigid walls, which force the system to
move in a particular way. The numbers of constraints associated with various types of 2D connections are
listed in the table below. Notice that the number of constraints is always equal to the number of reaction
forces you need to draw on an FBD to represent the joint
A
A
Roller joint
or (2)
1 constraint (prevents motion in A A
one direction)
A R(1/2)Ay
(1) R(1/2)Ay
RAy
No friction or slipping: 1 T
constraint (prevents
interpenetration)
A
Pinned joint (generally only A
applied to a rigid body, as it
would stop a particle moving
completely) R(1/2)Ax A (2)
RAx R(1/2)Ay
2 constraints (prevents motion RAy (1) R(1/2)Ay
horizontally and vertically) A R Ax
(1/2)
For a 3D system, the number of degrees of freedom can be calculated from the equation
n = 6r + 3 p − N c
where the symbols have the same meaning as for a 2D system. A table of various constraints for 3D
problems is given below.
Pinned joint
Roller bearing
Sleeve
Swivel joint
No friction or slipping: 1
constraint (prevents
interpenetration)
No friction or slipping: 3
constraints: prevents
interpenetration and rotation about
two axes.
TA2 NA TA1
Sticking: 6 constraints: prevents all MA3
relative motion and rotation.
MA3
NA TA1
TA2
In light of the discussion in the preceding section, we clearly need some way to calculate natural
frequencies for mechanical systems. We do not have time in this course to discuss more than the very
simplest mechanical systems. We will therefore show you some tricks for calculating natural frequencies of
1DOF, conservative, systems. It is best to do this by means of examples.
The potential energy and kinetic energy can be written down as:
2
1 2 1 ds
V= k ( s − L0 ) − mgs sin α T = m
2 2 dt
(The second term in V is the gravitational potential energy – it is negative because the height of the mass
decreases with increasing s). Now, note that since our system is conservative
15
T +V = constant
d
⇒ (T + V ) = 0
dt
Differentiate our expressions for T and V (use the chain rule) to see that
ds d 2 s ds ds
m + k ( s − L0 ) − mg sin α =
0
dt dt 2 dt dt
m d 2s mg
⇒ + s = L0 + sin α
k dt 2 k
Finally, we must turn this equation of motion into one of the standard solutions to vibration equations.
Our equation looks very similar to
1 d 2x
+x=C
ωn2 dt 2
By comparing this with our equation we see that the natural frequency of vibration is
2k
ωn = (rad/s)
3m
1 2k
= ( Hz )
2π 3m
(1) Describe the motion of the system, using a single scalar variable (In the example, we chose
to describe motion using the distance s);
(2) Write down the potential energy V and kinetic energy T of the system in terms of the scalar
variable;
d
(3) Use (T + V ) = 0 to get an equation of motion for your scalar variable;
dt
(4) Arrange the equation of motion in standard form;
(5) Read off the natural frequency by comparing your equation to the standard form.
We will illustrate the procedure with a second example, which will demonstrate
another useful trick.
Find the natural frequency of vibration for a pendulum, shown in the figure.
We will idealize the mass as a particle, to keep things simple.
(if you don’t see the formula for the kinetic energy, you can write down the position vector of the
dθ dθ
mass =as r L sin θ i − L cos θ j , differentiate to find the velocity:
= v L cos θ i + L sin θ j , and
dt dt
2
dθ
then compute T =m( v ⋅ v ) / 2 =mL2 2 2
(sin θ + cos θ ) and use a trig identity. You can also
dt
use the circular motion formulas, if you prefer).
(3) Differentiate with respect to time:
d 2θ dθ dθ
mL2 + mgL sin θ 0
=
2 dt dt
dt
L d 2θ
⇒ + sin θ =0
g dt 2
(4) Arrange the EOM into standard form. Houston, we have a problem. There is no way this equation
can be arranged into standard form. This is because the equation is nonlinear ( sin θ is a nonlinear function
of θ ). There is, however, a way to deal with this problem. We will show what needs to be done,
summarizing the general steps as we go along.
If the system is in static equilibrium, it does not move. We can find values of θ for which the
system is in static equilibrium by setting all time derivatives of θ in the equation of motion to zero,
and then solving the equation. Here,
sin θo =0 ⇒ θ0 = 0, π , 2π ...
Here, we have used θ0 to denote the special values of θ for which the system happens to be in
static equilibrium. Note that θ0 is always a constant.
(ii) Assume that the system vibrates with small amplitude about a static equilibrium
configuration of interest.
Here, x represents a small change in angle from an equilibrium configuration.. Note that x will vary
with time as the system vibrates. Instead of solving for θ , we will solve for x. Before going on,
make sure that you are comfortable with the physical significance of both x and θ0 .
(iii) Linearize the equation of motion, by expanding all nonlinear terms as Taylor Maclaurin
series about the equilibrium configuration.
L d 2x
+ sin(θ0 + x) =
0
g dt 2
(Recall that θ0 is constant, so its time derivatives vanish)
Now, recall the Taylor-Maclaurin series expansion of a function f(x) has the form
17
1 2
) f ( x0 ) + xf ′( x0 ) +
f ( x0 + x= x f ′′( x0 ) + ...
2
where
df d2 f
f ′( x0 ) ≡ f ′′( x0 ) ≡
dx x = x
0
dx 2 x = x
0
Apply this to the nonlinear term in our equation of motion
1 2
sin (θ0 + x=
) sin θ0 + x cosθ0 − x sin θ0 + ...
2
Now, since x<<1, we can assume that x n << x , and so
sin (θ0 + x ) ≈ sin θ0 + x cos θ0
Finally, we can substitute back into our equation of motion, to obtain
L d 2x
+ cos θ0 x =
− sin θ0
g dt 2
(iv) Compare the linear equation with the standard form to deduce the natural frequency.
Thus, except for some rather special initial conditions, x increases without bound
as time increases. This is a characteristic of an unstable mechanical system.
Here is a question to think about. Our solution predicts that both x and dx/dt
become infinitely large. We know that a real pendulum would never rotate with
infinite angular velocity. What has gone wrong?
Example 3: We will look at one more nonlinear system, to make sure that
you are comfortable with this procedure. Calculate the resonant frequency
of small oscillations about the equilibrium configuration θ = 0 for the
system shown. The spring has stiffness k and unstretched length L0 .
3k mg
ωn
= 1 − (rad/sec)
m 2kL
1 3k mg
=fn 1 − (Hz)
2π m 2kL
Question: what happens for mg > 2kL ?
Example 3: A system with a rigid body (the KE of a rigid body will be defined in the next section of
the course – just live with it for now!).
The kinetic energy is slightly more tricky. Note that the magnitude of the angular velocity of the disk is
related to the magnitude of its translational velocity by
ds
Rω =
dt
Thus, the combined rotational and translational kinetic energy follows as
2
1 mR 2 2 1 ds
=T ω + m
2 2 2 dt
2
1 3m ds
=
2 2 dt
The last equation is almost in one of the standard forms given on the handout, except that the right hand
side is not zero. There is a trick to dealing with this problem – simply subtract the constant right hand side
from s, and call the result x. (This only works if the right hand side is a constant, of course). Thus let
mg
x =s − L0 − sin α
k
and substitute into the equation of motion:
3m d 2 x mg mg
+ x + L0 + sin α = L0 + sin α
2k dt 2 k k
3m d 2 x
⇒ +x=0
2k dt 2
This is now in the form
1 d 2x
+x=0
ωn2 dt 2
and by comparing this with our equation we see that the natural frequency of vibration is
2k
ωn = (rad/s)
3m
1 2k
= ( Hz )
2π 3m
5.3 Free vibration of a damped, single degree of freedom, linear spring mass
system.
We analyzed vibration of several conservative systems in the preceding section. In each case, we found that
if the system was set in motion, it continued to move indefinitely. This is counter to our everyday
experience. Usually, if you start something vibrating, it will vibrate with a progressively decreasing
amplitude and eventually stop moving.
The reason our simple models predict the wrong behavior is that we neglected energy dissipation. In this
section, we explore the influence of energy dissipation on free vibration of a spring-mass system. As
before, although we model a very simple system, the behavior we predict turns out to be representative of a
wide range of real engineering systems.
The spring mass dashpot system shown is released with velocity u0 from position s0 at time t = 0 . Find
s (t ) .
c
Once again, we follow the standard approach to solving problems like this m
(i) Get a differential equation for s using F=ma
(ii) Solve the differential equation.
k,L0
s(t)
21
You may have forgotten what a dashpot (or damper) does. Suppose we apply a force F to a dashpot, as
shown in the figure. We would observe that the dashpot stretched at a rate proportional to the force
dL
F =c
dt
One can buy dampers (the shock absorbers in your car contain
dampers): a damper generally consists of a plunger inside an oil filled F c F
cylinder, which dissipates energy by churning the oil. Thus, it is
possible to make a spring-mass-damper system that looks very much
like the one in the picture. More generally, however, the spring mass L
system is used to represent a complex mechanical system. In this
case, the damper represents the combined effects of all the various mechanisms for dissipating energy in the
system, including friction, air resistance, deformation losses, and so on.
To proceed, we draw a free body diagram, showing the forces exerted by the spring
and damper on the mass. c ds m
dt
Newton’s law then states that
ds d 2s
k ( s − L0 ) + c = ma = m k(s-L0)
dt dt 2
m d 2 s c ds
⇒ + +s =L0
k dt 2 k dt
This is our equation of motion for s.
Now, we check our list of solutions to differential equations, and see that we have a solution to:
1 d 2 x 2ς dx
+ +x= C
ωn2 dt 2 ωn dt
We can get our equation into this form by setting
k c
= s x= ωn =ς =C L0
m 2 km
As before, ωn is known as the natural frequency of the system. We have discovered a new parameter, ς ,
which is called the damping coefficient. It plays a very important role, as we shall see below.
In all the preceding equations, x0 , v0 are the values of x and its time derivative at time t=0.
These expressions are rather too complicated to visualize what the system is doing for any given set of
parameters. – if you have Java, Internet Explorer (or a browser plugin that allows you to run IE in another
browser) you can run a Java Applet to visualize the motion. You can find instructions for installing Java,
the IE plugins, and giving permission for the Applet to run here. The address for the free vibration
simulator (cut and paste this into the Internet Explorer address bar) is
http://www.brown.edu/Departments/Engineering/Courses/En4/java/free.html
You can use the sliders to set the values of either m, k, and c (in this case the program will calculate the
values of ς and ωn for you, and display the results), or alternatively, you can set the values of ς and ωn
directly. You can also choose values for the initial conditions x0 and v0 . When you press `start,’ the
applet will animate the behavior of the system, and will draw a graph of the position of the mass as a
function of time. You can also choose to display the phase plane, which shows the velocity of the mass as a
function of its position, if you wish. You can stop the animation at any time, change the parameters, and
plot a new graph on top of the first to see what has changed. If you press `reset’, all your graphs will be
cleared, and you can start again.
Try the following tests to familiarize yourself with the behavior of the system
Set the dashpot coefficient c to a low value, so that the damping coefficient ς < 1 . Make sure the
graph is set to display position versus time, and press `start.’ You should see the system vibrate.
The vibration looks very similar to the behavior of the conservative system we analyzed in the
preceding section, except that the amplitude decays with time. Note that the system vibrates at a
frequency very slightly lower than the natural frequency of the system.
Keeping the value of c fixed, vary the values of spring constant and mass to see what happens to
the frequency of vibration and also to the rate of decay of vibration. Is the behavior consistent with
the solutions given above?
Keep the values of k and m fixed, and vary c . You should see that, as you increase c , the
vibration dies away more and more quickly. What happens to the frequency of oscillations as c is
increased? Is this behavior consistent with the predictions of the theory?
Now, set the damping coefficient (not the dashpot coefficient this time) to ς = 1 . For this value,
the system no longer vibrates; instead, the mass smoothly returns to its equilibrium position x=0. If
you need to design a system that returns to its equilibrium position in the shortest possible time,
then it is customary to select system parameters so that ς = 1 . A system of this kind is said to be
critically damped.
Set ς to a value greater than 1. Under these conditions, the system decays more slowly towards its
equilibrium configuration.
Keeping ς >1, experiment with the effects of changing the stiffness of the spring and the value of
the mass. Can you explain what is happening mathematically, using the equations of motion and
their solution?
Finally, you might like to look at the behavior of the system on its phase plane. In this course, we
will not make much use of the phase plane, but it is a powerful tool for visualizing the behavior of
23
nonlinear systems. By looking at the patterns traced by the system on the phase plane, you can
often work out what it is doing. For example, if the trajectory encircles the origin, then the system
is vibrating. If the trajectory approaches the origin, the system is decaying to its equilibrium
configuration.
We now know the effects of energy dissipation on a vibrating system. One important conclusion is that if
the energy dissipation is low, the system will vibrate. Furthermore, the frequency of vibration is very close
to that of an undamped system. Consequently, if you want to predict the frequency of vibration of a system,
you can simplify the calculation by neglecting damping.
We will describe one very important application of the results developed in the preceding section.
It often happens that we need to measure the dynamical properties of an engineering system. For example,
we might want to measure the natural frequency and damping coefficient for a structure after it has been
built, to make sure that design predictions were correct, and to use in future models of the system.
You can use the free vibration response to do this, as follows. First, you instrument your design by attaching
accelerometers to appropriate points. You then use an impulse hammer to excite a particular mode of
vibration, as discussed in Section 5.1.3. You use your accelerometer readings to determine the
displacement at the point where the structure was excited: the results will be a graph similar to the one
shown below.
We then identify a nice looking peak, and call the time there t0 , as shown.
1. The period of oscillation. The period of oscillation was defined in Section 5.1.2: it is the time
between two peaks, as shown. Since the signal is (supposedly) periodic, it is often best to estimate T as
follows
t −t
T= n 0
n
where tn is the time at which the nth peak occurs, as shown in the picture.
24
Now, it turns out that we can deduce ωn and ς from T and δ , as follows.
δ 4π 2 + δ 2
=ς = ωn
4π 2 + δ 2 T
Why does this work? Let us calculate T and δ using the exact solution to the equation of motion for a
damped spring-mass system. Recall that, for an underdamped system, the solution has the form
v + ςωn xn
exp(−ςωn t ) x0 cos ωd t + 0
x(t ) = sin ωd t
ωd
ωd ωn 1 − ς 2 . Hence, the period of oscillation is
where=
2π 2π
=T =
ωd ω 1 − ς 2
n
Similarly,
v + ςωn xn
exp(−ςωn tn ) x0 cos ωd tn + 0 sin ωd tn
v0
d = log
v + ςωn xn
exp(−ςωn (tn + T )) x0 cos ωd (tn + T ) + 0 sin ωd (tn + T )
v0
where we have noted that tn+1= tn + T .
Fortunately, this horrendous equation can be simplified greatly: substitute for T in terms of ωn and
ς , then cancel everything you possibly can to see that
2πς
δ=
1−ς 2
Note that this procedure can never give us values for k, m or c . However, if we wanted to find
these, we could perform a static test on the structure. If we measure the deflection d under a static
load F, then we know that
F
k=
d
Once k had been found, m and c are easily deduced from the relations
k c
=ωn = ς
m 2 km
5.4 Forced vibration of damped, single degree of freedom, linear spring mass
systems.
Finally, we solve the most important vibration problems of all. In engineering practice, we are almost
invariably interested in predicting the response of a structure or mechanical system to external forcing. For
example, we may need to predict the response of a bridge or tall building to wind loading, earthquakes, or
ground vibrations due to traffic. Another typical problem you are likely to encounter is to isolate a sensitive
system from vibrations. For example, the suspension of your car is
designed to isolate a sensitive system (you) from bumps in the road. External Force
Electron microscopes are another example of sensitive instruments
that must be isolated from vibrations. Electron microscopes are c
designed to resolve features a few nanometers in size. If the specimen m F(t)
vibrates with amplitude of only a few nanometers, it will be
impossible to see! Great care is taken to isolate this kind of instrument
from vibrations. That is one reason they are almost always in the k,L0
basement of a building: the basement vibrates much less than the
floors above. s(t)
We will again use a spring-mass system as a model of a real Base Excitation
engineering system. As before, the spring-mass system can be thought
of as representing a single mode of vibration in a real system, whose y(t)
natural frequency and damping coefficient coincide with that of our c
spring-mass system.
m
We will consider three types of forcing applied to the spring-mass
system, as shown below: k,L0
External Forcing models the behavior of a system which has a time
varying force acting on it. An example might be an offshore structure s(t)
subjected to wave loading. Rotor Excitation
Base Excitation models the behavior of a vibration isolation system. c Y0
The base of the spring is given a prescribed motion, causing the mass m
to vibrate. This system can be used to model a vehicle suspension
m0
system, or the earthquake response of a structure.
k,L0
ω
Rotor Excitation models the effect of a rotating machine mounted on y(t)=Y0 sinω t
a flexible floor. The crank with length Y0 and mass m0 rotates at s(t)
constant angular velocity, causing the mass m to vibrate.
26
Of course, vibrating systems can be excited in other ways as well, but the equations of motion will always
reduce to one of the three cases we consider here.
Notice that in each case, we will restrict our analysis to harmonic excitation. For example, the external
force applied to the first system is given by
F (t ) = F0 sin ω t
The force varies harmonically, with amplitude F0 and frequency ω . Similarly, the base motion for the
second system is
y (t ) = Y0 sin ω t
and the distance between the small mass m0 and the large mass m for the third system has the same form.
We assume that at time t=0, the initial position and velocity of each system is
dx
= x x= 0 v0
dt
In each case, we wish to calculate the displacement of the mass x from its static equilibrium configuration,
as a function of time t. It is of particular interest to determine the influence of forcing amplitude and
frequency on the motion of the mass.
We follow the same approach to analyze each system: we set up, and solve the equation of motion.
The (horrible) solution to this equation is given in the list of solutions. We will discuss the solution later,
after we have analyzed the other two systems.
Exactly the same approach works for this system. The free body diagram is shown
in the figure. Note that the force in the spring is now k(x-y) because the length of c d(s-y) m
the spring is L0 + x − y . Similarly, the rate of change of length of the dashpot is dt
d(x-y)/dt.
k(s-y-L0)
Newton’s second law then tells us that
d 2s ds dy
m =− k ( s − y − L0 ) − c −
2 dt dt
dt
m d 2 s c ds c dy
⇒ + + s = L0 + y +
k dt 2 k dt k dt
Make the following substitutions
k c
= ωn = , ς =, K 1
m 2 km
and the equation reduces to the standard form
1 d 2x 2ς dx 2ς dy
+ + x= C+Ky+
ωn2 dt 2 ωn dt ωn dt
Given the initial conditions
dx
=x x=
0 v0
dt
and the base motion
y (t ) = Y0 sin ω t
we can look up the solution in our handy list of solutions to ODEs.
Finally, we will derive the equation of motion for the third case. Free s(t)
body diagrams are shown in the figure for both the rotor and the mass c d(s-y)
dt V
Note that the horizontal acceleration of the mass m0 is
m H
d2 d 2s d2y
a= ( s + y )= +
dt 2 dt 2 dt 2 k(s-L0) Q
Hence, applying Newton’s second law in the horizontal direction
for both masses: Q
R1 R2 m0
H
V
28
d 2s ds
m =H − k ( s − L0 ) − c
2 dt
dt
d 2s d 2 y
m0 + = −H
dt 2 dt 2
Add these two equations to eliminate H and rearrange
m + m0 d 2 s c ds m d2y
+ + s = L0 − 0
k dt 2 k dt k dt 2
To arrange this into standard form, make the following substitutions
k c m0
= ωn = ς = K
(m + m0 ) 2 k (m + m0 ) m + m0
whereupon the equation of motion reduces to
1 d 2s 2ς ds K d2y
+ + s = L0 −
ωn2 dt 2 ωn dt ωn2 dt 2
Finally, look at the picture to convince yourself that if the crank rotates with
angular velocity ω , then
y (t ) = Y0 sin ω t
where Y0 is the length of the crank.
The solution can once again be found in the list of solutions to ODEs.
If you have looked at the list of solutions to the equations of motion we derived in the preceding section,
you will have discovered that they look horrible. Unless you have a great deal of experience with
visualizing equations, it is extremely difficult to work out what the equations are telling us.
If you have Java, Internet Explorer (or a browser plugin that allows you to run IE in another browser) you
can run a Java Applet to visualize the motion. You can find instructions for installing Java, the IE plugins,
and giving permission for the Applet to run here. The address for the free vibration simulator (cut and paste
this into the Internet Explorer address bar) is
http://www.brown.edu/Departments/Engineering/Courses/En4/java/forced.html
The applet simply calculates the solution to the equations of motion using the formulae given in the list of
solutions, and plots graphs showing features of the motion. You can use the sliders to set various
parameters in the system, including the type of forcing, its amplitude and frequency; spring constant,
damping coefficient and mass; as well as the position and velocity of the mass at time t=0. Note that you
can control the properties of the spring-mass system in two ways: you can either set values for k, m and c
using the sliders, or you can set ωn , K and ς instead.
We will use the applet to demonstrate a number of important features of forced vibrations, including the
following:
The steady state response of a forced, damped, spring mass system is independent of the initial
conditions.
29
To convince yourself of this, run the applet (click on `start’ and let the system run for a while). Now, press
`stop’; change the initial position of the mass, and press `start’ again.
You will see that, after a while, the solution with the new initial conditions is exactly the same as it was
before. Change the type of forcing, and repeat this test. You can change the initial velocity too, if you
wish.
We call the behavior of the system as time gets very large the `steady state’ response; and as you see, it is
independent of the initial position and velocity of the mass.
The behavior of the system while it is approaching the steady state is called the `transient’ response. The
transient response depends on everything…
Now, reduce the damping coefficient and repeat the test. You will find that the system takes longer to reach
steady state. Thus, the length of time to reach steady state depends on the properties of the system (and also
the initial conditions).
The observation that the system always settles to a steady state has two important consequences. Firstly, we
rarely know the initial conditions for a real engineering system (who knows what the position and velocity
of a bridge is at time t=0?) . Now we know this doesn’t matter – the response is not sensitive to the initial
conditions. Secondly, if we aren’t interested in the transient response, it turns out we can greatly simplify
the horrible solutions to our equations of motion.
When analyzing forced vibrations, we (almost) always neglect the transient response of the system,
and calculate only the steady state behavior.
If you look at the solutions to the equations of motion we calculated in the preceding sections, you will see
that each solution has the form
=x(t ) xh (t ) + x p (t )
The term xh (t ) accounts for the transient response, and is always zero for large time. The second term
gives the steady state response of the system.
Following standard convention, we will list only the steady state solutions below. You should bear in mind,
however, that the steady state is only part of the solution, and is only valid if the time is large enough that
the transient term can be neglected.
This section summarizes all the formulas you will need to solve problems
involving forced vibrations. External Force
Solution for External Forcing c
Equation of Motion m F(t)
1 d 2s 2ς ds
+ + s = C + KF (t ) k,L0
ωn2 dt 2 ωn dt
with
s(t)
30
k c 1
ωn
= , ς
= ,
= K = C L0
m 2 km k
Steady State Solution:
C + X 0 sin (ω t + φ )
s (t ) = KF0 M (ω / ωn , ζ )
X0 =
1 −2ςω / ωn
M (ω / ωn , ζ ) = φ tan −1
1/2
1 − ω 2 / ωn2
(
2 2 2
)
1 − ω / ωn + ( 2ςω / ωn )
2
Here, the function M is called the ‘magnification’ for the system. M and φ are graphed below, as a
function of ω / ωn
(a) (b)
Steady state vibration of a force spring-mass system (a) Magnification (b) phase.
φ tan −1
−2ςω 3 / ωn3
1/2
1 − (1 − 4ς 2 )ω 2 / ωn2
( 2 2 2
) 2
1 − ω / ωn + ( 2ςω / ωn )
The expressions for M and φ are graphed below, as a function of ω / ωn
31
(a) (b)
Steady state vibration of a base excited spring—mass system (a) Amplitude and (b) phase
Steady state vibration of a rotor excited spring—mass system (a) Amplitude (b) Phase
5.4.4 Features of the Steady State Response of Spring Mass Systems to Forced Vibrations.
Now, we will discuss the implications of the results in the preceding section.
The steady state response is always harmonic, and has the same frequency as that of the forcing.
To see this mathematically, note that in each case the solution has the form
= x(t ) X 0 sin(ω t + φ ) .
Recall that ω defines the frequency of the force, the frequency of base excitation, or the rotor
angular velocity. Thus, the frequency of vibration is determined by the forcing, not by the
properties of the spring-mass system. This is unlike the free vibration response.
You can also check this out using our applet. To switch off the transient solution, click on the
checkbox labeled `show transient’. Then, try running the applet with different values for k, m and
c , as well as different forcing frequencies, to see what happens. As long as you have switched off
the transient solution, the response will always be harmonic.
The amplitude of vibration is strongly dependent on the frequency of excitation, and on the properties
of the spring—mass system.
To see this mathematically, note that the solution has the form
= x(t ) X 0 sin(ω t + φ ) . Observe that
X 0 is the amplitude of vibration, and look at the preceding section to find out how the amplitude of
vibration varies with frequency, the natural frequency of the system, the damping factor, and the
amplitude of the forcing. The formulae for X 0 are quite complicated, but you will learn a great
deal if you are able to sketch graphs of X 0 as a function of ω / ωn for various values of ς .
You can also use our applet to study the influence of forcing frequency, the natural frequency of the
system, and the damping coefficient. If you plot position-v-time curves, make sure you switch off
the transient solution to show clearly the steady state behavior. Note also that if you click on the
`amplitude –v- frequency’ radio button just below the graphs, you will see a graph showing the
steady state amplitude of vibration as a function of forcing frequency. The current frequency of
excitation is marked as a square dot on the curve (if you don’t see the square dot, it means the
33
frequency of excitation is too high to fit on the scale – if you lower the excitation frequency and
press `start’ again you should see the dot appear). You can change the properties of the spring mass
system (or the natural frequency and damping coefficient) and draw new amplitude-v-frequency
curves to see how the response of the system has changed.
(i) Keeping the natural frequency fixed (or k and m fixed), plot ampltude-v-frequency graphs for
various values of damping coefficient (or the dashpot coefficient). What happens to the maximum
amplitude of vibration as damping is reduced?
(ii) Keep the damping coefficient fixed at around 0.1. Plot graphs of amplitude-v-frequency for
various values of the natural frequency of the system. How does the maximum vibration amplitude
change as natural frequency is varied? What about the frequency at which the maximum occurs?
(iii) Keep the dashpot coefficient fixed at a lowish value. Plot graphs of amplitude-v-frequency for
various values of spring stiffness and mass. Can you reconcile the behavior you observe with the
results of test (ii)?
(iv) Try changing the type of forcing to base excitation and rotor excitation. Can you see any
differences in the amplitude-v-frequency curves for different types of forcing?
(v) Set the damping coefficient to a low value (below 0.1). Keep the natural frequency fixed. Run
the program for different excitation frequencies. Watch what the system is doing. Observe the
behavior when the excitation frequency coincides with the natural frequency of the system. Try this
test for each type of excitation.
If the forcing frequency is close to the natural frequency of the system, and the system is
lightly damped, huge vibration amplitudes may occur. This phenomenon is known as
resonance.
If you ran the tests in the preceding section, you will have seen the system resonate. Note
that the system resonates at a very similar frequency for each type of forcing.
As a general rule, engineers try to avoid resonance like the plague. Resonance is bad vibrations.
Large amplitude vibrations imply large forces; and large forces cause material failure. There are
exceptions to this rule, of course. Musical instruments, for example, are supposed to resonate, so as
to amplify sound. Musicians who play string, wind and brass instruments spend years training their
lips or bowing arm to excite just the right vibration modes in their instruments to make them sound
perfect. Resonance is a good thing in energy harvesting systems, and many instruments, such as
MEMS gyroscopes, and atomic force microscopes, work by measuring how an external stimulus of
some sort (rotation, or a surface force) changes the resonant frequency of a system.
There is a phase lag between the forcing and the system response, which depends on the frequency of
excitation and the properties of the spring-mass system.
The response of the system= is x(t ) X 0 sin(ω t + φ ) . Expressions for φ are given in the preceding
section. Note that the phase lag is always negative.
34
You can use the applet to examine the physical significance of the phase lag. Note that you can
have the program plot a graph of phase-v-frequency for you, if you wish.
It is rather unusual to be particularly interested in the phase of the vibration, so we will not discuss
it in detail here.
The solutions listed in the preceding sections give us general guidelines for engineering a system to avoid
(or create!) vibrations.
k c 1
=ωn = , ς = , K
m 2 km k
To minimize vibrations, we must design the system
to make the vibration amplitude X 0 as small as possible. The formula for X 0 is a bit scary, which is why
we plot graphs of the solution. The graphs show that we will observe vibrations with large amplitudes if (i)
The frequency ω / ωn is close to 1; and (ii) the damping ζ is small. At first sight, it looks like we could
minimize vibrations by making ω / ωn very large. This is true in principle, and can be done in some
designs, e.g. if the force acts on a very localized area of the structure, and will only excite a single vibration
mode. For most systems, this approach will not work, however. This is because real components generally
have a very large number of natural frequencies of vibration, corresponding to different vibration modes.
We could design the system so that ω / ωn is large for the mode with the lowest frequency – and perhaps
some others – but there will always be other modes with higher frequencies, which will have smaller values
of ω / ωn . There is a risk that one of these will be close to resonance. Consequently, we generally design
the system so that ω / ωn << 1 for the mode with the lowest natural frequency. In fact, design codes usually
35
specify the minimum allowable value of ω / ωn for vibration critical components. This will guarantee that
ω / ωn << 1 for all modes, and hence the vibration amplitude X 0 → KF0 = F0 / k . This tells us that the best
approach to avoid vibrations is to make the structure as stiff as possible. This will make the natural
frequency large, and will also make F0 / k small.
X0 =
{
KY0 1 + ( 2ςω / ωn ) }
2 1/2
s(t)
1/2
( 2 2 2
) 2
1 − ω / ωn + ( 2ςω / ωn )
−2ςω 3 / ωn3
φ = tan −1
1 − (1 − 4ς 2 )ω 2 / ωn2
k c
=ωn = , ς = , K 1
m 2 km
Again, the graph is helpful to understand how the
vibration amplitude X 0 varies with system
parameters.
Suspension design involves a bit more than simply minimizing the vibration of the mass, of course – the car
will handle poorly if the wheels begin to leave the ground. A very soft suspension generally has poor
handling, so the engineers must trade off handling against vibration isolation.
36
We often measure the natural frequency and damping coefficient for a mode of vibration in a structure or
component, by measuring the forced vibration response of the system.
Here is how this is done. We find some way to apply a harmonic excitation to the system (base excitation
might work; or you can apply a force using some kind of actuator, or you could deliberately mount an
unbalanced rotor on the system).
It turns out that we can estimate the natural frequency of the system and its damping coefficient using the
following formulae
∆ω
ς≈ ωn ≈ ωmax
2ωmax
The formulae are accurate for small ς - say ς < 0.2 .
To understand the origin of these formulae, recall that the amplitude of vibration due to external forcing is
given by
KF0
X0 =
(1 − ω 2 / ωn2 )
2 2
+ ( 2ςω / ωn )
We can find the frequency at which the amplitude is a maximum by differentiating with respect to ω ,
setting the derivative equal to zero and solving the resulting equation for frequency. It turns out that the
maximum amplitude occurs at a frequency
2
ω=
max ωn 1 − 2ς
For small ς , we see that
ωmax ≈ ωn
Next, to get an expression relating the bandwidth ∆ω to ς , we first calculate the frequencies ω1 and ω2 .
Note that the maximum amplitude of vibration can be calculated by setting ω = ωmax , which gives
37
KF0
X max =
2ς 1 − ς 2
Now, at the two frequencies of interest, we know X 0 = X max / 2 , so that ω1 and ω2 must be solutions of
the equation
KF0 1 KF0
=
2ς 1 − ς 2 2
( )
2 2
1 − ω 2 / ωn2 + ( 2ςωωn )
Rearrange this equation to see that
ω 4 − 2ω 2ωn2 (1 − 2ς 2 ) + ωn4 − 8ς 2ωn4 (1 − ς 2 ) =
0
This is a quadratic equation for ω 2 and has solutions
{ }
1/2
ω1 = ωn2 (1 − 2ς 2 ) − 2ωn2ς 1 − ς 2
= {ω (1 − 2ς ) + 2ω ς 1 − ς }
1/2
2 2 2 2
ω2 n n
Example 2: A car and its suspension system are idealized as a damped spring—mass system, with natural
frequency 0.5Hz and damping coefficient 0.2. Suppose the car drives at speed V over a road with sinusoidal
roughness. Assume the roughness wavelength is 10m, and its amplitude is 20cm. At what speed does the
maximum amplitude of vibration occur, and what is the corresponding vibration amplitude?
V
s m
c k,L0
H=20cm
s(t)
L=1m
Let s denote the distance traveled by the car, and let L denote the wavelength of the roughness and H the
roughness amplitude. Then, the height of the wheel above the mean road height may be expressed as
2π s
y = H sin
L
Noting that s = Vt , we have that
2π V
y (t ) = H sin t
L
i.e., the wheel oscillates vertically with harmonic motion, at frequency ω = 2π V / L .
Now, the suspension has been idealized as a spring—mass system subjected to base excitation. The steady
state vibration is
x(t ) = X 0 sin (ω t + φ ) X 0 = KY0 M
M
{1 + ( 2ςω / ω ) }
= φ
n
2 1/2
tan −1
−2ςω 3 / ωn3
1/2
1 − (1 − 4ς 2 )ω 2 / ωn2
(
2
)
2 2
1 − ω / ωn + ( 2ςω / ωn )
2
For light damping, the maximum amplitude of vibration occurs at around the natural frequency. Therefore,
the critical speed follows from
2π V
= ω = ωn
L
⇒ V ωn L=
= / 2π 5m/s=18 km/hr
Note that K=1 for base excitation, so that the amplitude of vibration at ω / ωn = 1 is approximately
Y0
X0 ≈ = 20 / 0.4
= 50cm
2ς
Note that at this speed, the suspension system is making the vibration worse. The amplitude of the car’s
vibration is greater than the roughness of the road. Suspensions work best if they are excited at frequencies
well above their resonant frequencies.
39
Example 3: The suspension system discussed in the preceding problem has the following specifications.
For the roadway described in the preceding section, the amplitude of vibration may not exceed 35cm at any
speed. At 55 miles per hour, the amplitude of vibration must be less than 10cm. The car weighs 3000lb.
Select values for the spring stiffness and the dashpot coefficient.
If you prefer not to use the graph, you can use the approximation M max ≈ 1 / (2ζ ) which suggests that
ζ > 1 / (2 × 1.75) which gives ζ ≈ 0.3 - but the approximation is not very accurate for such large values
of ζ (to get a better estimate you’d have to maximize the formula for magnification with respect to ω
but that’s very messy).
Again, if you prefer not to use the graph, you can also solve
=M
{1 + ( 2ςω / ωn ) }
2 1/2
<
1
1/2 2
( 2
)
2 2
1 − ω / ωn + ( 2ςω / ωn )
2
for ω / ωn , but this is a pain, and the graph is accurate enough for a design estimate.
Finally, we can compute properties of the system. We have that
k k
ωn= ⇒ 7.7= ⇒ k= 78 kN/m
m 0.44 × 3000
Similarly
λ
ς= ⇒ λ =2 × 0.4 × 78000 × .44 × 3000 =8kNs/m
2 mk
40
x(0) = A1 + A2 + C = x0 ⇒ A1 + A2 = x0 − C
dx
= iωn ( A1 − A2 ) = v0 ⇒ A1 − A2 = −iv0 / ωn
dt t =0
Add and subtract these two equations to see that
1 v0 1 v0
A
=1 ( x0 − C ) − i A=2 ( x0 − C ) + i
2 ωn 2 ωn
We can use Euler’s formula to re-write this as
i i
A1 = − X 0 eiφ A2 = X 0 e −iφ
2 2
2 x0 − C v0 / ωn
X 0 = ( x0 − C ) + v02 / ωn2 sin φ = cos φ =
( x0 − C )2 + v02 / ωn2 ( x0 − C )2 + v02 / ωn2
(to see this just substitute X 0 ,φ into the formulas and use Euler’s formula to show A1 , A2 are correct).
Finally substitute A1 , A2 into the general solution for x to see that
x=
i i
C − X 0 eiφ eiωnt + X 0e −iφ e −iωnt =
2 2
i
( )
C − X 0 ei (ωnt +φ ) − e −i (ωnt +φ )
2
= C + X 0 sin(ωn t + φ )
This agrees with the answer on the formula sheet.
1 d 2x 2ς dx
Solve + +x=C with initial conditions
= dx / dt v=
x x0 = 0 t 0
ωn2 dt 2 ωn dt
As before we guess a solution x= C + Aeλt where A and λ are two complex numbers to be determined.
Substituting into the equation:
λ 2 2ςλ λt
2+ + 1 Ae = 0
ω ω n
n
This gives a quadratic equation for λ (it is called the ‘characteristic equation’ for the differential equation).
It has solutions
−ζωn ωn ζ 2 − 1
λ=
Depending on the value of ζ we find
• ζ > 1 (overdamped) – two real values of λ λ =−ζωn ± ωd
• ζ = 1 (critical damping): λ = −ωn
• ζ < 1 (underdamped) – two complex values of λ λ =−ζωn ± iωd
Critically damped solution: our guess for the critically damped solution gives only x= C + A1e −ζωnt which
cannot satisfy the initial conditions on both x and dx/dt, so the solution is incomplete. We have to look
around for another solution – it turns out that
x= C + A1e −ωnt + A2te −ωnt
will also satisfy the differential equation (this is a standard trick in situations where the characteristic
equation has repeated roots). We can solve for A1 , A2 using the initial conditions:
x(0) =C + A1 =x0
dx
= −ωn A1 + A2 = v0
dt t =0
It follows that A1 =−
x0 C A2 = v0 + ωn ( x0 − C ) so the solution is
x(t ) =C + {( x0 − C ) + [ v0 + ωn ( x0 − C ) ] t} exp(−ωnt )
x(t ) =
1
( )
C + exp(−ςωn t ) ( x0 − C ) eiωd t + e −iωd t − 0
2 ωd 2
(
v + ςωn ( x0 − C ) i iωd t
e )
− e−iωd t
Finally we recognize the combinations of complex exponentials as trig functions, giving
v + ςωn ( x0 − C )
x(t ) =C + exp(−ςωn t ) ( x0 − C ) cos ωd t + 0 sin ωd t
ωd
43
Solution to the equation of motion for a system subjected to harmonic external force
1 d 2 x 2ς dx
Solve + + x = C + KF0 sin ωt with initial conditions
= x x0 =dx / dt v=
0 t 0
ωn2 dt 2 ωn dt
It is helpful to replace the trig function with its equivalent representation in terms of complex
exponentials
1 d 2 x 2ς dx
2
ωn dt 2
+
ωn dt
i
+ x = C − KF0 eiωt − e −iωt
2
( )
We guess a solution of the form
=x(t ) x p (t ) + xh (t )
x p (t ) =
i
2
(
− B1eiωt − B2 e −iωt xh = )
C + Aeλt
where B1 , B2 , A, λ are complex numbers to be determined. Substituting into the ODE:
λ 2 2ςλ λt i ω 2 2ςω iωt ω 2 2ςω
2+
ω
+ 1 Ae − 1 −
+ i B1e − 1 −
2 ωn ωn
2 ω 2
− i B2 e −iωt =
ωn
i
(
− KF0 eiωt − e −iωt )
n ωn n
2
We can satisfy this by setting
ω 2 2ςω ω 2 2ςω λ 2 2ςλ
B1 1 − += i KF0 B2 1 − −= i KF0 + = + 1 0
ω 2 ωn ω 2 ωn ω 2 ωn
n n n
The first two equations show that
−1
ω 2 2ςω
B=
1 KF0 1 − 2 +
i = KF0 M (ω / ωn , ζ )eiφ
ω
ωn n
−1
ω 2 2ςω
B=2 KF 0 1 − 2 − i = KF0 M (ω / ωn , ζ )e −iφ
ω ω n
n
1 −2ζω / ωn
= M (ω / ωn , ζ ) = φ tan −1
2
ω 2 2ςω 2 (1 − ω 2 / ωn2 )
1 − 2 +
ωn ωn
(we introduced M and φ to re-write B1 , B2 in polar form). Finally substitute back for B1 , B2 into the guess
for x p (t ) and simplify the solution to see that
i
(
− KF0 M (ω / ωn , ζ ) ei (ωt +φ ) − e −i (ωt +φ ) =
x p (t ) =
2
)
KF0 M (ω / ωn , ζ )sin(ωt + φ )
Finally, we must determine xh (t ) . By construction, our guess for xh (t ) satisfies
1 d 2 xh 2ς dxh
+ + xh =
C
ωn2 dt 2 ωn dt
xh (0) =− x0 X 0 sin φ
x0 x p (0) =−
dxh dx p
=v0 − v0 − X 0ω cos φ
=
dt t =0 dt t =0
This is identical to the differential equation for a damped free vibrating system (but with modified initial
conditions), and we can just write down the solution from the preceding section.
44
The motion of systems with many degrees of freedom, or nonlinear systems, cannot usually be described
using simple formulas. Even when they can, the formulas are so long and complicated that you need a
computer to evaluate them. For this reason, introductory courses typically avoid these topics. However, if
you are willing to use a computer, analyzing the motion of these complex systems is actually quite
straightforward – in fact, often easier than using the nasty formulas we derived for 1DOF systems.
This section of the notes is intended mostly for advanced students, who may be insulted by simplified
models. If you are feeling insulted, read on…
5.6.1 Equations of motion for undamped linear systems with many degrees of freedom.
d 2 x1
m1 + ( k1 + k2 ) x1 − k2 x2 =
0
dt 2
d 2 x2
m2 − k2 x1 + (k2 + k3 ) x2 =
0
dt 2
To solve vibration problems, we always write the equations of motion in matrix form. For an undamped
system, the matrix equation of motion always looks like this
d 2x
M + Kx =
0
dt 2
where x is a vector of the variables describing the motion, M is called the ‘mass matrix’ and K is called the
‘Stiffness matrix’ for the system. For the two spring-mass example, the equation of motion can be written
in matrix form as
m1 0 d 2 x1 k1 + k2 − k2 x1 0
0 m 2 x + −k =
k2 + k3 x2 0
2 dt 2 2
For a system with two masses (or more generally, two degrees of freedom), M and K are 2x2 matrices. For
a system with n degrees of freedom, they are nxn matrices.
46
Here, a single dot over a variable represents a time derivative, and a double dot
represents a second time derivative (i.e. acceleration). These equations look
horrible (and indeed they are – the motion of a double pendulum can even be
chaotic), but if we assume that if θ1 , θ 2 , and their time derivatives are all
small, so that terms involving squares, or products, of these variables can all be
neglected, that and recall that cos( x) ≈ 1 and sin( x) ≈ x for small x, the equations simplify to
(m + m ) L θ + m L θ + (m + m ) gθ =
1 2 1 1 2 2 2 1 2 0 1
m2 L2θ2 + m2 L1θ1 + m2 gθ 2 =
0
Or, in matrix form
( m1 + m2 ) L1 m2 L2 d 2 θ1 (m1 + m2 ) g 0 θ1 0
θ + =
m2 g θ 2 0
m2 L1 m2 L2 dt 2 2 0
This is again in the standard form.
Throughout the rest of this section, we will focus on exploring the behavior of systems of springs and
masses. This is not because spring/mass systems are of any particular interest, but because they are easy to
visualize, and, more importantly the equations of motion for a spring-mass system are identical to those of
any linear system. This could include a realistic mechanical system, an electrical system, or anything that
catches your fancy. (Then again, your fancy may tend more towards nonlinear systems, but if so, you
should keep that to yourself).
5.6.2 Natural frequencies and mode shapes for undamped linear systems with many degrees of
freedom.
First, let’s review the definition of natural frequencies and mode shapes. Recall that we can set a system
vibrating by displacing it slightly from its static equilibrium position, and then releasing it. In general, the
resulting motion will not be harmonic. However, there are certain special initial displacements that will
cause harmonic vibrations. These special initial deflections are called mode shapes, and the corresponding
frequencies of vibration are called natural frequencies.
The natural frequencies of a vibrating system are its most important property. It is helpful to have a simple
way to calculate them.
Fortunately, calculating natural frequencies turns out to be quite easy (at least on a computer). Recall that
the general form of the equation of motion for a vibrating system is
d 2x
M + Kx =
0
dt 2
47
where x is a time dependent vector that describes the motion, and M and K are mass and stiffness matrices.
Since we are interested in finding harmonic solutions for x, we can simply assume that the solution has the
form X sin ωt , and substitute into the equation of motion
−MXω 2 sin ωt + KX sin ωt = 0 ⇒ KX = ω 2 MX
The vectors u and scalars λ that satisfy a matrix equation of the form Ku = λ Mu are called ‘generalized
eigenvectors’ and ‘generalized eigenvalues’ of the equation. It is impossible to find exact formulas for λ
and u for a large matrix (formulas exist for up to 5x5 matrices, but they are so messy they are useless), but
MATLAB has built-in functions that will compute generalized eigenvectors and eigenvalues given
numerical values for M and K.
The special vectors X are the ‘Mode shapes’ of the system. These are the special initial displacements that
will cause the mass to vibrate harmonically.
If you only want to know the natural frequencies (common) you can use the MATLAB command
d = eig(K,M)
This returns a vector d, containing all the values of λ satisfying Ku = λ Mu (for an nxn matrix, there are
usually n different values). The natural frequencies follow as ωi = λi .
For example, here is a MATLAB function that uses this function to automatically compute the natural
frequencies of the spring-mass system shown in the figure.
function [freqs,modes] = compute_frequencies(k1,k2,k3,m1,m2)
M = [m1,0;0,m2];
K = [k1+k2,-k2;-k2,k2+k3];
[V,D] = eig(K,M);
for i = 1:2
freqs(i) = sqrt(D(i,i));
end
modes = V;
end
ω1 1,=
This gives the natural frequencies as= ω2 2.236 , and the mode shapes as X1 = (−0.707, −0,707) (i.e.
both masses displace in the same direction) and X 2 = (−0.707,0.707) (the two masses displace in opposite
directions.
If you read textbooks on vibrations, you will find that they may give different formulas for the natural
frequencies and vibration modes. (If you read a lot of textbooks on vibrations there is probably something
seriously wrong with your social life). This is partly because solving Ku = λ Mu for λ and u is rather
complicated (especially if you have to do the calculation by hand), and partly because this formula hides
some subtle mathematical features of the equations of motion for vibrating systems. For example, the
solutions to Ku = λ Mu are generally complex ( λ and u have real and imaginary parts), so it is not obvious
that our guess X sin ωt actually satisfies the equation of motion. It turns out, however, that the equations of
motion for a vibrating system can always be arranged so that M and K are symmetric. In this case λ and u
are real, and λ is always positive or zero. The old fashioned formulas for natural frequencies and vibration
modes show this more clearly. But our approach gives the same answer, and can also be generalized rather
easily to solve damped systems (see Section 5.5.5), whereas the traditional textbook methods cannot.
5.6.3 Free vibration of undamped linear systems with many degrees of freedom.
It is convenient to represent the initial displacement and velocity as n dimensional vectors u and v, as
u = [u1 , u2 ...un ] , and v = [v1 , v2 ...vn ] . In addition, we must calculate the natural frequencies ωi and mode
shapes Xi , i=1..n for the system. The motion can then be calculated using the following formula
n
=x(t ) ∑ Ai Xi cos ωi t + Bi Xi sin ωit
i =1
where
u ⋅ Xi v ⋅ Xi
=Ai = Bi
Xi ⋅ Xi ωi Xi ⋅ Xi
Here, the dot represents an n dimensional dot product (to evaluate it in matlab, just use the dot() command).
The figure on the right animates the motion of a system with 6 masses, which is set in motion by displacing
the leftmost mass and releasing it. The graph shows the displacement of the leftmost mass as a function of
time. You can download the MATLAB code for this computation here, and see how the formulas listed in
this section are used to compute the motion. The program will predict the motion of a system with an
arbitrary number of masses, and since you can easily edit the code to type in a different mass and stiffness
matrix, it effectively solves any transient vibration problem.
5.6.4 Forced vibration of lightly damped linear systems with many degrees of freedom.
As an example, the graph below shows the predicted steady-state vibration amplitude for the spring-mass
system, for the special case where the masses are all equal m=1 m= 2 m , and the springs all have the same
stiffness k=
1 k= 2 k=3 k . The first mass is subjected to a harmonic force f1 (t ) = F1 cos ωt , and no force
acts on the second mass. Note that the graph shows the magnitude of the vibration amplitude – the formula
predicts that for some frequencies some masses have negative vibration amplitudes, but the negative sign
has been ignored, as the negative sign just means that the mass vibrates out of phase with the force.
Our solution for a 2DOF system shows that a system with two masses will have an anti-resonance. So
we simply turn our 1DOF system into a 2DOF system by adding another spring and a mass, and tune
the stiffness and mass of the new elements so that the anti-resonance occurs at the appropriate
frequency. Of course, adding a mass will create a new vibration mode, but we can make sure that the
new natural frequency is not at a bad frequency. We can also add a dashpot in parallel with the spring,
if we want – this has the effect of making the anti-resonance phenomenon somewhat less effective (the
vibration amplitude will be small, but finite, at the ‘magic’ frequency), but the new vibration modes will
also have lower amplitudes at resonance. The added spring – mass system is called a ‘tuned vibration
absorber.’ This approach was used to solve the Millenium Bridge vibration problem.
Equations of motion: The figure shows a damped spring-mass system. The equations of motion for the
system can easily be shown to be
d 2 x1 dx1 dx
m1 + ( c1 + c2 ) − c2 2 + ( k1 + k2 ) x1 − k2 x2 =
0
dt 2 dt dt
d 2 x2 dx1 dx
m2 + ( c2 + c3 ) 2 − k2 x1 + (k2 + k3 ) x2 =
− c2 0
2 dt dt
dt
To solve these equations, we have to reduce them to a system that MATLAB can handle, by re-writing them
as first order equations. We follow the standard procedure to do this – define v1 = dx1 / dt and
v2 = dx2 / dt as new variables, and then write the equations in matrix form as
1 0 0 0 x1 0 0 −1 0 x1 0
0 1 0
0 d x2 0 0 0
−1 x2 0
+ =
0 0 m1 0 dt v1 (k1 + k2 ) − k2 (c1 + c2 ) −c2 v1 0
0 0 0 m2 v2 − k2 (k2 + k3 ) −c2 (c2 + c3 ) v2 0
(This result might not be obvious to you – if so, multiply out the vector-matrix products to see that the
equations are all correct). This is a matrix equation of the form
dy
M + Dy = 0
dt
where y is a vector containing the unknown velocities and positions of the mass.
Free vibration response: Suppose that at time t=0 the system has initial positions and velocities
Y0 = [ x10 , x20 ,...v10 , v20 ...] , and we wish to calculate the subsequent motion of the system. To do this, we
must solve the equation of motion. We start by guessing that the solution has the form = y Γ exp(−λ t ) (the
52
negative sign is introduced because we expect solutions to decay with time). Here, Γ is a constant vector,
to be determined. Substituting this into the equation of motion gives
−Mλ Γ exp(−λ t ) + DΓ exp(−λ t ) =0 ⇒ DΓ =λ MΓ
This is another generalized eigenvalue problem, and can easily be solved with MATLAB. The solution is
much more complicated for a damped system, however, because the possible values of Γ and λ that
satisfy the equation are in general complex – that is to say, each λ can be expressed as λ= ζ ± iω , where
ζ and ω are positive real numbers, and i= −1 . This makes more sense if we recall Euler’s formula
iω ) cos ω + i sin ω
exp(=
(if you haven’t seen Euler’s formula, try doing a Taylor expansion of both sides of the equation – you will
find they are magically equal. If you don’t know how to do a Taylor expansion, you probably stopped
reading this ages ago, but if you are still hanging in there, just trust me…). So, the solution is predicting
that the response may be oscillatory, as we would expect. Once all the possible vectors Γ0 and λ have
been calculated, the response of the system can be calculated as follows:
1. Construct a matrix H , in which each column is one of the possible values of Γ (MATLAB
constructs this matrix automatically)
2. Construct a diagonal matrix Λ (t), which has the form
exp(−λ1t ) 0 0
= Λ (t ) 0 exp(−λ2t ) 0
0 0
where each λ is one of the solutions to the generalized eigenvalue equation.
3. Calculate a vector a (this represents the amplitudes of the various modes in the vibration response)
that satisfies
Ha = Y0
4. The vibration response then follows as
y (t ) = HΛ (t )a
All the matrices and vectors in these formulas are complex valued – but all the imaginary parts magically
disappear in the final answer.
HEALTH WARNING: The formulas listed here only work if all the generalized eigenvalues λ satisfying
DΓ = λ MΓ are different. For some very special choices of damping, some eigenvalues may be repeated.
In this case the formula won’t work. A quick and dirty fix for this is just to change the damping very
slightly, and the problem disappears. Your applied math courses will hopefully show you a better fix, but
we won’t worry about that here.
x1 x2
This all sounds a bit involved, but it actually only takes a few lines of
MATLAB code to calculate the motion of any damped system. As an c1 c2 c3
example, a MATLAB code that animates the motion of a damped
spring-mass system shown in the figure (but with an arbitrary number mm
1 m2
of masses) can be downloaded here. You can use the code to explore
the behavior of the system. In addition, you can modify the code to
solve any linear free vibration problem by modifying the matrices M k1 k2 k3
and D.
Here are some animations that illustrate the behavior of the system. The animations below show vibrations
of the system with initial displacements corresponding to the three mode shapes of the undamped system
(calculated using the procedure in Section 5.5.2). The results are shown for k=m=1 c = 0.05 . In each case,
the graph plots the motion of the three masses – if a color doesn’t show up, it means one of the other masses
has the exact same displacement.
53
Notice that
1. For each mode, the displacement history of any mass looks very similar to the behavior of a
damped, 1DOF system.
2. The amplitude of the high frequency modes die out much faster than the low frequency mode.
This explains why it is so helpful to understand the behavior of a 1DOF
system. If a more complicated system is set in motion, its response
initially involves contributions from all its vibration modes. Soon,
however, the high frequency modes die out, and the dominant behavior is
just caused by the lowest frequency mode. The animation to the right
demonstrates this very nicely – here, the system was started by displacing
only the first mass. The initial response is not harmonic, but after a short
time the high frequency modes stop contributing, and the system behaves
just like a 1DOF approximation. For design purposes, idealizing the
system as a 1DOF damped spring-mass system is usually sufficient.
Notice also that light damping has very little effect on the natural
frequencies and mode shapes – so the simple undamped approximation is a good way to calculate these.
Of course, if the system is very heavily damped, then its behavior changes completely – the system no
longer vibrates, and instead just moves gradually towards its equilibrium position. You can simulate this
behavior for yourself using the matlab code – try running it with c = 5 or higher. Systems of this kind are
not of much practical interest.
x1 x2
f1 f2
c1 c2 c3
mm
1 m2
k1 k2 k3
54
Steady-state forced vibration response. Finally, we take a look at the effects of damping on the response
of a spring-mass system to harmonic forces. The equations of motion for a damped, forced system are
1 0 0 0 x1 0 0 −1 0 x1 0
0 1 0
0 d x2 0 0 0 −1 x2 0
+ = cos ωt
0 0 m1 0 dt v1 (k1 + k2 ) − k2 (c1 + c2 ) −c2 v1 f1
0 0 0 m2 v2 − k2 (k2 + k3 ) −c2 (c2 + c3 ) v2 f 2
This is an equation of the form
dy
M = f cos ω
+ Dy = t f {exp(iωt ) + exp(−iωt )} / 2
dt
where we have used Euler’s famous formula again. We can find a solution to
dy
M + Dy = f exp(iωt )
dt
by guessing that y = Y0 exp(iωt ) , and substituting into the matrix equation
[iω M + D]Y0 exp(iω=t ) f exp(iωt ) ⇒ [iω M + D]Y =0 f
This equation can be solved for Y0 . Similarly, we can solve
dy
M + Dy= f exp(−iωt )
dt
by guessing that
= y Y0 exp(−iωt ) , which gives an equation for Y0 of the form [−iω M + D]Y0 = f . You
actually don’t need to solve this equation – you can simply calculate Y0 by just changing the sign of all the
imaginary parts of Y0 . The full solution follows as
y=
(t ) {Y0 exp(iωt ) + Y0 exp(−iωt )} / 2
This is the steady-state vibration response. Just as for the 1DOF system, the general solution also has a
transient part, which depends on initial conditions. We know that the transient solution will die away, so we
ignore it.
The solution for y(t) looks peculiar, because of the complex numbers. If we just want to plot the solution as
a function of time, we don’t have to worry about the complex numbers, because they magically disappear in
the final answer. In fact, if we use MATLAB to do the computations, we never even notice that the
intermediate formulas involve complex numbers. If we do plot the solution, it is obvious that each mass
vibrates harmonically, at the same frequency as the force (this is obvious from the formula too). It’s not
worth plotting the function – we are really only interested in the amplitude of vibration of each mass. This
can be calculated as follows
1. Let [Y1 , Y2 ...Y2n ] , [Y1 , Y2 ...Y2n ] denote the components of Y0 and Y0
2. The vibration of the jth mass then has the form
= x j (t ) X j cos(ωt + φ j )
where
1 Yj
=Xj Y jY j
= φj log
2i Yj
are the amplitude and phase of the harmonic vibration of the mass.
If you know a lot about complex numbers you could try to derive these formulas for yourself. If not, just
trust me – your math classes should cover this kind of thing. MATLAB can handle all these computations
effortlessly. As an example, here is a simple MATLAB script that will calculate the steady-state amplitude
of vibration and phase of each degree of freedom of a forced n degree of freedom system, given the force
vector f, and the matrices M and D that describe the system.
55
m
c m c m c
k k k
mass 1 mass 2
Here is a graph showing the predicted vibration amplitude of each mass in the system shown. Note that
only mass 1 is subjected to a force.
3. In a damped system, the amplitude of the lowest frequency resonance is generally much greater
than higher frequency modes. For this reason, it is often sufficient to consider only the lowest
frequency mode in design calculations. This means we can idealize the system as just a single DOF
system, and think of it as a simple spring-mass system as described in the early part of this chapter.
The relative vibration amplitudes of the various resonances do depend to some extent on the nature
of the force – it is possible to choose a set of forces that will excite only a high frequency mode, in
which case the amplitude of this special excited mode will exceed all the others. But for most
forcing, the lowest frequency one is the one that matters.
4. The ‘anti-resonance’ behavior shown by the forced mass disappears if the damping is too high.