0% found this document useful (0 votes)
117 views14 pages

Lab #2 - Two Degrees-of-Freedom Oscillator

This document describes a laboratory experiment on a two degree-of-freedom oscillator system. The system has two masses connected by springs, giving it two normal modes of vibration. Normal modes have a characteristic mode shape and natural frequency. When the system is driven at one of its natural frequencies, resonance will occur. The goals of the lab are to determine the normal modes of the system experimentally and through calculation.

Uploaded by

kajari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
117 views14 pages

Lab #2 - Two Degrees-of-Freedom Oscillator

This document describes a laboratory experiment on a two degree-of-freedom oscillator system. The system has two masses connected by springs, giving it two normal modes of vibration. Normal modes have a characteristic mode shape and natural frequency. When the system is driven at one of its natural frequencies, resonance will occur. The goals of the lab are to determine the normal modes of the system experimentally and through calculation.

Uploaded by

kajari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Lab #2 - Two Degrees-of-Freedom Oscillator

Last Updated: February 13, 2009

INTRODUCTION
The system illustrated in Figure (2.1) has two degrees-of-freedom. This means that two
is the minimum number of coordinates necessary to uniquely specify the position of the
system. The purpose of this laboratory is to introduce you to some of the properties of
linear vibrating systems with two or more degrees-of-freedom. You have already seen a one
degree-of-freedom vibrating system (the mass-spring-dashpot system) and should have some
familiarity with the ideas of natural frequency and resonance. These ideas still apply to an
undamped linear system with two or more degrees-of-freedom.

The new idea for many degrees-of-freedom systems is the concept of modes (also called normal
modes). Each normal mode consists of a mode shape and corresponding natural frequency.
The system will exhibit resonance if forced at one of its natural frequencies. The number of
modes a system has is equal to the number of degrees-of-freedom. Thus the system below
has two modes and two natural frequencies.

x1 x2

k1 k2 k3
M1 M2

Figure 2.1: A simple two-degree-of-freedom system.

The primary goals of this laboratory are for you to learn the concept of normal modes in a
two degrees-of-freedom system – the simplest system which exhibits such modes. You will
learn this by experimentation and calculation.

PRE-LAB QUESTIONS
Read through the laboratory instructions and then answer the following questions:

1. Are the number of degrees of freedom of a system and the number of its normal modes
related? Explain.
2. How can a normal mode be recognized physically?
3. What do you expect to happen when you drive a system at one of its natural frequen-
cies?

33
34 Lab #2 - Two Degrees-of-Freedom Oscillator

4. Draw a free body diagram and derive the equations of motion for a three degrees-of-
freedom system, with three different masses, four equal springs, and no forcing. Put
them in matrix form. Your result should resemble equation (2.4) except your matrix
will be 3x3 and you will have no f (t) term. Substitute in the normal mode solution
(see (2.7)) to get an eigenvalue problem (see (2.5)). How would the eigenvalues and
eigenvectors of your matrix relate to the mode shapes and natural frequencies?

5. Using MATLAB, find the eigenvalues and eigenvectors of the following matrix and
print the results (HINT: Type help eig for assistance).
 
1 2
[A] = (2.1)
2 1

NORMAL MODES
A normal mode is a special type of vibration what occurs when all of the points in the system
are moving in simple harmonic motion. In addition, In a normal mode vibration all points
move with the same angular frequency ω and are exactly in-phase or exactly out of phase.
An example on the following page (See 2.2) illustrates a normal mode vibration for a two
degrees-of-freedom-system. Note:

• Both masses are moving in simple harmonic motion.



• The system has a period of T = 4π (sec), and thus an angular frequency of ω = T
= 21 .

• When one mass is at its maximum displacement, the other is at its minimum displace-
ment - thus the masses are totally out of phase.

If we wanted to write out the equation of motion for this system, we would need a state
vector x(t) with two elements x1 (t) and x2 (t) - one to represent the position of each mass as
a function of time. That equation might look something like this:
   
x1 (t) −2 1
x(t) = = sin ( t) (2.2)
x2 (t) 2 2

Here,ω isthe natural frequency of the normal mode (the same for all masses), and the vector
−2
c= is its mode shape. The mode shape c tells you phase and relative amplitude of
2
motion of each mass - here both masses have the same relative amplitude (|c1 | = |c2 |) though
in general that is not the case. Since in this example c1 has the opposite sign of c2 the two
masses are completely out of phase.
TAM 203 Lab Manual 35

x1 = 0 x2 = 0

t=0 M1 M2

x1 = -2 x2 = 2

t=π M1 M2

x1 = 0 x2 = 0

t = 2π M1 M2

x1 = 2 x2 = -2

t = 3π M1 M2

x1 = 0 x2 = 0

t = 4π M1 M2

2
x x1(t)
0 x2(t)

−2 π 2π 3π 4π
0 t

Figure 2.2: A normal mode vibration of a two-degree-of-freedom system.


36 Lab #2 - Two Degrees-of-Freedom Oscillator

DERIVING THE EQUATIONS OF MOTION


We will now derive the equations of motion for a driven two degrees-of-freedom system. The
diagram and physical setup are shown in Figures 2.3 and 2.5.

x1 x2
x3
k1 k2 k3
M1 M2

Figure 2.3: Illustration of a coupled mass-spring system.

Here, rather than having the rightmost spring attached to a fixed support, we have it attached
to a sinusoidally driven support whose position is x3 (t). Do not be fooled into thinking that
x3 counts as a degree of freedom - here we know how we are driving the system and so x3 is
a given. Look back over Lab 1 if you are confused about this point - we use the same trick
there to drive a one degree-of-freedom system. Now, we will draw the free-body diagram for
each mass and work out its equation of motion. To help get the signs right, assume that

k1 x1 k2 ( x2 - x1 )
M1

k2 ( x2 - x1 ) k3 ( x3 - x2 )
M2

Figure 2.4: The free-body diagrams for masses m1 and m2 .

the displacements are all positive (i.e. to the right) with x1 < x2 < x3 . This puts all of the
springs into tension relative to their equilibrium condition. The equations of motion for each
mass respectively (assuming equal spring constants) are
k (x2 − x1 ) − kx1 = m1 x¨1 (2.3a)
k (x3 − x2 ) − k (x2 − x1 ) = m2 x¨2 (2.3b)
We can rewrite this in matrix form as
   2k
− m1 mk1 0
   
x¨1 x1
= k 2k + kx3 (t) (2.4)
x¨2 m2
−m 2
x2 m2

or as
ẍ = [A] x + f (t) (2.5)
TAM 203 Lab Manual 37

Where the matrix [A] contains information about the system response to forcing and the
vector f (t) contains information about the external forcing.

SOLVING THE EQUATIONS OF MOTION USING NORMAL MODES


To make matters easier, let’s consider the case where there is no external forcing, thus
f (t) = 0 and our equation of motion (2.5) reduces to:

ẍ = [A] x (2.6)

Now we’ll look for the normal mode solutions of the system. Remember - a normal mode
vibration is when both masses are moving in simple harmonic motion with the same angular
frequency ω, but potentially different amplitudes of motion ci . Before we gave an example
of a normal mode solution. Here is the general form of a normal mode solution for a two
degrees-of-freedom system:
   
x1 (t) c
x(t) = = 1 (A cos (ωt) + B sin (ωt)) (2.7)
x2 (t) c2

Once again, ω is the natural frequency of the mode which tells you the angular frequency
with which every mass vibrates, and c is the mode shape which tells you the phase and
relative amplitude of motion of each mass. If we plug in our ansatz for the solution into the
equation of motion, we can solve for the natural frequency and mode shape that will make
the equation hold. Substituting (2.7) into (2.6) and canceling out cosine and sin terms yields

− ω 2 c = [A] c (2.8)

It turns out that we have non-trivial solutions to (2.8) only for certain values of −ω 2 and then
only when c is a multiple of a specific vector. Equation (2.8) is in the form of an eigenvalue
problem from linear algebra, and these sets of solutions are called the ”eigenvalues” (λi ) and
corresponding ”eigenvectors” (λ̂i ) of the matrix [A]. These can easily be solved for by hand,
or by using a computer algebra program such as MATLAB or SciLab. For an n degrees-of-
freedom system there will be n such sets of ”eigenvalues” and ”eigenvectors”. Thus, a n
degrees-of-freedom system has n natural frequencies and n mode shapes given
by p
ωi = −λi ; c = λ̂i (2.9)
where (λi ) and (λ̂i ) are the eigenvalues and eigenvectors (respectively) of the
matrix [A].

The general motion of the system can then some combination of the normal modes:

x(t) = c1 (A1 cos (ω1 t) + B1 sin (ω1 t)) + c2 (A2 cos (ω2 t + φ2 ) + B2 sin (ω2 t + φ2 )) (2.10)

Here the coefficients Ai and Bi would depend on the initial conditions. In the language of
linear algebra, we say that the normal modes span the space of possible solutions.

LABORATORY SET-UP
38 Lab #2 - Two Degrees-of-Freedom Oscillator

• Air Track
The lab set-up consist of an air-track hooked up to the lab’s air system, four or more
air track gliders, four plug-in springs, a mechanical oscillator (for external forcing), a
photogate timer, and a digital stopwatch. Please note that there are two somewhat
incompatible styles of glider which should only be used on the appropriate air tracks.
Each glider has a label listing its approximate mass (including spring) and the air
tracks on which it will work. You should remeasure the masses of the gliders
and springs at the start of your lab.

Figure 2.5: The laboratory set-up you will be working with.

• Using the SciLab Software


To open SciLab click on its icon located on the desktop of your computer. This program
is a freeware program similar to MatLab and should look quite similar.
To find the eigenvalues and eigenvectors of a matrix you must use the function spec()
as shown below. Input the matrix [A], call spec() on it, and the program will return
the eigenvalues along the diagonal of a square matrix and the eigenvectors as the
columns of the second returned matrix (just like eig() in MATLAB).

PROCEDURE

1. Play with the air track, gliders, and timer. Adjust the mechanical driver left or right
so that each spring, at equilibrium, has a total length of about 20 cm (the driver is
attached with a Velcro strap). Have the TA turn on the main air supply, if it is not
already on, and turn on the valve at the end of the air track.

2. Measure the mass of each of your carts, and one of your springs (you may assume that
all springs have the same mass).

3. Next you will find the spring constant for your springs.

• Attach a small weight (40 to 50 grams) to one end of a spring and hold the other
end solidly against the tabletop.
TAM 203 Lab Manual 39

Figure 2.6: Screenshot of Scilab in use.

• Pull the weight down a few centimeters and release it, and
q then measure the period
k
of oscillation (average over 10 periods). Use ω = m
to find k. Remember
to include part of the spring as well as the plug mass in ”m” – half is a good
approximation in this case.
• Repeat this calculation for each spring. Note: there will be variability in k from
spring to spring.

4. Choose two gliders of different sizes to work with, and set them up on the track.

• Using the measured masses and spring constants, calculate the mode shapes and
natural frequencies of the system - see (2.9). You may do the calculations by
hand or use SciLab on the computer. Remember to add the the mass of a plug-in
spring when calculating the cart mass.

5. The system is set into a normal mode oscillation by applying the appropriate initial
conditions. Choose one of your normal modes to use.

• First, place the system in equilibrium. One simple method is to turn the air track
on and off repeatedly until the gliders stop moving.
• With the
 air off, displace m1 by an amount A ∗ c1 cm, and displace m2 by A ∗ c2 cm,
c
where 1 is the appropriate ”eigenvector” or mode shape. Pick A large enough
c2
that neither mass is displaced by less than 1 cm, but small enough that neither
mass slides on the track with the air off.
40 Lab #2 - Two Degrees-of-Freedom Oscillator

• Turn on the air track valve abruptly. The system should oscillate in the normal
mode which your chose.
• Measure the angular frequency (ω) of oscillation, and verify that it is approx-
imately equal to the natural frequency calculated in SciLab. The angular fre-
quency of the masses is found by timing a number of oscillations (i.e. 10) and
then converting the resulting period to ω (which has units of rad/sec). Digital
stopwatches are available at the air track.
• Note the phase difference between the two masses - are they in phase or out of
phase?
• Repeat the above procedure for the other normal mode.
6. Use some arbitrary initial conditions and set the system into a non-normal mode oscil-
lation. Observe the motion. (It should be difficult to see that it is the sum of normal
mode vibrations.)
7. Next we will attempt to obtain normal mode vibrations by driving the system at each
natural frequency - the driving frequency of oscillation is obtained by timing the motion
of the driving rod connected to the motor, using either a stopwatch or a photogate
timer.
• Choose one of the normal modes you have calculated. With the air off, set the
driving frequency to the corresponding natural frequency which you have calcu-
lated. Now turn on the air.
• Does the system resonate when you turn the air on? Be patient, it may take a
try or two to get resonance. Start the system from rest every time you change
the motor speed.
• When you get resonance, measure the frequency of oscillation and compare it to
the natural frequency which you calculated in SciLab. Note, as best you can,
the relative phase between the scotch yoke (driving) and the masses (response) at
resonance.
• Repeat this procedure for the other normal mode.
8. Drive the system at a frequency close to (but not equal to) one of the natural frequen-
cies. Is the amplitude of motion of either mass constant? Now drive the system at a
frequency much higher than either natural frequency. Note the amplitude of motion of
each mass.
9. Set up the air track with three (approximately) equal masses and four (approximately)
equal springs. Adjust the mechanical oscillator to give an equilibrium spring length of
about 20 cm. Verify by observation that [1 −1.414 1]T is approximately a normal
mode for this system.
10. Find another normal mode for this system by observation. Find another still. Are
there any more? Use SciLab to find the normal modes and natural frequencies.
TAM 203 Lab Manual 41

11. Using SciLab, find the normal modes and natural frequencies for a system with three
unequal masses and four equal springs, and test them on the air track (free vibration
only).
42 Lab #2 - Two Degrees-of-Freedom Oscillator

LAB REPORT QUESTIONS

1. List your values of k for the springs and a sample calculation. What is the average
value of k, and what was the largest variation from the average (in percent)?

2. List your mode shapes and natural frequencies calculated in (4). Did you obtain normal
mode oscillations using initial conditions based on your eigenvectors? How could you
tell? How close were the natural frequencies what you measured in (5) to the ones
you calculated in (4)? Was the phase correct? How does this experiment deviate from
theory?

3. Describe what you observed when you forced the system at the following 3 frequencies:

(a) forcing frequency = a natural frequency


(b) forcing frequency close to a natural frequency (Was the amplitude of the oscilla-
tions constant in this case? If not, how did it vary?)
(c) forcing frequency far from a natural frequency.

4. How many normal modes are there in the three equal mass system (theoretically) and
what are they? How many were you able to find experimentally and how did you
recognize them as normal modes? How do the modes you found compare with those
you calculated?

5. What were your calculated normal modes and natural frequencies for the system with
three unequal masses? Did normal mode oscillations occur with these ratios and fre-
quencies on the air track?
TAM 203 Lab Manual 43

CALCULATIONS & NOTES


44 Lab #2 - Two Degrees-of-Freedom Oscillator

APPENDIX: SOLVING THE EQUATIONS OF MOTION VIA A CHANGE OF


BASIS
So far we have discussed how normal modes are the simplest oscillatory functions from
which all motions of the two degrees-of-freedom system can be thought to be comprised
of. Mathematically, the normal modes y1 and y2 satisfy the equations of motion for simple
harmonic oscillators with natural frequencies ω1 and ω2 respectively.

y¨1 + ω12 y1 = 0 (2.11a)

y¨2 + ω22 y2 = 0 (2.11b)


Since the equations of motion for the normal modes are simple in terms of the y1 , y2 coordi-
nates, it would be nice if we could find some transformation between the physical coordinates
x1 , x2 and these new variables, i.e. x = f (y), so that we can solve the problem in terms of the
easier coordinates and then transform back into the original ones. We can accomplish this
mathematically by performing a change-of-basis from the original basis into the eigenbasis
of [A]. We define our new normal mode coordinates by

x = [S] y (2.12)

where the change-of-basis matrix [S] is defined as


 
  1 1
[S] = v1 v2 = (2.13)
1 −1

Plugging this change of variables into (2.5) we get the new equation

[S] ÿ = [A] [S] y + f (t) (2.14)

Left-multiplying both sides by [S −1 ] gives us


   
ÿ = S −1 [A] [S] y + S −1 f (t) = [Λ] y + f̃ (t) (2.15)

where    
λ1 0 −k 0
[Λ] = = (2.16)
0 λ2 0 −3k
Looking at the unforced case, f̃ (t) = 0, we see from (2.15) that in the new normal mode
coordinates we now have two uncoupled second-order ODEs,

y¨1 + ky1 = 0 (2.17a)

y¨2 + 3ky2 = 0 (2.17b)


the solutions of which are √ √
y1 = A1 cos kt + B1 sin kt (2.18a)
√ √
y2 = A2 cos 3kt + B2 sin 3kt (2.18b)
TAM 203 Lab Manual 45

Using (2.12) we can now transform back into the original x1 , x2 coordinates giving
 
y1 + y2
x = [S] y = =
y1 − y2
v1 (A1 cos (ω1 t) + B1 sin (ω1 t)) + v2 (A2 cos (ω2 t) + B2 sin (ω2 t)) (2.19)
√ √
where we have substituted ω1 = k and ω2 = 3k. This is the same result we found
before in (2.10), so you might not think much was gained by performing this change-of-basis.
However, the real advantage of this method appears when we consider the forced case.

APPENDIX: FORCED TWO-DEGREE-OF-FREEDOM SYSTEM


We now reconsider equation (2.15) when f̃ (t) 6= 0.

ÿ = [Λ] y + f̃ (t) (2.20)

The two resulting equations are


kx3
y¨1 + ω12 y1 = (2.21a)
2m1
kx3
y¨2 + ω22 y2 = − (2.21b)
2m1
where x3 (t) = F cos ωt and ω is the forcing frequency. Solving both of these non-homogeneous
second-order ODEs yields
 
Fk 1
y1 (t) = A1 cos ω1 t + B1 sin ω1 t − cos ωt (2.22a)
2m1 ω 2 − ω12
 
Fk 1
y2 (t) = A2 cos ω2 t + B2 sin ω2 t + cos ωt (2.22b)
2m1 ω 2 − ω22
Once again we use (2.12) to transform back into the original coordinates to get
" 1 1
#
Fk 2
ω −ω22 − 2
ω −ω1 2
x(t) = xc (t) + 1 1 cos ωt (2.23)
2m1 − ω2 −ω 2 − ω 2 −ω 2
2 1

where we have suppressed the homogeneous (or complementary) part of the solution. We
note that the particular solution becomes unbounded as the forcing frequency approaches
either ω = ω1 or ω = ω2 . In other words, resonance occurs when we force the two degrees-of-
freedom system at one of the normal modes’ natural frequencies. (Obviously the oscillations
you will observe in the lab will not be unbounded as the lab set-up is not entirely frictionless.)

We now rewrite the particular solution as


1
−  ω 12
 
 2
F ω
−3 −1
xp (t) =  ω1 1 ω1
1
 cos ωt (2.24)
2 − ω 2 − ω 2
   
ω1
−3 ω1
−1
46 Lab #2 - Two Degrees-of-Freedom Oscillator

4
x1 / F
x2 / F
3

1
x/F

−1

−2

−3

−4
0 0.5 1 1.5 2 2.5 3
ω/ω
1

Figure 2.7: Plot of the response amplitude to forcing amplitude ratio for the forced
two degrees-of-freedom system.

where we have written it in terms of the ratio of the forcing frequency to the smaller normal
mode frequency ω1 . Figure 2.7 graphically shows how the amplitudes of the particular (or
steady-state) solutions change as the forcing frequency ω is varied.

The plot graphically illustrates what we found earlier – that when the forcing frequency is
near the natural frequency of a normal mode, that mode resonates. As ω → ω1 the two
masses move in-phase and when ω → ω2 the masses move out-of-phase.

You might also like