Vibes Notes
Vibes Notes
c Andrew Norris
1
2
Appendices 80
A Basic equations review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
B Linear algebra 101 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
B.1 Basic matrix algebra . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
B.2 Matlab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
C Lagranges Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
C.1 SDOF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
C.2 n-DOF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
C.3 General coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
C.4 Origin of Lagranges equations (extra) . . . . . . . . . . . . . . . . . . . . . . 86
Chapter 1
m
x
Figure 1.1: Spring and mass at rest, x = 0
x = 0, Fig. 1.2. As shown, there is no external force acting on the mass, the only force on the mass
is the restoring force of the spring. Therefore the mass cannot be in static equilibrium, it must be
moving.
x
F F
m
x
Figure 1.2: The mass is in dynamic equilibrium under the force F = kx.
Another way of saying it is that the mass is in dynamic equilibrium. The general equation for
dynamic equilibrium of a particle (the mass) is
F~ = m~a (1.1)
3
4
where in the case considered we can just think of the components of each side in the positive
xdirection. Then1
F = ma where a = x m x F = 0. (1.2)
At the same time, the force is proportional to the spring displacement,
F = kx. (1.3)
m
x + kx = 0. (1.4)
This is the generic form of the equation of motion for a SDOF, x(t). Note that the minus sign in
(1.3) is crucial. it guarantees that the spring provides a restoring force that always pulls or pushes
the mass back towards the static equilibrium position x = 0.
(2 + n2 ) x = 0. (1.7)
This implies that either x = 0 at all times, which is not of interest (it is just the static equilibrium
solution) or
2 = n2 = in (1.8)
where i2 = 1. The means that can be equal to in or in . Since eq. (1.5) is a linear
ordinary differential equation, we can add solutions to get new solutions. The fact that there are
two possible values of , and two possible values of C, say C1 and C2 . In other words, the most
general solution of eq. (1.5) is
x(t) = C1 ein t + C2 ein t . (1.9)
use = n t, = n t along with cos() = cos , sin() = sin to write (1.9) in the alternative
form
x(t) = C1 (cos n t + i sin n t) + C2 (cos n t i sin n t). (1.11)
1 dx
The dot notation is used to shorten equations, i.e. x = dt
.
5
x(0) = A1 . (1.14)
Equation (1.14) tells us that the constant A1 is equal to the value of the displacement at t = 0.
This is called an initial condition. Another initial condition is the velocity of the mass at t = 0, i.e.
x(0).
Differentiating (1.14) gives
x(t)
= n A1 sin n t + n A2 cos n t. (1.15)
Putting t = 0 gives
x(0)
= n A2 . (1.16)
In summary, if the initial conditions are
then
A1 = x0 , C1 = 12 (x0 i v0n ),
(1.18)
A2 = v0n , C2 = 21 (x0 + i v0n ).
The solution for x becomes
v0
x(t) = x0 cos n t + sin n t (1.19)
n
which clearly satisfies the two initial conditions at t = 0. Equation (1.19) then gives x(t) for all
values of t 0.
A1 A2
cos = p , sin = p 2 . (1.21)
A21 + A22 A1 + A22
6
Using the trigonometric identity cos cos + sin sin = cos( ) we get
q
A2
x(t) = A cos(n t ) where A = A21 + A22 , tan = . (1.22)
A1
A is the amplitude, and is called the phase angle. As an example, for the solution (1.19)
s
v2 v0
A = x20 + 02 , tan = . (1.23)
n x 0 n
Some things to note about the eq. (1.22): The maximum and minimum values of x(t) are A and
A. The maximum values are obtained when n t = 2n where n = 0, 1, 2, . . . because cos 2n =
1. The amount of time, T , between successive maxima is called the period and corresponds to
n T = 2, that is, T = 2/n . The inverse of the period, called the frequency (as compared to the
natural frequency n ) is f = 1/T . In summary
2 1 n
T = , f= = period and frequency - undamped SDOF. (1.24)
n T 2
Using units of seconds, the system oscillates 1 cycle in T seconds; in one second it oscillates f
cycles.
1 dx 2 1 dx2
m + k = mx
x + kxx
2 dt 2 dt
= (mx + kx) x = 0. (1.30)
7
Dividing by v gives us the equation of motion (1.4). The important point is that we have arrived
at the equation of motion without using F = ma.
Now consider some generic SDOF system with single coordinate y(t). The kinetic and potential
energy of the system are
1 1 1 1
T = meq y 2 , V = keq y 2 meq y 2 + keq y 2 = E0 (1.31)
2 2 2 2
where meq , keq and E0 are positive constants. The total energy T + V is constant, therefore
proceeding as above we find that
keq
meq y + keq y = 0 y + n2 y = 0 where n2 = . (1.32)
meq
In other words, the equation and motion and the natural frequency can be found directly once we
know the form of T and V , i.e. the equivalent mass and stiffness meq and keq . This approach allows
us to quickly reduce complicated looking systems to standard SDOF form.
Examples
Consider Case (a) in Fig. 1.3. Let keq be the equivalent stiffness, then the potential energy is
V = 12 keq x2 . then it follows that the equation of motion is
keq
x + keq x = 0 n2 =
m . (1.33)
m
Figure 1.3: Four different SDOF systems. All springs have stiffness k, the wheels have moment of
1
inertia I0 = 21 mR2 , the beam I0 = 12 mL2 . Ignore the effects of gravity. (In (b) there should be a
fixed point of rotation in the beam center).
Case (b) involves rotation about the fixed point at the beam center. Let be the angle of
rotation from the equilibrium position (assumed it to be the vertical position for simplicity, it is not
important). The kinetic energy is T = I0 2 . The PE is 2( 21 kx2 ) where the springs are both either
8
L
compressed or stretched by an amount (distance) x = 2 (using the small angle approximation).
The total energy is therefore
1 1 k
mL2 2 + kL2 2 = E0 n2 = 6 . (1.34)
24 4 m
1
Note in this case meq = 12 mL2 and keq = 21 kL2 . These do not have the same units as the mass
and stiffness for a mass-spring system since they both contain length2 . But the ratio keq /meq has
the correct units of 1/(time)2 , as it should.
In Case (c) let be the angle of rotation from the equilibrium position. The kinetic energy is
T = I0 2 . The PE is 2( 21 kx2 ) where one spring is compressed and the other stretched by x = r
(using the small angle approximation). The total energy is therefore
1 kr2
mR2 2 + kr2 2 = E0 n2 = 4 . (1.35)
4 mR2
1 k
mR2 2 + kR2 2 = E0 n2 = 4 . (1.36)
4 m
m
x = kx cx m
x + cx + kx = 0, (1.37)
or dividing by m, and using k/m = n2 (eq. (1.6)) and the definition of the parameter by
c
= 2n , (1.38)
m
gives
+ 2n x + n2 x = 0.
x (1.39)
This can be zero in general only if the bracketed term is zero, and so there are two possible values
for :
p
= n n 2 1 (1.41)
1. < 1, underdamped
2. > 1, overdamped
3. = 1, critically damped
9
where x(t) is given by (1.45) the velocity of the mass v = x follows from (1.45) as
v(t) = (d A2 n A1 ) cos d t (d A1 + n A2 ) sin d t) en t . (1.47)
x0 = A1 , v0 = d A2 n A1 . (1.48)
These are now easily solved for A1 and A2 , and then put back into eqs. (1.45) and (1.47) to give
(v0 + n x0 )
x(t) = x0 cos d t + sin d t en t ,
d (1.49)
n
v(t) = v0 cos d t v0 + n x0 sin d t en t .
d
We can rewrite x(t) in terms of an amplitude and phase, as we did before with the undamped
system, except now there is the extra en t term,
We could have found (1.50) and (1.51) by first starting with (1.50) as the assumed form of the
general solution. The actual values of C and for the IVP (1.46) follow by writing the velocity,
from (1.50),
v(t) = C d sin(d t ) n cos(d t ) en t (1.52)
10
x0 = C cos (1.53)
v0 = C(d sin n cos ) = Cd sin n x0 (1.54)
and hence
v0 + n x0
C cos = x0 , C sin = (1.55)
d
from which C and follow as in (1.51). Another way of writing x follows from (1.50) and (1.55),
x0 v0 + n x0
x(t) = cos(d t ) en t , where = tan1 (1.56)
cos d x 0
x(t) = x0 cos d t + p sin d t en t ,
1 2
n (1.57)
v(t) = x0 p sin d t en t .
1 2
After starting at t = 0 with zero velocity, the next time the velocity is zero is after a half period,
i.e. when d t = , at which time x = x0 e 1 2 . This shows that the amplitude is never again
as large as it is at t = 0. The value x0 e 1 2 is called the overshoot.
v0
x(t) = sin d t en t ,
d
(1.58)
v(t) = v0 cos d t p sin d t en t .
1 2
The first maximum of |x| is the largest value it can be, and it occurs when v = 0, which happens
1 2
when tan d t = . Using relations like cos = 1/ 1 + tan2 and sin = tan cos gives
p
sin d t = 1 2 . Therefore (1.58) gives
p
v0 1 2
|x|max = exp p tan1 . (1.59)
n 1 2
0.9
0.8
0.7
F
0.6
0.5
0.4
0.3
0.2
0 0.5 1
1.5 2
n
Figure 1.4: The function F () = v0 |x|max for the SDOF with zero initial displacement, see eq.
(1.59)
This in turn can be rewritten using the trig identity sin(a + b) = sin a cos b + cos a sin b as
2
T = period of damped SDOF. (1.63)
d
p
Since d = n 1 2 it follows from (1.24) and (1.63) that the ratio of the damped to un-
damped periods is (assuming < 1)
Tdamped n 1
= =p 1 (1.64)
Tundamped d 1 2
12
with equality when there is no damping. The effect of adding a damper to a spring-mass system
therefore always increases the period. If the damping is small the increase will be very small, e.g.
if = 0.05 then Tdamped /Tundamped = 1.001.
Note that, for any value of t, we have
This clearly displays how the amplitude is decreasing because of the damping (when = 0 we have
x(t + T ) = x(t)). More generally, after n periods, where n = 1, 2, 3, . . .,
Note that
n
n T = 2 = 2 p . (1.67)
d 1 2
This only involves , which means that the damping factor can be found from the ratio of two
consecutive amplitudes x(t + T )/x(t), or more generally from the ratio of two amplitudes separated
by n periods in time: x(t + nT )/x(t). At the same time, eq. (1.65) and (1.66) imply
x(t + T ) 1 x(t + nT )
n T = log = log . (1.68)
x(t) n x(t)
x(t + T ) 1 x(t + nT )
= log = log (1.69)
x(t) n x(t)
and hence, = n T , or equivalently, using (1.67) shows that the logarithmic decrement depends
only on the damping factor:
= 2 p . (1.70)
1 2
=p (1.71)
(2)2 + 2
This suggests a way to measure the damping factor by measuring the logarithmic decrement. In
general the latter is given by
1 x(0)
= log (1.72)
n x(nT )
which can be measured by observation of the damped oscillation over several n cycles. If the
system is weakly damped then typically a large value for n will be required (n > 10) in order to
see significant change from x(0) to x(nT ). Also, for small damping will be small ( 1), and
therefore from (1.70) is also small. Hence, by (1.71)
= for small damping. (1.73)
2
13
v(t) = A1 1 e1 t + A2 2 e2 t (1.77)
x0 = A1 + A2 , v0 = A1 1 + A2 2 (1.78)
or,
1
1 1 A1 x0 A1 1 1 x0
= = (1.79)
1 2 A2 v0 A2 1 2 v0
we get
A1 1 2 1 x0
= (1.81)
A2 2 1 1 1 v0
Hence,
2 x 0 v 0 1 x0 + v0
A1 = p , A2 = p , (1.82)
2n 2 1 2n 2 1
or
x0 (n x0 + v0 ) x0 (n x0 + v0 )
A1 = p , A2 = + p , (1.83)
2 2n 2 1 2 2n 2 1
Equations (1.74), (1.76) and (1.83) imply that the solution to the IVP is
x0 n 2 1t
2 (n x0 + v0 ) n 2 1t
2
x(t) = e + en 1t + p e en 1t en t (1.84)
2 2n 2 1
14
Using
1 1
cosh x = (ex + ex ), sinh x = (ex ex ) (1.85)
2 2
gives
p (n x0 + v0 ) p
x(t) = x0 cosh n 2 1t + p sinh n 2 1t en t . (1.86)
n 2 1
The connection between (1.86) and (1.88) is then evident from the identities
1.2.4 Examples
Example 1
Find the damping factor necessary for an overshoot of 15%.
Solution: The overshoot x0 e 1 2 is 15% the value of x0 if e 1 2 = 0.15. Taking the
natural logarithm 2 = log 0.15. We can solve 2 = a by squaring 2 = (1 2 )a2 / 2
1 1
which gives
1
=q .
2
1+ a
Example 2
If m = 1 kg, c = 2 kg/s, and k = 10 N/m, calculate the values of and n . Is the system under-
or over-damped? p
Solution: n = 10/1 = 3.163 rad/s, = c/(2mn ) = 2/(2 3.163) = 0.3163, so the SDOF is
underdamped.
Example 3
Find the solution of x
+ 4x + x = 0 with x(0) = 1, v(0) = 0.
Solution: n = 1 and = 2, so it is overdamped. The general solution is
x(t) = A1 e2t 3t
+ A2 e2t+ 3t
v(t) = A1 (2 3)e2t 3t
+ A2 ((2 + 3))e2t+ 3t
15
Example 4
It is known that the mass of a device must be between 2 and 3 kg. The support system and
materials are such that the stiffness of the
p system, modeledp as a SDOF, is 200 N/m. The natural
frequency is therefore restricted to n 200/2 and n 200/3, that is 8.16 n 10 rad/s.
This system is being designed to be subject to zero initial displacement and initial velocity always
less than 16 cm/s in magnitude. Choose a damping system such that the amplitude of vibration
is always less than 1 cm, that is find the damping c. Solution: From eq. (1.59), the maximum
amplitude is
v0
|x|max = F () (1.90)
n
where F () is plotted in Fig. 1.4. For v0 = 16 cm/s and n = 8.16 we have v0n = 1.96 cm. If |x|max
is to be less than 1 cm then we need F () < 1/1.96 = 0.51. From Fig. 1.4, this is satisfied if
is larger than about 0.6. We could get a precise estimate by solving F () = 0.51, but that is not
necessary. The dimensional damping coefficient c is related to the damping factor by c = 2 km,
and taking the maximum mass m = 3 kg, implies that c 29.39 kg/s ensures that the amplitude
of vibration is always less than 1 cm.
as can be seen using the Taylor series for sinh x = x + 16 x3 + . . .. Hence, the IVP solution is
x(t) = x0 + (n x0 + v0 )t en t (1.98)
It can be easily checked that this indeed satisfies the ICs of eq. (1.46).
The surprising feature of (1.98) is the term proportional to ten t . One way of seeing how this
arises is to go back to the general equation (1.113) for = 1:
+ 2n x + n2 x = 0.
x (1.99)
x + n x = Ben t (1.102)
17
d
(xen t ) = B (1.103)
dt
with solution
xen t = A + Bt x = Aen t + Bten t (1.104)
In other words, the two linearly independent solutions are en t and ten t . This is a common
phenomenon, and occurs when the solutions of a second order (or higher) ODE are no longer
linearly independent. In summary, the general form of the solution for critical damping is
x + cx 2 + kxx = 0.
mx (1.106)
d 1 1
mx + kx2 + cx 2 = 0. (1.107)
dt 2 2
Alternatively, this is
dE
= cx 2 (1.108)
dt
and the right hand side term must be negative since c > 0 when there is damping. This means
that the mechanical energy must decrease.
Integrating the identity (1.108) over one period, from t = 0 to t = T = 2/d gives
Z T
E(T ) E(0) = c x 2 dt. (1.109)
0
This provides another way of interpreting the damping: it measures the amount of energy lost per
cycle. Let us consider the case in which the damping is small, 1. Then over one cycle the
exponential decay is small, and we can reasonably approximate x using the undamped solution
x = A cos(n t ) where A and are constants, see eq. (1.22). Then, using the fact that the
integral of sin2 u over one period is ,
Z 2/n
E(T ) E(0) = cA2 n2 sin2 (n t )dt
0
Z 2
= cA2 n sin2 (u )du (u = n t)
0
= cA2 n . (1.110)
18
At the same time, the energy of the undamped SDOF system is E = 21 mA2 n2 sin2 (n t ) +
1 2 2 2 2 2 2
2 kA cos (n t ), or using k = mn , E = mA n = kA . Define the loss of energy over one
cycle: E = E(0) E(T ), then (1.110) gives
cE
E = = 2E (1.111)
mn
where we have used eq. (1.38). Therefore, since we are considering the case of small damping, we
can use (1.73) to get
E
= 2 . (1.112)
E
This provides another way of interpreting the logarithmic decrement: it is the relative loss of
energy over one cycle in the small damping case. One could generalize this result to larger values
of damping but the algebra is more complex. The concept of logarithmic decrement is most useful
when there is small damping; hence the identification of as the relative decrease in energy per
cycle is always a good way to think of it.
+ 2n x + n2 x = 0
x (1.113)
q
k
with n = m and
c c
= =
2mn 2 km
This is the standard example as we have considered it. It is generally more realistic, since it is
more practical and easier to place springs and dashpots in parallel, rather than in series (next).
19
The situation is a little different than all of the previous cases if the spring and dashpot are
in series. Then the forces on each is the same, say F , the spring displacement is x1 = F/k,
and the dashpot velocity is v2 = F/c. The total velocity is v = v1 + v2 where v1 = x1 . Hence,
v = F /k F/c. The equation of motion is
mv = F
d F F m m
m =F F + F +F =0 (1.114)
dt k c k c
Dividing by m and multiplying by k, gives
k k
F + F + F = 0 F + 2 n F + n2 F = 0 (1.115)
c m
q
k
where n = m as usual but the damping factor is now
k km
= =
2cn 2c
Equation (1.115) has the same general form as the damped SDOF equation but it is for the force
not the displacement. The effective damping factor has a quite different form. Note that it is
inversely proportional to the damping coefficient c. Also, in order to calculate the displacement we
need to do a little bit more calculation, which we leave for now.
Summary: when we have sets of springs alone in series or in parallel, or in more complex
configurations, we can always reduce it to a single effective spring constant. The same goes for
dashpots. When we mix the two then it can be complicated. For a spring and dashpot in parallel
we get the classical equation for a damped SDOF. When they are in series we get a similar looking
equation but for the force, not the displacement.
Chapter 2
20
21
F
m
y + cy + ky = 0 for y = x , F = constant (2.3)
k
This is the equation for free vibration, already discussed.
As a practical and common example consider the spring-mass system of Figure 2.1 subject to
the constant force of gravity. Here x = 0 describes the equilibrium position without gravity (no
spring extension). In reality Fk = mg, indicating the equilibrium position with gravity is at
x = mg k , which is the same as y = 0.
The system as shown has no damping, but if we imagine damping present then it is clear that
any initial conditions of the system will end up with the mass coming to rest at y = 0. As a
thought experiment imagine attaching the mass to the spring and then letting it go from x = 0:
what happens? We can think of this as an IVP with initial position y0 = mg k and initial velocity
y 0 = 0. The solution for the subsequent motion of the mass follows from eq. (1.57).
x
Fk
y
mg
Figure 2.1: A spring-mass system subject to the constant force of gravity.
F = F0 cos t (2.4)
22
Here is the frequency of the applied forcing, or just the forcing or drive frequency. It is considered
an an independent quantity, that is, it is not related to the frequency of the oscillator, whether n or
d . We will think of as free tuning parameter, that could take on any value, and sometimes does.
We will be interested in how the response depends not only on F0 but on the variable frequency .
As we will see, things change considerably for different drive frequencies .
Equations (2.2) and (2.4) give
m
x + cx + kx = F0 cos t. (2.5)
There are several ways to solve this. Here we use complex numbers, based on the fact that
F0 cos t = Re F0 eit
so
x + cx + kx = Re F0 eit .
m (2.6)
The idea is simple but maybe subtle: let
x = Re z (2.7)
z + cz + kz = F0 eit .
m (2.9)
We now have an equation where the RHS has a simple exponential form. In such cases it makes
sense to look for a particular solution that is of the same exponential form, so we try
so that z has the same frequency as the drive or forcing frequency. This is reasonable. Consequen-
tially, (2.9) becomes
2 m + ic + k Aeit = F0 eit . (2.11)
We can divide both sides by eit to get the algebraic equation:
k 2 m + ic A = F0 (2.12)
or
F0
A= 2
. (2.13)
k m + ic
To summarize so far: using (2.7), (2.10) and (2.13),
F0 eit
x(t) = Re . (2.14)
k 2 m + ic
What does this mean?
One way to rewrite (2.14) is
F0
x(t) = Re A eit , A= . (2.15)
k 2 m + ic
23
A = |A|ei (2.16)
where
F0 c
|A| = p , = tan1 . (2.17)
(k m)2 + (c)2
2 k 2 m
or
x(t) = |A| cos(t ). (2.19)
This is in a form that we can now interpret. The amplitude is |A| and the response has the same
frequency as the drive but with a phase shift .
Remember,(2.19) is only a particular solution of (2.5), one that gives us the correct RHS. In
addition, we always can add to this the general solution of the homogeneous equation (F = 0), i.e.
x(t) = C cos(d t ) en t , so that the general solution of the inhomogeneous equation (2.5) is
the sum of the particular and the homogeneous solutions:
F0 1
A= 2 2
(2.21)
m n + i2in
The magnitude is
F0 1
|A| = p (2.22)
m (n )2 + (2n )2
2 2
F0 1 F0 1
|A| = q = q (2.24)
mn2 (1
2
) 2 + 2
2 k (1
2 2 2
n n n ) + 2 n
1
Let z = a + ib, then z = a2 + b2 ei where tan = b/a. Hence 1/z = 1/ a2 + b2 ei . Eq. (2.15) follows with
z = k 2 m + ic.
24
Apart from the term F/k, the amplitude only depends on the ratio /n and the damping factor
. Both of these are non-dimensional, and we can get a good idea of all possibilities by looking at
the plot of
k 1
B |A| =q 2 , r (2.25)
F0 n
(1 r2 )2 + 2r
for 0 < r < and for different values of , see Fig. 2.2.
3
6 10
5
2
10
4
B B
1
3 10
2
0
10
1
1
0 10
0 1 2
/n 3 4 0 0.5 1
/n 1.5 2
(a) Top to bottom: =.1, .2, .3, .4, .5, 1, 2, 4 (b) =.0001, .001, .01, .1
Figure 2.2: The magnification factor B of eq. (2.25). Note the log scale for (b).
It is clear that there is a frequency at which the amplitude is maximum. We can find this by
differentiating B of (2.25) with respect to r and setting it to zero. Alternatively, the maximum of
2
B will be where the minimum of (1 r2 )2 + 2r occurs. Setting the derivative to zero:
d 2
[(1 r2 )2 + 2r ] = 2r[2(1 r2 ) + 4 2 ] = 0
dr
which occurs if r = 0 (which we can ignore as it is = 0) or
p
r= = 1 2 2 (2.26)
n
Plugging in this value:
2
(1 r2 )2 + 2r = 4 2 4 4 = 4 2 (1 2 )
The response to time harmonic forcing can be best understood by considering the three cases in
which r = /n is much less than one, one, and much greater than one. Thus:
F0
Low frequency r1 B1 |A| 0,
k
1 F0
Resonance r=1 B= |A| = , (2.30)
2 2k 2
1 F0
High frequency r1 B |A| .
r2 m 2
At low frequency the motion is in phase with the driving force. At high frequency it is
completely out of phase with the driving force2 And at resonance, the motion is 90 out of phase.
Note- there is no maximum if
1
= 0.707 . . .
2
Summary: The particular solution for the forced SDOF system (2.5) is
F0 cos(t )
x(t) = q . (2.31)
k 2
(1 )2 + 2 2
n n
As the particular solution to the equation of motion this does not take into account the homogeneous
solution, that is required to satisfy the initial conditions, see eq. (2.20). However, it should be
realized that the additional homogeneous solution in (2.20) has the en t factor, which means
that whatever effect the initial condition have, it eventually dies away, and we are left with the
steady state3 solution of (2.31). In other words, no matter what the initial conditions are, the
motion eventually reaches the steady state motion.
Example
A machine, m = 25 kg, rests on an elastic foundation. An oscillating force of magnitude 25 N is
applied to the machine at different drive frequencies. The maximum steady state response is found
to be 1.3 mm and occurs when the forcing has period of 0.22 s.
Find the equivalent stiffness and damping ratio of the foundation.
Given: m = 25 kg, Amax = 1.3 mm, F0 = 25 N, = 2/0.22 = 28.6 rad/s.
Find: k,
2
A phase shift = means that the forcing F = F0 cos t always has the opposite sign of the displacement x
given by (2.19).
3
Steady state is here synonymous with time harmonic.
26
p
(a) Max occurs at r = /n = 1 2 2 , so
28.6
n = p
1 2 2
(b)Max amp is
F 25
p0 = 1.3 103 m 1.3 103 = p
k2 1 2 k2 1 2 2
25(1 2 2 ) 1 2 2
1.3 103 = p p = 1.066
25(28.6)2 2 1 2 2 1 2
Simplifying
4 2 (1 2 )(1.066)2 = 1 4 2 + 4 4
4 2 + 0.117 = 0
r
2 1 1
= 0.117
2 2
= 0.368, or 0.930
= 0.368
Go back:
28.6
n = p = 33.5 rad/s
1 2 2
and so
k = mn2 = 2.81 104 N/m
Matlab implementation
The simplest way to compute the solution for time harmonic forcing is to use complex numbers.
The expression (2.14) can be written very simply in Matlab. More generally, suppose
m
x + cx + kx = F, F = F1 cos t + F2 sin t. (2.32)
We can write the forcing term as the real part of a complex forcing using the fact that cos = Reeit ,
sin = Re ieit . Therefore, F = Re(F1 iF2 )eit and the particular solution for the forcing
becomes
(F1 iF2 ) eit
x(t) = Re . (2.33)
m n2 2 + i2n
27
15 10
10
5
0
k x(t)F0
5
k x(t)F
0 0
5
5
10
15 10
0 2 4 6 8 10 0 2 4 6 8 10
t t
(a) r=.2 (blue), .6 (green), .9 (red) (b) r=1.1 (blue), 2 (green), 5 (red)
Figure 2.3: The response of an undamped system under harmonic forcing eq. (2.38) for different
values of the drive frequency, with n = 2.
28
The dependence of the solution on r is shown in Fig. 2.3. It is clear from the curves for r = 0.9
and r = 1.1 that something special happens when the drive frequency is close to the system
natural frequency n .
40
30
20
10
0
k x(t)F
0
10
20
30
40
0 2 4 6 8 10
t
Figure 2.4: The response of an undamped system under harmonic forcing eq. (2.38) for = 1.001n
with n = 2.
The limiting solutions that occurs when n is clear from Fig. 2.4. Starting at x = 0 at
t = 0, the amplitude of x grows linearly with time, while it oscillates with the natural frequency.
The exact form of the solution when = n can be obtained from(2.38) by taking the limit as
r 1 by LHopitals rule:
d
F0 dr cos rn t cos n t)
= n : x(t) = d
at r = 1. (2.39)
k dr 1 r
2
This gives
F0
= n : x(t) = t sin n t for t 0. (2.40)
2mn
Check that this satisfies eq. (2.5) with zero damping (c = 0).
Another way to look at the solution (2.37) is to use the trigonometric identity
1 1
cos cos = 2 sin ( ) sin ( + )
2 2
to express it as
10
0
k x(t)F
0
10
0 10 20 t 30 40 50
Figure 2.5: The response of an undamped system under harmonic forcing eq. (2.38) or eq. (2.41)
for = 1.1n with n = 2.
Figure 2.5 plots the response for r = 1.1 (see Fig. 2.3b) for 50 cycles of the oscillator (which has
unit period). The two frequencies 12 (n + ) = 1.05n and 21 (n ) = 0.05n are evident in fast
and the slow oscillation, respectively. This effect, a slow modulation of a much faster oscillation
is common, e.g. the phenomenon of beats where the sound from two tuning forks have slightly
different frequencies. The two sounds interfere constructively and destructively to give rise to a
single acoustic sound of the form shown in Fig. 2.5.
Note that the maximum amplitude of (2.41) occurs when both the sin functions reach the
maximum (unity) at approximately the same time. It follows that
F0
|xmax | . (2.42)
|r 1|k
This agrees with the maximum amplitude of 10 Fk0 in Fig. 2.5. Note that it takes about |r1|
1
cycles
to reach the maximum amplitude.
In summary, when the drive frequency equals the natural frequency and there is no damping,
then the system amplitude increases with time. In principle the amplitude grows without bound,
but in practice some physical effect limits the amplitude. The solution (2.40), shown in Fig. 2.4,
explains how the particular solution for harmonic forcing can become infinite, see Fig. 2.2b. In
reality, it never reaches the steady state, or put another way, it takes an infinite time to become
infinite in amplitude.
m
x = k(x y) c(x y)
+F (2.43)
30
where F is the applied force acting directly on the mass. For the present we assume F = 0, so the
equation of motion can be written
m
x + cx + kx = cy + ky (2.44)
y = Y sin b t (2.45)
where Y (constant) is the maximum amplitude, and b is the frequency of the base motion. Eq.
(2.44) becomes
m
x + cx + kx = cb Y cos b t + kY sin b t
= F0 cos(b t 0 ) (2.46)
where
p k
F0 = Y k 2 + (cb )2 , 0 = tan1 (2.47)
cb
Thus, the motion of the mass, described by eq. (2.46), is the same as if the base were fixed
and the mass subject to a harmonic forcing of amplitude F0 at frequency b , with a phase shift 0 .
Using k = mn2 and c = 2mn , allows us to rewrite the amplitude and phase as
p n
F0 = Y mn n2 + (2b )2 , 0 = tan1 (2.48)
2b
We can write down the particular solution for the mass motion using (2.19), and taking into account
the phase shift and the special form of the forcing:
F0 cos(b t 0 )
x(t) = q
k 2
(1 nb )2 + 2 nb
2
s
n2 + (2b )2
= Y n 2 cos(b t 0 ) (2.49)
(n2 b2 )2 + 2b n
or
x(t) = X cos(b t 0 ) (2.50)
where s
1 + (2r)2 b
X=Y 2 , r= . (2.51)
(1 r2 )2 + 2r n
The ratio X/Y is called the transmissibility ratio. It clearly shows a resonance behavior, partic-
ularly for small damping. For small values of , we can easily see that the maximum transmissibility
ratio will be 1/(2). Hence, the motion of a lightly damped system can be very sensitive to the
motion of its base. This is the fundamental reason for vibration isolation of lightly damped systems.
Relative motion
The displacement of the mass relative to the base, z = x y, is sometimes of interest, e.g. in
vibration measuring instruments, see Section 2.5.2. The equation is, from (2.44),
m
z + cz + kz = m
y for z = x y. (2.52)
31
z + cz + kz = mb2 Y sin b t.
m (2.53)
This is just like eq. (2.4) withsin instead of cos, but that is not a major complication. The amplitude
of z, say Z follows directly from (2.24) with F0 = mb2 Y , b as
Y r2 b
Z=p , r= . (2.54)
(1 r2 )2 + (2r)2 n
using cos(a + b) = cos a cos b sin a sin b, and where where r = /n and
2 = tan1 2r (2.61)
F0 1
A= q (2.62)
k 2
(1 r2 )2 + 2r
32
Note that this force transmissibility FF0b is identical to the displacement transmissibility X
Y of (2.51)
for the system subject to base motion.
The base force is often a quantity that one wants to minimize. Hence, it is important to examine
the behavior of the ratio in (2.63). It clearly exhibits resonance, and if the base excitation is to
be minimized, then one should avoid forcing at the resonant frequency. What about low and high
frequencies? These can be understood by considering the limiting behavior of the ratio in (2.63)
for small and large values of r, respectively. Thus,
Fb 1 , r 0
(2.64)
F0
0 , r
At low frequency the applied force is completely transmitted to the base, with no amplification, but
with no reduction. However, at high frequencies the transmitted base force tends to zero. This is
a fundamental result of great significance in designing systems, as it guarantees vibration isolation
if the drive frequency is far greater than the resonance frequency of the support system.
2 2v
b = = rad/s (2.65)
T 36
The problem is to find the value of that minimizes the transmissibility X/Y at r = 2. Thus, from
(2.51), at r = 2
s
X 1 + (2r)2
= 2
Y (1 r2 )2 + 2r
s
1 + 16 2
=
9 + 16 2
r
8
= 1 (2.66)
9 + 16 2
FT 2
n2 FT = mb2 Y, b n (2.68)
kY b
where we used k = mn2 again. These two equations for low and high frequency show that in each
regime only one of the three physical parameters of the m c k system comes into play. Thus, at
low frequency, the stiffness dominates the motion, while at high frequency the mass is the dominant
parameter. These separate frequency regimes are sometimes referred to as the stiffness and mass
regimes.
What happened to the dashpot parameter c? It does not have much effect in the stiffness or
mass-dominated regions, but it becomes important in the crossover at resonance. We have seen
1
that the limiting amplitude at resonance is always of the form 2 = km
c which involves all three
parameters.
Another way of looking at the low frequency, or stiffness regime, is that it is governed pri-
marily by the static response, because inertia and acceleration are small (they are proportional to
(frequency)2 ). Therefore, it is sometime appropriate to talk about a quasi-static response, where
the motion is governed by the stiffness primarily. However, near and above resonance, inertial
effects are all-important, and cannot be ignored.
x0 = x + e cos r t
where e is the radius of the rotor. We consider the system of box and rotor, which is subject to the
external forces kx and cx, while the momentum in the xdirection is made up of two parts:
(m m0 )v and m0 v0 where v = x and v0 = x 0 . Hence, the equation of motion for the system is
(m m0 )
x + m0 x
0 = kx cx (2.69)
or
x + m0 x
(m m0 ) r2 e cos r t = kx cx (2.70)
34
Example
A motor, m = 150 kg, has a rotating unbalance m0 = 0.5 kg, e = 0.2 m. The mount is a cantilever
beam, length L = 1 m, E = 2.1 1011 N/m2 . The operating range is 500 1200 rpm and = 0.1.
Find the cross-sectional moment of inertia I which ensures that the amplitude of vibration is less
than 1 mm.
Solution: Given,
mX 150 103
= = 1.5, (2.81)
m0 e 0.5 0.2
this maximum amplitude will be achieved at nondimensional frequency r satisfying
r2
1.5 = q 2 , (2.82)
2 2
(1 r ) + 2r
or
0.556 r4 1.96 r2 + 1 = 0 r = 0.787, 1.706
Based on the curve of (2.74), we know that amplitude would be even greater if
and therefore we want to make sure that the operating frequency range does not lie in this region.
This gives us two options: the operating range is such that (a) r 0.787, or (b) r 1.706.
(a) r 0.787 implies that the upper frequency, r = 2(1200/60) corresponding to 1200 rpm
is r 0.787. That is,
1200(2)
0.787 if n 159.7 rad/s
60n
But r
3EI (159.7)2 (1500 rad2 m3 kg
n = I
mL3 3(2.1)1011 s2 N/m2
or
(a) I 6.07 106 m4
(b) r 1.706 must hold for the lowest operating frequency, implying
500(2)
1.706
60n
where
2
p = p, (2.84)
T
and the Fourier coefficients can be expressed as integrals:
Z
1 T
a0 = F (t)dt, (2.85)
T 0
Z
2 T
ap = F (t) cos p tdt, p 1, (2.86)
T 0
Z
2 T
bp = F (t) sin p tdt, p 1. (2.87)
T 0
By splitting the forcing into a sum of harmonic forcing terms we can use the linearity of the system
to write the solutions as a sum of solutions for each of the harmonics terms. Note that the particular
solution for F = a0 is x = a0 /k. The particular solutions for the cos and sin terms follow from eqs.
(2.32) and (2.33). Putting it all together gives
a0 X (ap ibp ) eip t
x(t) = + Re . (2.88)
k
p=1
m n2 2p + i2n p
t T T
F (t) = F0 for < t < ; F (t + T ) = F (t), T = 2, (2.90)
2 2
so that p = p, see (2.84). This is an odd function, so the ap coefficients are all zero. Simple
integration gives
2 2 X (1)p+1
bp = (1)p+1 F (t) = F0 sin pt. (2.91)
p p
p=1
where I is a constant and (t) is the delta function. The latter can be considered as a spike at
t = 0 which is zero at all other times, and which has area of one underneath the spike. It can also
be considered as the limit of a step function of width 1/N and height N as N :
1 1
(t) = lim N H(t )H(t + ). (2.94)
N 2N 2N
The delta function is an even function, (t) = (t), and has the property4
Z b Z b (
f (t0 ) if a < t0 , b > t0 ,
(t0 t)f (t)dt = (t t0 )f (t)dt = (2.95)
a a 0 otherwise.
It can select out the value of a function at a given time. The same property means that we could
express a function as an integral of delta functions. Assuming f (t) = 0 for t < 0 then it can be
expressed for t > 0 as a sum/integral of all the values of f ,
Z
f (t) = (t t )f (t )dt . (2.96)
0
This integral only picks out the value at t = t so it seems like we are making things more
complicated than necessary. However, it provides the basis for expressing the solution of the
forced SDOF for any forcing function f (t). To see this, suppose the solution for forcing (2.93) is
x(t) = I g(t). Then the solution for any force F (t) that is zero for t < 0 will be
Z
x(t) = g(t t )F (t )dt . (2.97)
0
We can simplify this without known anything about g(t) except for the obvious physical property
that it must be zero for t < 0, which is just a statement of cause and effect (or causality), that the
system cannot respond before the force is applied. This means that g(t t ) = 0 for t > t and
hence the integral reduces to
Z t
x(t) = g(t t )F (t )dt . (2.98)
0
This type of integral is known as a convolution integral and the function g(t) is the impulse response
function.
m
x + cx + kx = I (t). (2.99)
4
The function f (t) has to be smooth at the value t0 , i.e. it is continuous at t0 .
38
In addition, we have the initial conditions that the velocity and displacement are zero before the
force is applied, i.e. for t < 0. Consider two instants in time, once before t = 0 and the other after
t = 0, say t1 < 0 and t2 > 0. If we integrate both sides of (2.99) from t1 to t2 ,
Z t2 Z t2 Z t2 Z t2
m x
dt + c xdt
+k xdt = I (t)dt (2.100)
t1 t1 t1 t1
then using the property of the delta function that it picks out t = 0, and directly integrating the
derivatives x
and x,
we have
Z t2
m v(t2 ) v(t1 ) + c x(t2 ) x(t1 ) + k xdt = I. (2.101)
t1
where v(t) = x is the velocity. But since x and v are zero for negative times, this simplifies to
Z t2
mv(t2 ) + cx(t2 ) + k xdt = I. (2.102)
0
This is valid for any t2 > 0. Now let t2 0. How should we interpret (2.102)? Since x(t) and v(t)
are zero for t < 0, this equation means that one or both of them will be non-zero just after t = 0.
The correct way to interpret (2.102) is that x remains zero just after t = 0 but v takes a jump.
The integral in (2.102) is then zero and the value of v after the jump follows from
This makes sense: it says that the change in momentum of the system caused by the delta force at
t = 0 is equal to I, which must have the units of an impulse (i.e. force time).
With this interpretation we can exactly replace (2.99) with an initial value problem for the
system with no forcing:
I
m
x + cx + kx = 0 for t > 0; x(0) = 0, x(0)
= . (2.104)
m
The solution is now relatively straightforward: the sum of the two linearly independent solutions of
the homogeneous equation that satisfies the initial conditions. This is, using eq. (1.49) with x0 = 0,
v0 = I/m,
I
x(t) = sin d t en t . (2.105)
md
Since x(t) = I g(t) by definition, it follows that the impulse response function is
(
1
md sin d t en t , damped,
g(t) = 1
(2.106)
mn sin n t, undamped.
Power and energy are proportional to x2 , and since we are dealing with ratios, we can just as well
define the dB level in terms of a ratio of the displacement magnitude:
x2 x
decibel level 10 log10 2 = 20 log10 (2.108)
x0 x0
Often, x0 and P0 are chosen as the maximum values, so that the dB level is then negative. For
instance, if
1 x 1
P = P0 =
2 x0 2
then the dB level is 10 log10 2 3 (numerically). This particular dB level is called the 3 dB
point, and is commonly used in defining resonances and in practical measurements of vibrating
systems. The 3 dB points on either side of a resonance maximum define the frequency range over
which the resonance is reduced to one half (power) and the associated frequency width is called
the 6 dB width. It gives a measure of the sharpness of the resonance.
What are the 3 dB points? We can find them from the standard formula, e.g. for the forced
SDOF system, for which
F0
A= q 2 , (2.109)
2 2
k (1 r ) + 2r
F0
The maximum value, assuming small damping ( small) is A0 k2 , and hence
q
A 2 1 2
=q 2 = 2 if (1 r2 )2 + 2r = 2 2 (2.110)
A0
(1 r2 )2 + 2r
r4 2r2 (1 2 2 ) + 1 8 2 = 0 (2.111)
and hence
p
r2 = 1 2 2 2 1 + 2
1 2 (2.112)
r 1 = n n (2.113)
Hence we have the important result: the 6 dB width is 2n (for lightly damped SDOF sys-
tems). This provides another way to measure the damping, and it is a very practical and useful
method. Note that the width of the resonance is inversely proportional to its strength - which is a
characteristic feature of the resonance of a lightly damped system.
Other terminology used: The quality factor Q is the resonant amplification, i.e.
1 n
Q= = (2.114)
2 6 dB width
A high Q system is one that exhibits a sharp and strong resonance. In short:
How do we measure vibration? We have seen enough of SDOF systems to understand the principles
used to measure vibration. All vibrational measurement instruments have mass and stiffness, and
therefore they have their own natural frequency, n . The characteristic feature of instruments is
that they operate in either the low or the high frequency regimes, relative to n , but not at or near
the natural frequency itself.
The general feature of instruments is that they measure the relative motion of the interior, or
active mass, and the instrument body. The motion of the mass is therefore the motion of the
mass in a SDOF system subject to base excitation, at the operating frequency b . The quantity
of interest and the quantity that is measured in practice is the relative motion z = x y, which
satisfies eq. (2.52) or equivalently,
z + 2n z + n2 z = b2 Y cos b t (2.115)
y = Y cos b t.
Then
z = Z cos(b t )
Z r2 2r b
=q 2 , = tan1 , r= . (2.116)
Y 2 2 1 r2 n
(1 r ) + 2r
Z
1, seismometer
Y
The mass is usually surrounded by a coil so that it induces an electric voltage as it moves. The
measured voltage is therefore directly proportional to the velocity of the base.
41
Figure 2.6: The heavy mass of the seismograph remains stationary as the surface of the earth moves.
This seismograph measures vertical motion. Variations on the same idea are used for measuring
horizontal motion. Based on this wikimedia file.
Accelerometer: A stiff piezoelectric crystal (the spring) is placed in series with a small mass
m. The accelerometer is designed so that it operates at frequencies far below its own natural
frequency, b n . Therefore, the mass moves, and its relative displacement, from (2.116), is
approximately
b2
z y
n2
The voltage that is measured is proportional to the relative displacement (through the squeezing
of the piezoelectric crystal) and therefore the voltage is directly proportional to the acceleration of
the base. That is, the accelerometer measures acceleration, hence its name.
The accelerometer is the workhorse of all vibrational measurements, and it is worth considering
some of the details that go into its design. When measuring vibration, we first must choose an
accelerometer with a frequency range of operation that includes the frequencies we are interested
in, e.g. 0 10 kHz. The natural frequency of the accelerometer must greatly exceed the upper
frequency, this case 10 kHz or 10, 000 2 63, 000 rad/s. This can be achieved, e.g., by selecting
a device with a small mass (the smaller the mass the higher the natural frequency), and as a result,
as the operating frequency increases, the accelerometer size decreases.
42
Figure 2.7: Schematic of how an accelerometer in a cellphone works. The mass, called the seismic
mass (not to be confused with the seismometer) translates relative to the body, causing an electric
signal from the varying capacitance.
Flatness of the response: the model is based on the low frequency approximation to the
response, which gives z proportional to the acceleration of the base. How well does this approxi-
mation hold, or how flat is the response? The answer depends on the error, which is the difference
between the approximation and the exact response. Specifically, we define the error as the difference
between the measured and predicted values of Z/(r2 Y ),
1
error 1 q 2
(1 r2 )2 + 2r
where we have used the fact that r is small. The error can be minimized over a wide rangeof
frequency if the damping is such that (2.117) is zero, to leading order,
which occurs for = 1/ 2.
Therefore, the optimal damping for an accelerometer is = 1/ 2 which ensures a flat response
over a wide range of frequency. Recall that this value of is the one separating the occurrence of
a definite peak in the response (for > 1/sqrt2), from the case when there is no maximum.
Phase distortion: Practical measurements are not usually for a simple harmonic motion, but
comprise many frequencies simultaneously. Consider
for which, using the linearity of the system and the equations
12 12
z= Y 1 cos( 1 t 1 ) + Y2 cos(2 t 2 ) (2.119)
n2 n2
But z is not proportional to y:
y = 12 Y1 cos 1 t 22 Y2 cos 2 t
43
The problem comes from the phase terms 1 and 2 . Any phase means that the measured response
is not exactly the same as the excitation, but is delayed in time. The problem can therefore be
solved if both signals have the same time delay, in which case the response will be proportional to
the acceleration, but delayed slightly. We therefore need
1 2
T (2.120)
1 2
1
z(t) y(t T ) (2.121)
n2
2b /n
= tan1 (2.122)
1 (b /n )2
Let = T b , then
2b /n sin T b T b + . . .
= = (2.123)
1 (b /n )2 cos T b 1 21 (T b )2 + . . .
We can therefore get a very good approximation if both of the following hold:
b2 1 b
1 2
1 (T b )2 and 2 T b (2.124)
n 2 n
Solving the first gives T , and plugging into the second gives :
2 1
T = and = (2.125)
n 2
We found = 12 before as the optimal damping (for giving a flat response). In addition, we see
that the same choice of damping is the only one that ensures a phase delay proportional to the
excitation frequency, and therefore it is the unique value of damping that minimizes the response
distortion. In summary, the optimal damping gives
1 2
z(t) 2 y(t ) (2.126)
n n
The actual time delay n2 is not significant; it is more important to ensure the fidelity of the
instrument under general excitation.
2.6 Problems
1. Another way to solve eq. (2.5) is to assume that
where C1 and C2 are found by plugging x into eq. (2.5) and then comparing terms on both
sides that have cos t and sin t. This gives two separate algebraic equations (instead of the
single equation (2.12)). Show that the solution is the same as that of eqs. (2.17) and (2.19).
44
2. (a) An undamped spring-mass system with m = 4 103 kg, k = 1 105 N/m is subject to
harmonic forcing at twice the natural frequency n . The steady state amplitude |A| of the
mass is observed to be 2 mm. Find the magnitude of the forcing, F .
Hint: First write out the equation relating |A|, F , m, n and .
(b) A machine of mass m = 1 103 kg is constrained by a spring of stiffness k. Find the value
of k such that the maximum amplitude of the machine displacement is |A|=10 mm when
subject to harmonic forcing of magnitude F = 3 103 N at radial frequency = 10 s1 .
Hint: No damping, use the same equation as in (a).
Circle the correct answer for (a) and (b), and show your work below.
1 1
(a) 3 2 1 2 3 4 6 8 20 30 60 ( 102 N)
(b) 0.2 0.4 0.6 0.8 2 4 6 8 ( 105 N/m)
Solution:
F0
(a) (10). |A| = 2 2 +2i |
m|n n
= 0 |A| = m|F2 02 |
n
F0 F0
= 2n 2 = 4n2 |A| = m3n2 = 3k F0 = 3k|A|
1. |km indicates a SDOF spring and mass. The | means that the spring is attached at this end.
2. |kmk| is a SDOF mass with springs on either side. E.G. |k1 mk2 | 2 = (k1 + k2 )/m.
3. |kmkm is a 2-DOF system with the mass on the right attached only to one spring.
4. |kmkmk| is a 2-DOF system with the mass on the right attached to two springs.
5. mkm is a 2-DOF system with the masses connected by one spring, otherwise free.
7. mkmkm is a 3-DOF system with the masses connected by two springs, otherwise free.
Thus, if mass j is moved by the displacement xj and all the others are kept fixed (zero), then kij
is the force on mass i required to maintain this displacement for mass j.
The Flexibility matrix A is defined as the inverse of K:
A = K1 x = Af (3.2)
The element aij , i, j = 1, 2, . . . , n can be thought of as follows: if mass j is subject to the force fj
and all the others are not forced (zero forces), then aij is the displacement on mass i .
45
46
3.2 Examples
3.2.1 A 3-DOF system
Three masses and four springs in series |k1 m1 k2 m2 k3 m3 k4 | gives three eqs:
m1 x
1 + (k1 + k2 )x1 k2 x2 = 0 (3.3)
m2 x
2 k2 x1 + (k2 + k3 )x2 k3 x3 = 0 (3.4)
m3 x
3 k3 x2 + (k3 + k4 )x3 = 0 (3.5)
The 3 eqs are the same as a single vector eq:
m1 x1 + (k1 + k2 )x1 k2 x2 0
m2 x 2 k2 x1 + (k2 + k3 )x2 k3 x3 = 0 (3.6)
m3 x3 k3 x2 + (k3 + k4 )x3 0
The vector is 3 1. But that is not much use. How about the sum of two vectors equals zero?
m1 x
1 (k1 + k2 )x1 k2 x2 0
m2 x2 + k2 x1 + (k2 + k3 )x2 k3 x3 = 0 (3.7)
m3 x
3 k3 x2 + (k3 + k4 )x3 0
Better but still not much different from (3.3). The real use of linalg is to use vectors together with
matrices.
The idea is to multiply vectors by matrices. If A is a 3 3 matrix and v is a 3 1 (rows
columns) vector, then Av is 3 1, i.e. a column vector.
a11 a12 a13 v1 a11 v1 + a12 v2 + a13 v3
Av a21 a22 a23 v2 = a21 v1 + a22 v2 + a23 v3 (3.8)
a31 a32 a33 v3 a31 v1 + a32 v2 + a33 v3
So we can write (3.7) as
m1 0 0 x
1 k1 + k2 k2 0 x1 0
0 m2 0 x 2 +
k2 k2 + k3 k3 x2 = 0
(3.9)
0 0 m3 x
3 0 k3 k3 + k4 x3 0
Its simpler to write it as
M
u + Ku = 0, (3.10)
where
m1 0 0 k1 + k2 k2 0 x1
M = 0 m2 0 , K = k2 k2 + k3 k3 , u = x 2 . (3.11)
0 0 m3 0 k3 k3 + k4 x3
Thus, M and K are 3 3 and u is 3 1.
We are using the same complex-number notation as before when we considered the SDOF system.
The real physical displacement is found by taking the real part of u, in other words to be strictly
correct we should write u(t) = Re Ueit but we will leave out the Re bit as being obvious and
automatically understood. If U is a real vector, say U = U1 then we have in fact that u(t) =
U1 cos t. Alternatively, if U = iU2 where U2 is real, then u(t) = U2 sin t. More generally, we
can always write U = U1 + iU2 , so that the real displacement is u(t) = U1 cos t U2 sin t.
Consider a system |k1 m1 k2 m2 k3 . . . ki mi ki+1 mi+1 . . . mn kn+1 . . . mN kN +1 |. What is kii ? To find it,
imagine moving mi by xi with the others fixed. To do this, the force fi must counter the two springs
on either side of mi , that is kii = ki + ki+1 . What about ki i+1 ? This must be equal and opposite
to the force on the other end of the spring ki+1 , so ki i+1 = ki+1 . Similarly ki i1 = ki1 . The
elements are zero except for the nearest neighbors, because only the nearest neighbors need to be
forced to maintain the displacement xj with all others zero.
This is a slightly different way of looking at the issue than we discussed in class. There we looked
at the force on each mass, say mj , and argued that it only depends on the relative displacements
of this mass and its neighbors. We get the same result for K whatever way we look at it:
k1 + k2 k2
k2 k2 + k3 k3
k 3 k 3 + k4
K=
..
(3.13)
.. .. .. .. ..
.. kN
kN kN + kN +1
mi x
i = ki (xi xi1 ) ki+1 (xi xi+1 ) (3.14)
The ends are taken care of by defining x0 = 0 and xN +1 = 0. The ends are fixed. We could consider
the case of free ends by letting k1 = 0 (free at left end) and/or kN +1 = 0 (free at the right end).
For example, if n = 2, we have |k1 m1 k2 m2 k3 | and
k + k2 k2
K= 1 (3.15)
k2 k2 + k3
The flexibility matrix can be determined from eqs. (3.2) and (3.15) as
1 k2 + k3 k2
A= (3.16)
k1 k2 + k2 k3 + k3 k1 k2 k1 + k2
48
L1
L2
G
x
k1
k2
The car is modeled as a 2DoF system with x the vertical displacement of the center of mass G and
the rotation angle, both measured from static equilibrium (x = 0, = 0). The vertical displacement
of the left end of the rigid bar of mass m, centroidal moment of inertia IG is x + L1 , and of the
right end, x L2 , see Fig. 3.1. Taking the sum of the forces acting gives the equation of motion
of the center of mass
mx = k1 (x + L1 ) k2 (x L2 ), (3.17)
and taking the moments about G gives
IG = L1 k1 (x + L1 ) + L2 k2 (x L2 ). (3.18)
1 a 2
a
L2
L1 k
m2
m1
Figure 3.2: The pendula are coupled by the spring.
49
Two light but rigid thin rods support masses with a spring connecting them as shown in Fig. 3.2.
The extension of the spring is a(2 1 ). The equations of motion can be found by taking moments
about the two support points, left and right respectively give
m1 L21 1 = m1 gL1 1 + ka2 (2 1 ),
m2 L22 2 = m2 gL2 2 ka2 (2 1 ). (3.20)
The matrix form of the two equations is
m1 L21 0 1 m1 gL1 + ka2 ka2 1 0
+ = . (3.21)
0 m2 L22 2 ka2 m2 gL2 + ka2 2 0
1
L1
m1
2 L2
m2
Figure 3.3: The double pendulum.
The first pendulum, length l1 , mass m1 , hangs from a fixed point. The second pendulum, length
l2 , mass m1 , hangs from m1 . Let j , j = 1, 2 be the angle pendulum j makes with respect to the
vertical. Assume small angles of motion. The horizontal positions of the two masses are
x1 = l1 sin 1 l1 1 ,
x2 = x1 + l2 sin 2 l1 1 + l2 2 . (3.22)
The horizontal forces acting on the masses are due to the tensions. taking the components in the
direction of xj ,
on m1 : T1 sin 1 + T2 sin 2 T1 1 + T2 2 ,
on m2 : T2 sin 2 T2 2 . (3.23)
The equations of motion follow from (3.22) and (3.23)
m1 l1 1 = T1 1 + T2 2 ,
m2 (l1 1 + l2 2 ) = T2 2 . (3.24)
50
In the small angle approximation the tensions in the two strings are the same as in static equilibrium,
that is
T1 = (m1 + m2 )g, T2 = m2 g (3.25)
Hence,
m1 l1 1 = (m1 + m2 )g1 + m2 g2 ,
m2 (l1 1 + l2 2 ) = m2 g2 , (3.26)
Note that the mass and stiffness matrices for this pair of equations are not symmetric. If we however
replace the first equation by the sum of the two equations,
(m1 + m2 )l1 1 + m2 l2 2 = (m1 + m2 )g1 ,
m2 (l1 1 + l2 2 ) = m2 g2 , (3.27)
then multiply the first by l1 and the second by l2 , we get
(m1 + m2 )l12 1 + m2 l1 l2 2 = (m1 + m2 )gl1 1 ,
m2 (l1 l2 1 + l2 2 ) = m2 gl2 2 ,
2 (3.28)
or in matrix form with symmetric matrices,
(m1 + m2 )l12 m2 l1 l2 1 (m1 + m2 )gl1 0 1
+ = 0. (3.29)
m2 l1 l2 m2 l22 2 0 m2 gl2 2
The double pendulum equations are derived in Appendix C using Lagrange equations. Note
that this method yields symmetric matrices automatically. p
As an example, suppose m1 = m2 = m, l1 = l2 = l, and define 0 = g/l, the frequency of a
single pendulum of length l, then equations (3.26) become
1 = 202 1 + 02 2
1 + 2 = 02 2 (3.30)
Note that since these are two coupled linear equations, they can be rewritten in different ways, e.g.
1 = 202 1 + 02 2 (3.31)
2 = 202 (2 1 ) (3.32)
satisfy (2 )2 2 =
(2 ) is a factor, so = 2 is a root, and the other two 0. Putting the three
in ascending order 0 < 1 < 2 < 3 , they are 1 = 2 2, 2 = 2, 3 = 2 + 2.
Multiply (3.12) from the left by M1 , and rewrite as
M1 KU = 2 U. (3.37)
M = [L][L]T , (3.38)
where [L] is lower diagonal, i.e., with zeroes in all elements above the diagonal, Lij = 0 for all
i > j. The actual Cholesky factorization is a relatively fast numerical process, based on a simple
recursive algorithm (not discussed here). The reason for using this type of decomposition of M is
that lower diagonal matrices are easily inverted. Normally the inverse [L]1 is not stored, since
the system [L]{x} = {y} can be solved for {x} quickly. Quickly, fast and other such terms
indicate a numerical method that is an order of magnitude more efficient that a full inverse of a
dense matrix.
Returning to (3.34), we can rewrite it formally, by premultiplication by [L]1 , as
where {x0 } = [L]T {v0 }. This yields a simple eigenvalue equation for the symmetric matrix
= [L]1 K[L]T .
K (3.40)
If there are questions about (3.41), note that the square root A1/2 of a matrix is always well defined
and unique as long as the matrix A is positive definite, i.e. ut Au 0, u. The idea of square root
matrix is follows from the idea of eigenvalue/eigenvector diagonalization, which is at the heart of
modal decomposition.
If we plug (3.41) into (3.34), we can write the equation as
KM1/2 2 M1/2 M1/2 = 0. (3.42)
Equation (3.43) is now in standard form. Note that the modified stiffness matrix is symmetric,
T = K
K if K is symmetric.
Thus,
1 0 0
1 = M1/2 KM1/2
M1/2 = 0 12 0 K
m
0 0 1
3 1.5 0
EI EI
= 1.5 1.5 1.5 K (3.46)
mL3 mL3
0 1.5 1.5
and
I = EI K I , EI
K 3
where = (3.47)
mL mL3
The equation for the modal frequencies is
3 1.5 0
det K I = 1.5 1.5
1.5 (3.48)
0 1.5 1.5
or
3 7.5 2 + 13.5 = 0 (3.49)
53
Note that this matrix is normalized, i.e. the vectors are all of length one, t1 1 = 1, etc., and
they are orthogonal, t1 2 = 0, etc. This means that the matrix is orthogonal
1 1 0 0
T = [ 1 , 2 , 3 ] 2 = 0 1 0 . (3.52)
3 0 0 1
The mode shape matrix is
0.4082 0.7071 0.5774
= [1 , 2 , 3 ] = M1/2 = 0.4082 0 0.2887 (3.53)
0.4082 0.7071 0.5774
is the mode shape matrix in physical coordinates. Note that is not orthogonal, but since
is, it means that T M = I, see section 3.3.7.
The three columns in correspond to the three modal frequencies in (3.50). Note how the
first one for 1 = 0 has identical values in each row. This corresponds to a mode where each xj ,
j = 1, 2, 3 moves the same amount and is known as a rigid body mode. The reason for this mode
appearing now where it did not before is that we have allowed the masses to be unconstrained. This
extra degree of freedom arises from the fact that we chose to use the three DOF, one for each mass.
But in practice the interesting and physically significant modes are the second and third ones. In
the second mode the middle mass does not move and each wing moves in opposite directions. In
mode 3, the two wings move in the same direction and the center in the opposite direction, such
that the center of mass does not move.
In summary, the rigid body mode occurs if the entire structure can translate or rotate.
where
1 i
2 =
2 . (3.57)
1 + i
Note that the damped equation (3.56) is exactly the same in form to the undamped equation
except that the frequency is
rather than . It means that the modal vectors are the same as the
undamped modal vectors. The mode frequencies j can be obtained from (3.57) where now j are
the undamped frequencies (which are real valued). The damped mode frequencies j are complex
valued, just like the SDOF damped system. In fact we can solve for the damped frequencies in a
way that is just like the SDOF case by rewriting (3.57) as
2 i
+ 2 = 0,
(3.58)
or equivalently
1
2 2i 2 = 0 where =
+ . (3.59)
2
In other words, the damped mode is like a SDOF with natural (undamped) frequency j and modal
damping factor
1
j = j + . (3.60)
2
j
3.3.7 Orthogonality
Orthogonality of modes
Consider two distinct modes i and j , satisfying
K i2 M i = 0, K j2 M j = 0, i 6= j. (3.61)
Multiply the first on the left by Tj and the second on the left by Ti , to get
Tj Ki = i2 Tj Mi , Ti Kj = j2 Ti Mj . (3.62)
This is where we use the fact that the matrices M and K are symmetric, which implies
Tj Ki = Ti Kj , Tj Mi = Ti Mj . (3.63)
Ti Mj = 0, and Ti Kj = 0 (3.65)
Two vectors v1 , v2 satisfying v1T Bv2 = 0 are said to be orthogonal with respect to the matrix
B. Thus, the modes are orthogonal with respect to both the mass and the stiffness matrices.
It is traditional to normalize the eigenvectors (modes) with respect to the mass matrix. Define
i = q i , (3.66)
T
i Mi
then it is clear that these vectors satisfy the simpler orthogonality condition
Ti Mj = ij , where ij = 1, i = j; ij = 0, i 6= j, (3.67)
55
that is
T M = I. (3.68)
The normalization condition (3.68) implies that the inverse of the mode matrix can be expressed
simply as
1 = T M. (3.69)
left multiplying this by gives another useful identity
T M = I. (3.70)
The reason for normalizing with the mass rather than the stiffness is that the former is often
diagonal. For instance, if it has the simplest form M = mI, then M = mI and (3.68) becomes
Ti j = m
1
ij .
Modal coordinates
Define the N N matrix of modal vectors
= 1 , 2 , . . . , N (3.71)
Then
T1
T
2
T M = . M 1 , 2 , . . . , N
..
TN
1
1
= = I. (3.72)
...
1
where
12 1
2
2 22 2
nat = nat = , nat = . (3.74)
... ...
2
N N
These are the fundamental relations that we will use below
{x(0)} = {a},
(3.75)
{x(0)}
= {b},
Undamped solution
Assume the solution of the form
n
X
{x(t)} = j Aj cos j t + Bj sin j t). (3.76)
j=1
This is just like the SDOF solution, but with a contribution from each mode that is proportional
to the mode shape. It should be clear that (3.76) is a solution to the homogeneous equations of
motion (3.33). Then it follows that
n
X
{x(0)} = j Aj = {a},
j=1
n (3.77)
X
{x(0)}
= j Bj j = {b}.
j=1
{A} = T M{a},
1 T (3.79)
{B} = M{b}
nat
1 1
where nat = nat is the diagonal matrix with values 1/1 , . . . 1/n . Substituting back into
(3.76) allows us to write the solution in matrix form as
sin nat t T
{x(t)} = cos nat t T M{a} + M{b} (3.80)
nat
where cos nat t is the diagonal matrix with entries cos 1 t, . . . cos n t, etc. It is clear from this
form of the solution when t = 0, {x(0)} = IT M{a} = {a} using the identity (3.70). Similarly
{x(0)}
= T M{b} = {a}, showing that all of the initial conditions are satisfied.
Damped solution
Assume the damping is proportion, as described in section 3.3.6. Then the modes are the same as
for the undamped case and the modal frequencies become complex valued as in the SDOF system
according to equation (3.60). Based on the undamped solution (3.80), and the initial value problem
for the damped SDOF case, it can be shown that
sin damp t nat t T
{x(t)} = cos damp t + nat e M{a} (3.81)
damp
sin damp t nat t T
+ e M{b}
damp
q
where nat j , j and damp 1 j2
j , see section 3.3.6. It follows that this solution
satisfies the initial conditions (3.75).
57
ka F0
Xa = (3.89)
(k + ka m 2 )(ka ma 2 ) ka2
The displacement of the main mass, given by (3.88), will be zero if the added mass and its
spring are such that ka ma 2 = 0 or
ma 2 = ka (3.90)
Thus, it is possible to completely eliminate the resonance by tuning the added mass to the drive
frequency! The added mass has non-zero displacement, equal to
F0
Xa = (3.91)
ka
58
Example
A rotating saw operating at 180 cycles per minute is positioned on a table. The saw is unbalanced
so that it exerts a force of magnitude 13 N on the table. Assume that the legs of the table have
effective stiffness of 2600 N/m. Find the parameters for an added mass vibration absorber which
eliminates the vibration of the saw, and is such that no part of the whole system vibrate with
amplitude more than 2 mm.
Here the saw acts as the main mass (unknown but assumed large relative to ma ) and the added
mass should make the amplitude of the saw vibration zero. Hence, according to (3.90),
ma (2180/60)2 = ka (3.92)
Since the saw does not vibrate (because we are choosing the added mass according to (3.90)), the
only vibration comes from the added mass itself, and is given by (3.91). hence we require that
13
2 103 m (3.93)
ka
Solving (3.92) and (3.93) implies that the vibration absorbed should be such that
If ka = 6, 500 N/m then the mass should be 18.29 kg. This choice of vibration absorber will give
the desired response and is a valid design option.
where it is understood that 0 = 0, and that the real part of the solution is implicit (complex-valued
physical quantities have no real meaning - pun intended). Plugging into (3.82) gives
T M{
q } + T K{q} = T {F (t)} (3.103)
Each equation is similar to that for a SDOF system, and can be solved accordingly. As with the
SDOF system we need to distinguish different types of forcing:
In the former case, the general solution can be written formally using our previous results for the
SDOF forced system in terms of a convolution integral with the impulse-response function:
Z t
sin j
qj (t) = d Tj {F (t )} , j = 1, 2, . . . , N. (3.106)
0 j
It is interesting to compare (3.110) with the direct solution found previously, (3.100). Comparing
this with the modal approach gives two alternate representations for the amplitude vector:
1
{X} = K 2 M {F0 }, (3.111)
1
{X} = 2 T {F0 }. (3.112)
nat 2
Since the forcing vector is arbitrary, this implies the identity
1 1 T
K 2 M = 2 2
. (3.113)
nat
The proof of this identity can be found directly by multiplication with K 2 M , followed by use
of the identities (3.72) and (3.73), and relations of the type
2
K = M nat , MT = I. (3.114)
The first of (3.114) is matrix version of the modal identities (3.61), the second one follows from
(3.68) by right multiplication with T and then left multiplication with T .
Assuming time harmonic forcing and motion, F = F0 eit , xj = Xj eit and y = Y eit , the
equation for mass j yields
j2 2ij j
Xj = Y. (3.122)
j2 2 2ij j
Substituting into the equation for the base, gives
N
X mj 2 (j2 2ij j )
F = Y. (3.123)
j=1
2 j2 + 2ij j
or
N
X
Z= Zj , (3.125)
j=1
It is perhaps not surprising that the impedances add, since the masses are attached in parallel.
P (t) = F v (3.127)
We may check this on the above example. Thus, from (3.126), we have
2mj j j 4
Re(Zj ) = , (3.132)
( 2 j2 )2 + (2j j )2
which is positive as long as cj = 2mj j j > 0. That is, power is dissipated if and only if the internal
damping is positive.
ZL
i (x)j (x)1 (x)dx = ij , (3.136)
0
where 1 is the density per unit length, which is uniform in this case and equal to M/L, M being
the total mass (M = AL). Therefore, the eigenvalues and eigenvectors are, from (4.14), (3.135)
and (3.136)
r
c 2 x
j = (2j 1) , j (x) = cos(2j 1) , j = 1, 2, 3, . . . , (3.137)
2L M 2L
p
where c = E/.
The general result (3.134) becomes, in the -DOF limit,
1
Z= 2 (0) . (3.138)
P j
i j2 2
j=1
63
or
1 X 1
= , (3.140)
Z Zj
j=1
with
M c 2
Zj = [ (2j 1) 2 ]. (3.141)
i2 2L
These arise from the fact that the axial stress, xx , in the xdirection is EU , and the force is
Axx . The negative sign in the first of (3.144) arises from the fact that the normal at that end is in
the negative direction, and therefore the force acting in the positive xdirection is Axx nx = Axx
since nx = 1.
The general solution of (3.143) is U = a1 eikx + a2 eikx , where a1 , a2 are constants. These are
determined from the end conditions (3.144) as a2 = a1 ei2kL , and a1 = F0 /[EAik(1 ei2kL )]. Thus,
This can be written in resonance form, i.e. a form that more clearly displays the resonances, by
noting that tan y is a meromorphic function (it only has poles) and it is bounded at infinity in the
complex plane. It can be shown that this implies it must be of the form
X dj
tan y = (3.148)
y yj
j
64
where yn are the poles. These are clearly (n 12 ), n = 1, 2, . . .. We can obtain the values of
dj by equating the residues of (3.148) with those of the function at each pole. Thus, we find that
dj = 1 for all j, and hence
X 1 X 1
tan y = +
n=1
y (n 2 ) n=1 y + (n 12 )
1
X 2y
= (3.149)
n=1
y2 (n 21 )2 2
where we have used k = /c, and m = AL is the total mass of the base. Alternatively, we can
write Z as
X imn n2
Z= (3.151)
2 n2
n=1
where n = (n 21 )c/L are the resonance frequencies of the free-free bar, and the masses are
defined as
2m
mn = (3.152)
(n 12 )2 2
This form of the impedance is identical in form to that for the finite system of uncoupled masses
in (3.125) and (3.126). w Damping can be included in the usual manner. For a SDOF system we
replace k by k ic. This translates to the replacement n2 n2 2in n in the multi-DOF
system, with k mn n2 and c 2mn n n .
N
X
Z= Zj , (3.153)
j=1
where N for a continuous system - one with an infinite number of DOFs. The impedance
associated with each mode can be written, in general, as
imn n2 (1 21 n n )
Zn = . (3.154)
2 n2 + 2in n
This form is motivated by the previous results for the uncoupled masses, and for the bar, each of
which can be cast in this form. It is not difficult to recognize that (3.154) should be true in general,
based on the fact that the impedance must possess resonances, i.e.poles in the plane, and that
these poles must be in the lower half plane, see Appendix A.
Note that the real part of this expression disappears in the limit as n 0, except at resonance
frequency. We need to take care in taking this limit. Let y = 2 n2 , then dy = 2d. Let be a
65
3.6 Problems
1. Consider the system shown, with two masses, each m, and three springs each of
stiffness k.
(a) Write out the two equations for the system without forcing. Let uj (t) be
the displacement of mass j.
(b) Write the equations as a single matrix-vector equation and define the
matrices.
(c) Using (b), assume solutions with cos t and find the equation for the
modal frequency .
(d) p
Find the two modal frequencies 1 < 2 in terms of 0 , where 0 =
k/m.
!
(j) 1 (j)
(e) The modal vectors can be expressed as U = (j) . Find U2 , j = 1, 2.
U2
(f) Describe the two distinct ways one would release the system from rest so as to
generate each of these modes. That is, describe the initial displacements
necessary to give each separate mode, starting from rest.
(g) The system is released from rest with u1 (0) = 1 and u2 (0) = 0. Find
u1 (t) and u2 (t) for t 0. Hint: assume a sum of the two modes u =
A1 U(1) cos 1 t + A2 U(2) cos 2 t
66
2. The |kmkmk| system shown has twomasses and three springs. Let x1 (t) and x2 (t) be the
x1
displacements to the right, with u = . The equations of motion in the absence of forcing
x2
4 1
are mu + ku = 0. Consider the case m1 = m2 = 1 (in arbitrary units) and k =
1 4
(a) What are the values of the three spring stiffnesses kj , j = 1, 2, 3?
(b) Find the modal frequencies 1 and 2 (> 1 ).
U1
(c) Find the modal vector U = for mode 2.
U2
(d) This mode vector has a pretty simple form. Give (in words) a simple physical explanation
for this.
k1 k2 k3
m1 m2
Solution:
1 0 k1 + k2 k2
m= , k= , k1 = k3 = 3, k2 = 1
0 1 k2 k2 + k3
2 4 2 1
k m=
1 4 2
k 2 m = [( 2 4)2 1] = ( 2 3)( 2 5) = 0
so
12 = 3, 22 = 5
4 5 1 1 1 0
(k 22 m)U = U= U=
1 4 5 1 1 0
U1 + U2 = 0
U1 + U2 = 0
so
1
U2 = U1 U(2) =
1
The masses are 180 out of phase. The middle spring extends/contracts symmetrically - its
center is fixed. Therefore each mass is like a SDOF with stiffness k from k1 in parallel with
2k2 , i.e. k = 3 + 2 1 = 5.
3. Systems (a), (b) and (c) have 2 masses m1 and m2 . (a) has 3 springs k1 , k2 , k3 , with k1 and
k3 attached to rigid supports. (b) is like (a) except k3 is removed. (c) has k1 and k3 removed.
Let u1 (t) and u2 (t) be the displacements of the masses to the right. No external forces act.
67
(a)
k1 k2 k3
m1 m2
(b)
(c)
Solution:
m1 u
1 = k1 u1 k2 (u1 u2 ),
m2 u
2 = k3 u2 k2 (u2 u1 ),
so
m1 0 k1 + k2 k2
m= , k= , for (a),
0 m2 k2 k2 + k3
Realistic engineering systems are -DOF systems, also called continuous systems. Examples
abound: a string, a metal bar, a beam, a membrane, a volume of air (organ pipe), etc. Let
us look at strings.
where (x) = d/dx. Let y(x, t) be the transverse displacement then Newtons 2nd law for the
element of length dx, with mass 1 dx and acceleration y, is
1 dx y = dx T (x) (4.2)
or
1 y = T (x). (4.3)
In the same small angle approximation
= y (x, t) (4.4)
where y = y/x, so that (4.3) becomes
1 y = T y . (4.5)
Equivalently,
2y 2y
1 = T (4.6)
t2 x2
The main difference with the n-DOF system is that now instead of n distinct masses we have an
infinite number of them, at every value of x. We will see below in section 4.3 how to make the
connection clearer. But first let us look at the modes of the string.
68
69
f(t) T Y (x)
= , (4.9)
f (t) 1 Y (x)
and since each side depends on only one of either x or t they must be independent of both. That
is,
f(t) T Y (x)
= 2 , = 2 , (4.10)
f (t) 1 Y (x)
where is a constant. The constant has been chosen so that the equations look familiar, e.g. the
f equation becomes
f(t) + 2 f (t) = 0. (4.11)
The solution of this homogeneous equation for f is clearly sinusoidal, with frequency which
is as yet unknown. Thus, as with finite DOF systems, we could just as well start by assuming
time-harmonic time dependence:
y(x, t) = Y (x) cos t (4.12)
The values of at which solutions like this exist are the modal frequencies.
To find the modal frequencies, either use the second equation in (4.10) or substitute from (4.12)
into (4.6), to get
d2 Y
T 2 = 1 2 Y (4.13)
dx
or
d2 Y 2
+ Y =0 (4.14)
dx2 c2
where s
T
c= . (4.15)
1
The general solution of (4.14) is
Y (x) = A cos x + B sin x (4.16)
c c
The boundary conditions on the ends of the string at x = 0, x = L are assumed fixed, so that
Which gives us two conditions to find the two unknowns A and B. The first implies A = 0, while
the second gives
B sin L = 0. (4.18)
c
70
So, either B = 0, which is not very interesting, or sin cL = 0, which occurs if
L = , 2, 3, . . . (4.19)
c
The modal frequencies are therefore
c
j = j , j = 1, 2, 3, . . . (4.20)
L
There are several things to note. First, there is an infinite number of modes - which is to be
expected. Second, the modal frequencies are all an integer multiple of the first one: j = j1 . If
we plot the mode shapes - which are sine curves,
jx
Yj (x) = sin (4.21)
L
we see that the mode 2 has a node or a point in the middle where the displacement is always zero.
Similarly, mode 3 has 2 nodes, and in general mode j has j 1 nodes equally spaced along the
string.
What is perhaps surprising is that we can find all of the modal frequencies; remember - we had
to solve algebraic equations for the finite DOF systems!. Let us return to the n-DOF system and
see how it can help us understand the DOF system.
Equation (4.6) can be written so that it clearly depends only on the speed c:
2y 1 2y
= 0. (4.22)
x2 c2 t2
This is call the wave equation; see Section 4.7 for a discussion of wave motion, i.e. solutions of this
equation and the connection with modes.
so we now have continuous functions x, k and m instead of discrete values. Equation (3.14) becomes,
using (4.25) and similar ones for the stiffness and mass,
1 1 1 1
x+[2k+hk + h2 k +. . .]xk[xhx + h2 x +. . .][k+hk + h2 k +. . .][x+hx + h2 x +. . .] = 0.
m
2 2 2 2
(4.26)
71
Here it is understood that the position is evaluated at z(= zi ) in all quantities, and the unwritten
terms are of order h3 . Simplifying we obtain
x (x k + x k)h2 + . . . = 0.
m (4.27)
Let the mass be m = 1 h, where 1 (z) is the mass per unit length in the chain, and let
kh = E1 (z), then the leading order limit of (4.27) becomes independent of h:
(x E1 + x E1 ) = 0.
1 x (4.28)
2x x
A = EA (4.30)
t2 z z
We have derived the equation of motion for longitudinal motion of a bar or rod. Remember, we
started with discrete springs and masses, and let them become vanishingly small, so that we end
up with an infinite DOF system, or a continuous system. The N discrete functions xi (t) becomes
the single function of two variables x(z, t).
2u 2u
= E (4.31)
t2 x2
is similar to the equation for the string, but the boundary conditions can be different. If the bar is
clamped at both ends, then the situation is exactly the same as for the string, the modes are sine
curves and the modal frequencies are again given by (4.20) where now
s
E
c= (4.32)
Suppose however that the bar is free at both ends, which is described as free/free boundary
conditions. Then instead of the displacement being zero, the stress or force must vanish at the
ends. The stress is = Eu/x and the resultant force is A where A =cross-sectional area. Let
2x 2x
E = 0. (4.40)
t2 z 2
p
The natural nondimensional variables are Z = z/L and = tL E/. Let x(z, t) = X(Z, , then
eq. (4.30) and the end conditions become
2X 2X
E = 0, Z(0, ) = 0, Z(1, ) = 0. (4.41)
2 Z 2
Let us reconsider the discrete N DOF system for the chain of springs and masses, with diagonal
mass matrix and stiffness matrix (3.13). For simplicity, let us assume that all masses are identical,
and all stiffnesses are identical. Then, using the relation which we determined above: mi = Ah,
and ki = EA/h, where h is the spacing, we find [M ] = Ah[I]N N and [K] = (EA/h)[J]N N
where the matrix J is defined as
2 1
1 2 1
1 2 1
[J] = ..
.. .. .. .. .. .. ..
(4.42)
.. .. .. .. .. .. .. ..
.. 1 2 1
1 2
In this case we find that the lowest eigenvalue of [J] satisfies (N + 1)2 1 0 for N 2. The reason
for this can be seen directly by evaluating det[J], which can be seen to be identically zero by using
column or row addition and subtraction. Physically, this corresponds to the possibility of a rigid
body mode, in which the entire chain is translated with no relative motion between the masses. The
second eigenvalue of [J], 2 , satisfies (N + 1)2 2 2 as N becomes large.
If one end is free and the other fixed, this corresponds to, for instance,
1 1
1 2 1
1 2 1
[J] = ..
.. .. .. .. .. .. ..
, free-fixed chain. (4.47)
.. .. .. .. .. .. .. ..
.. 1 2 1
1 2
This corresponds to the left end free and the right end fixed, and we find that the lowest eigenvalue
of [J] satisfies (N + 1)2 1 (/2)2 as N .
where 1 = A and is the mass per unit volume. The balance of moments is
dM
V = (4.49)
dx
so that
d2 M
A
y= (4.50)
dx2
The moment is related to the curvature or second derivative of y by the Euler-Bernoulli relation
d2 y
M = EI . (4.51)
dx2
The equation of flexural motion is therefore
d4 y
A
y = EI (4.52)
dx4
As before, let
y(x, t) = Y (x) cos t (4.53)
then Y satisfies
d4 Y A 2
4Y = 0 where 4 = (4.54)
dx4 EI
The general solution of (4.54) can be found by trying Y = ex , implying 4 = 4 . Therefore,
= , , i, i. Thus
Using eix = cos x i sin x, and ex = cosh x sinh x (where cosh z = (ez + ez )/2 and
sinh z = (ez ez )/2) we can write
4.6.1 Examples
Bar hinged at both ends
This example is a bit academic but it shows some of the general properties of flexural modes.
Consider a beam of length L that is hinged at both ends, also called simply supported. This
means that the displacement and the moment are both zero at x = 0 and x = L, or
d2 Y d2 Y
Y (0) = 0, EI (0) = 0 and Y (L) = 0, EI (L) = 0 (4.57)
dx2 dx2
Using (4.56) and
dY
(x) = A sin x + B cos x + C sinh x + D cosh x (4.58)
dx
the conditions at x = 0 are
A + C = 0 and 2A + 2C = 0 (4.59)
75
Therefore
B sin L = 0 and D sinh L = 0 (4.62)
But sinh x = 0 only if x = 0, and so D = 0. We cannot have B = 0 so we must have sin L = 0 or
=n , n = 1, 2, 3, . . . (4.63)
L
q
EI
Note from (4.54) that = 2 A , and hence (4.63) gives us
s
2 EI
n = n 2 2 , n = 1, 2, 3, . . . (4.64)
L A
Note that
n = n 2 1
unlike the string and longitudinal motion in a bar (n = n1 ).
q As an example, consider a beam and a bar each of length L = 1 m and each of steel: c =
E
= 5500 m/s. The fundamental frequency, f1 = 1 /(2), for the bar in longitudinal motion is
f1 = c/(2L) or f1 = 2750 Hz. Assume the beam is of thickness
h m, so that I = Ah2 /12, then the
fundamental beam flexural frequency is f1 = 5500h/(2 12). E.g. if h = 2 cm then f1 = 15.88 Hz.
Note that the fundamental flexural frequency is much lower than the longitudinal frequency, which
is common in real structures. This means in practice that flexural modes and flexural vibration are
the more important source of vibration in engineering structures.
d2 Y
(x) = 2 A cos x B sin x + C cosh x + D sinh x),
dx2 (4.66)
d3 Y
(x) = 3 A sin x B cos x + C sinh x + D cosh x).
dx3
Plugging these into the four conditions (4.65) gives four equation, which can be written in matrix
form (after dividing by common factors EI 2 and EI 3 )
1 0 1 0 A 0
0 1 0 1 B 0
cos L sin L cosh L sinh L C = 0 (4.67)
Setting the determinant of the matrix to zero gives us the desired equation for . Use the fact that
the determinant is unchanged by adding rows and columns: add the first column to the third, and
the second to the fourth, to get
1 0 1 0
0 1 0 1
det
cos L sin L cosh L sinh L
Cantilever beam
One end is fixed (x = 0) and the other is free:
dY d2 Y d3 Y
Y (0) = 0, (0) = 0 and EI (L) = 0, EI (L) = 0 (4.69)
dx dx2 dx3
These become, as before,
1 0 1 0 A 0
0 1 0 1 B 0
cos L sin L cosh L sinh L C = 0 (4.70)
Fixed-fixed
Both ends are fixed:
dY dY
Y (0) = 0, (0) = 0 and Y (L) = 0, (L) = 0 (4.72)
dx dx
implying
1 0 1 0 A 0
0 1 0 1 B 0
cos L sin L cosh L sinh L C = 0 (4.73)
Hence,
cosh L cos L sinh L sin L
det = 2 2 cosh L cos L = 0 (4.74)
sinh L + sin L cosh L cos L
This generates the first eight roots n L, and it also shows that n L (n 12 ) are very good
approximations to the higher order roots.
to get the same shape for u is defined by c, hence the shape or pulse propagates with velocity c,
the wave speed.
Note that we can also get solutions like u(x, t) = g(x + ct) where g(z) can be any function that
has a second derivative. In general,
where f and g represent waves in opposite directions: f (x ct) is a wave traveling in the direction
of increasing x, to the right, say, and g(x + ct) is a wave traveling to the left.
4.8 Problems
1. A string of length L under tension (force) T and mass per unit length m (= A where is
density, A cross-sectional area) is attached to grips at its two ends as shown.
x
(a) Write the equation of motion and boundary conditions for the transverse displace-
ment w.
(b) Assume w(x, t) = (A cos x + B sin x) cos t. Find A, B, and , and use this to
determine the modal frequencies n for free vibration.
(c) The modal frequency (f = 2 ) of the mode with shape indicated by the dashed line
above is 400 Hz. What is the modal frequency of the mode with shape indicated by the
solid curve?
(d) Draw the mode shape of the mode with frequency 800 Hz.
(e) Staying with the same string, suppose it is now pinned at A which is 23 of the way along
the string. What are the first two modal frequencies f1 , f2 of the section on the left
(between x = 0 and A)?
(f) The shorter section (to the right of A) is plucked so that its fundamental (first mode)
oscillates. Which, if any, mode on the left will be dominant, and why?
79
A
x
Solution:
(a)
2w 2w
T m =0
t2 x2
w = 0 at x = 0, and w = 0 at x = L
p
(b) A = 0, B 6= 0, = n /c with c = T /m and n = nc/L
(c) f2 = 600 so f1 = 300 Hz
(d)
(e) n = nc/L where L = 23 L so n = 3nc/(2L)or fn = 23 fn . f1 = 300 so f1 = 450,
f2 = 900 and f3 = 1350 Hz
(f) The second mode because it has the same frequency
2. A bar of uniform cross-sectional area A, length L, density per unit volume, and Youngs
modulus is clamped at x = 0 and free at the other end. Let u(x, t) be the longitudinal
displacement at 0 x L at time t.
Solution:
(a)
2u 2u
A EA =0
t2 x2
u
(b) w = 0 at x = 0, and x = 0 at x = L
(c) u(x, t) = U (x) cos t implies, with the BCs, U (x) = sin x L
c where cos c = 0. So
L 1
c = (n 2 ), or
1 c
n = (n )
2 L
c c
(d) 1 = 2L so f1 = 4L , or c = 4Lf1 = 4(1)3, 000 = 12, 000 m/s
80
Appendix
Trigonometry formulas
1
Start with ei = cos + i sin , ei = cos i sin , then add them cos = (ei + ei ) ,
2
1 i
subtract them sin = (e ei ) . Multiply them ei(1 +2 ) = cos(1 + 2 ) + i sin(1 +
2i
2 ). But e i( 1 + 2 ) = e e 2 = (cos 1 + i sin 1 )(cos 2 + i sin 2 ) and multiply out ei(1 +2 ) =
i 1 i
cos 1 cos 2 sin 1 sin 2 + i(sin 1 cos 2 + sin 2 cos 1 ). Comparing the real and imaginary parts
cos(1 + 2 ) = cos 1 cos 2 sin 1 sin 2 , sin(1 + 2 ) = sin 1 cos 2 + sin 2 cos 1 .
How can you express cos 3 in terms of cos and sin ? A quick solution is to use ei3 =
(cos + i sin )3 = (cos )3 + 3(cos )2 i sin + 3 cos (i sin )2 + (i sin )3 . Taking the real part gives
cos 3 = (cos )3 3 cos (sin )2 . Other basic identities can be found in the same way.
Interesting math fact: five of the most important numbers (1, 0, , e, i) are related by the formula
1 + ei = 0.
81
AB 6= BA (B.1)
The condition that the inverse exists is that det A 6= 0. Another way of saying this is that the
inverse does not exist if det A = 0.
If A is an n n matrix and v is an n 1 vector and
Av = 0 (B.3)
then there are two possibilities: (i) the inverse of exists A, or (ii) it does not. If (1) then multiply
by A1 , so
A1 Av = 0 Iv = 0 (B.4)
but Iv = v so v = 0. In conclusion, the only way to get a nonzero v is if (ii) holds, i.e. there is no
inverse matrix. A necessary condition for the matrix to have no inverse is that
det A = 0. (B.5)
Bv = v, (B.6)
B.2 Matlab
In matlab, if A is an n n matrix, then eig(A) returns the n eigenvalues. Do help eig to see
how you can get the eigenvectors using eig. So in principle, we just need to use the matrix M1 K.
However, the function eig is even better. If k and m are the matrices in matlab, then a=eig(k,m)
returns a vector of the eigenvalues, i.e. a(1) = 12 , . . . a(n) = n2 .
Try running the following:
m=eye(3)
k = [2 -1 0; -1 2 -1; 0 -1 2]
[V,D]=eig(k,m)
The output is
m =
1 0 0
0 1 0
0 0 1
k =
2 -1 0
-1 2 -1
0 -1 2
V =
0.5000 -0.7071 -0.5000
0.7071 0.0000 0.7071
0.5000 0.7071 -0.5000
D =
0.5858 0 0
0 2.0000 0
0 0 3.4142
The eigenvalues are on the diagonal of the diagonal matrix D, with D(1, 1) = 12 , . . . D(n, n) = n2 .
The columns of the matrix V are the eigenvalues
C Lagranges Equations
Deriving the equations of motion is often a non-trivial task, especially for multi-DOF systems. We
start by analyzing the forces, and then equate the force with the mass times acceleration for each
DOF. Lagranges equations provide an alternate procedure to get the equations of motion, and is
generally preferable when there are many DOFs. For simplicity, here we will discuss the procedure
for conservative systems, that is, with no damping.
C.1 SDOF
Consider a mass/spring system, and define the kinetic and potential energies
1 1
T = mx 2 , V = kx2 ,
2 2
83
L = T V.
Note that it is not T + V which is the total energy of the system. L can be considered as a function
that depends on x, on x and on t. Lagranges equation for the mass/spring system is
d L L
=0 (C.1)
dt x x
Let us see what this equation yields. First, the only place that x occurs in L is in V and so
L V
= = kx (C.2)
x x
Similarly, x only appears in T , and so
L T
= = mx (C.3)
x x
Then,
d L d
= mx = m
x (C.4)
dt x dt
Combining eqs. (C.1)-(C.4) gives
m
x + kx = 0 (C.5)
Summary: Once we have an expression for the Lagrangian L(x, x) then we plug it into the
Euler-Lagrange equation (C.1). The only real work that we have to do is (1) construct L, and (2)
do some differentiation. Constructing L means writing out expressions for the KE and PE, which
is always easier than dealing with free body diagrams, writing forces, etc. The real power of the
method is for n-DOF. In these problems dealing with forces can be extremely difficult, particularly
if there are moments and forces, linear and angular momentum. In an n-DOF system, each mass
can be acted on by many forces, most of which depend upon the other n 1 coordinates.
C.2 n-DOF
The power of Lagranges equations is the applicability to arbitrary systems, of one, two or an
infinite number of DOFs. Let us do some examples.
m1 x
1 = k1 x1 kc (x1 x2 ) (C.6)
m2 x
2 = k2 x2 kc (x2 x1 ) (C.7)
The same equations can be derived by first writing out the Lagrangian, again defined as L = T V ,
where now the KE and the PE depend on the two coordinates and their time derivatives:
1 1 1 1 1
T = m1 x 21 + m2 x 22 , V = k1 x21 + k2 x22 + kc (x1 x2 )2 (C.8)
2 2 2 2 2
84
The final term in V comes from the fact that the extension/compression of the coupling spring is
(x1 x2 ).
Lagranges equations for a multi-DOF Lagrangian L(x1 , x 1 , . . . , xn , x n , t) are
d L L
= 0, i = 1, 2, . . . , n (C.9)
dt x i xi
Taking i = 1, we have
L T
= = m1 x 1 (C.10)
x 1 x 1
and
L V
= = k1 x1 kc (x1 x2 ) (C.11)
x1 x1
Therefore,
d L L
= m1 x
1 + k1 x1 + kc (x1 x2 ) = 0 (C.12)
dt x 1 x1
which is exactly equation (C.6). The other equation follows taking i = 2 in (C.9).
For instance, consider a pendulum of length r mass m2 that hangs from the mass m1 of a
mass/spring system of stiffness k. The mass m1 moves horizontally with coordinate x and the
mass m2 swings from the moving mass m1 with angle from the vertical. The two generalized
coordinates are q1 = x and q2 = .
The KE and PE of the system are
1 1 1
T = m1 x 2 + m2 (x 22 + y 22 ), V = kx2 + m2 gy2
2 2 2
where (x2 , y2 ) are the rectangular coordinates of m2 relative to its equilibrium position: x2 =
x + r sin , y2 = r(1 cos ). Hence and hence
1 1 1
T = m1 x 2 + m2 [(x + r cos )2 + (r sin )2 ], V = kx2 + m2 gr(1 cos ) (C.32)
2 2 2
The 2 equations of motion then follow from the lagrange equations
d L L d L L
= 0, =0 (C.33)
dt x x dt
1 1 2, 1 1
T = m1 x 2 + m2 (x + r) V = kx2 + m2 gr2 (C.34)
2 2 2 2
It is easier to find the equations of motion in the small angle approximation. Applying (C.33) gives
x + m2 r + kx = 0
(m1 + m2 ) (C.35)
m2 ( + m2 g = 0
x + r) (C.36)
Then the actual solution of a dynamical system is the one which minimizes the action. That is,
we consider all possible qi (t) and minimize the integral with respect to these. Since there are n-
variables, we get n minimization conditions, and each one is the Lagrange equation for that variable.
The actual minimization proceeds as follows:
Z
I L L qi
= + dt
qi qi qi qi
87
The second term is simplified by integrating by parts (ignoring the end contributions to the integral):
Z Z Z
L qi d L qi d L
dt = dt = dt
qi qi dt qi qi dt qi
and so Z
I d L L
= dt
qi dt qi qi
The integrand has to be zero at each instant, hence we get the Lagrange equations. This powerful
method of deriving equations is also known as Variational Calculus, or the Calculus of Variations,
and is at the heart of Finite Element Methods.
Problems
1
1. The system shown consists of a bar of mass m, length L, centroidal MoI IG = 12 mL2 sup-
ported by springs at its ends, plus a mass supported from the center by a spring. Using the
three coordinates shown, write out in full in terms of m, k, L, xj , x j and x
j , j = 1, 2, 3:
(a) The expression for the kinetic energy.
(b) The expression for the potential energy.
(c) The three equations of motion.
Rigid body: T = 21 m|x G |2 + 12 IG 2
Ignore gravity + horizontal motion. Assume small
d L L
angles. Lagrange eqs. dt qj qj = 0, L = T V
Solution
(a)
1 1 1
T = mx 2c + IG 2 + mx 23
2 2 2
1 x2 x1
where xc = 2 (x1 + x2 ) and is the angle of rotation of the bar: = L . So
1 1 1
T = m(x 1 + x 2 )2 + m(x 1 x 2 )2 + mx 23
8 24 2
(b)
1 1 1
V = 4kx21 + 4kx22 + k(xc x3 )2
2 2 2
Hence
1
V = 2k(x21 + x22 ) + k(x1 + x2 2x3 )2
8
(c) Since T depends only on the velocities and V only on the coordinates, the Lagrange eqs.
d T V
become dt x j + xj = 0, j = 1, 2, 3. Hence:
1 1 1
j=1: m(
x1 + x
2 ) + m(
x1 x2 ) + 4kx1 + k(x1 + x2 2x3 ) = 0,
4 12 4
1 1 1
j=2: m(
x1 + x
2 ) + m(
x2 x1 ) + 4kx2 + k(x1 + x2 2x3 ) = 0,
4 12 4
1 1
j=2: m
x3 k(x1 + x2 2x3 ) = 0
2 2
88
Can simplify to
4 2 k
j=1: x
1 + x 2 + (17x1 + x2 2x3 ) = 0,
3 3 m
2 4 k
j=2: x
1 + x 2 + (x1 + 17x2 2x3 ) = 0,
3 3 m
k
j=2: x
3 + (2x3 x1 x2 ) = 0
m