Pauls Online Notes - Differential Equations - Mechanical Vibrations
Pauls Online Notes - Differential Equations - Mechanical Vibrations
Pauls Online Notes - Differential Equations - Mechanical Vibrations
http://tutorial.math.lamar.edu/Classes/DE/Vibrations.aspx
Extras/Reviews
Notice
Basic Concepts
First Order DE's
Second Order DE's
Laplace Transforms
On September 15, 2015 I'll be doing some maintenance on the site during between 6:30 a.m.
and 7:30 a.m. Central Standard Time. During this time the site may be inaccessible for brief
periods and/or you may experience some system errors. I apologize for the inconvenience.
Systems of DE's
Paul.
Internet Explorer 10 & 11 Users : If you are using Internet Explorer 10 or Internet Explorer 11
then, in all likelihood, the equations on the pages are all shifted downward. To fix this you need to
put your browser in Compatibility View for my site. Click here for instructions on how to do that.
Alternatively, you can also view the pages in Chrome or Firefox as they should display properly in
the latest versions of those browsers without any additional steps on your part.
Variation of Parameters
My Students
Site Map
Terms of Use
Laplace Transforms
Mechanical Vibrations
Its now time to take a look at an application of second order differential equations. Were going
to take a look at mechanical vibrations. In particular we are going to look at a mass that is hanging
from a spring.
Vibrations can occur in pretty much all branches of engineering and so what were going to be
doing here can be easily adapted to other situations, usually with just a change in notation.
Lets get the situation setup. We are going to start with a spring of length l, called the natural
length, and were going to hook an object with mass m up to it. When the object is attached to the
spring the spring will stretch a length of L. We will call the equilibrium position the position of
the center of gravity for the object as it hangs on the spring with no movement.
Below is sketch of the spring with and without the object attached to it.
As denoted in the sketch we are going to assume that all forces, velocities, and displacements in
1 de 15
12/09/2015 23:11
http://tutorial.math.lamar.edu/Classes/DE/Vibrations.aspx
the downward direction will be positive. All forces, velocities, and displacements in the upward
direction will be negative.
Also, as shown in the sketch above, we will measure all displacement of the mass from its
equilibrium position. Therefore, the u = 0 position will correspond to the center of gravity for the
mass as it hangs on the spring and is at rest (i.e. no movement).
Now, we need to develop a differential equation that will give the displacement of the object at any
time t. First, recall Newtons Second Law of Motion.
In this case we will use the second derivative of the displacement, u, for the acceleration and so
Newtons Second Law becomes,
We now need to determine all the forces that will act upon the object. There are four forces that
we will assume act upon the object. Two that will always act on the object and two that may or
may not act upon the object.
Here is a list of the forces that will act upon the object.
1. Gravity, Fg
The force due to gravity will always act upon the object of course. This force is
2. Spring, Fs
We are going to assume that Hookes Law will govern the force that the spring exerts on
the object. This force will always be present as well and is
Hookes Law tells us that the force exerted by a spring will be the spring constant, k > 0,
times the displacement of the spring from its natural length. For our set up the
displacement from the spring's natural length is L + u and the minus sign is in there to
make sure that the force always has the correct direction.
Lets make sure that this force does what we expect it to. If the object is at rest in its
equilibrium position the displacement is L and the force is simply Fs = kL which will act
in the upward position as it should since the spring has been stretched from its natural
length.
If the spring has been stretched further down from the equilibrium position then
will
be positive and Fs will be negative acting to pull the object back up as it should be.
Next, if the object has been moved up past its equilibrium point, but not yet to its natural
length then u will be negative, but still less than L and so L + u will be positive and once
again Fs will be negative acting to pull the object up.
Finally, if the object has been moved upwards so that the spring is now compressed, then u
will be negative and greater than L. Therefore, L + u will be negative and now Fs will be
positive acting to push the object down.
So, it looks like this force will act as we expect that it should.
3. Damping, Fd
The next force that we need to consider is damping. This force may or may not be present
for any given problem.
Dampers work to counteract any movement. There are several ways to define a damping
force. The one that well use is the following.
2 de 15
12/09/2015 23:11
http://tutorial.math.lamar.edu/Classes/DE/Vibrations.aspx
where, > 0 is the damping coefficient. Lets think for a minute about how this force will
act. If the object is moving downward, then the velocity ( ) will be positive and so Fd
will be negative and acting to pull the object back up. Likewise, if the object is moving
upward, the velocity ( ) will be negative and so Fd will be positive and acting to push the
object back down.
In other words, the damping force as weve defined it will always act to counter the current
motion of the object and so will act to damp out any motion in the object.
4. External Forces, F(t)
This is the catch all force. If there are any other forces that we decide we want to act on
our object we lump them in here and call it good. We typically call F(t) the forcing
function.
Putting all of these together gives us the following for Newtons Second Law.
Now, when the object is at rest in its equilibrium position there are exactly two forces acting on the
object, the force due to gravity and the force due to the spring. Also, since the object is at rest (i.e.
not moving) these two forces must be canceling each other out. This means that we must have,
(1)
Using this in Newtons Second Law gives us the final version of the differential equation that
well work with.
(2)
Along with this differential equation we will have the following initial conditions.
(3)
Note that well also be using (1) to determine the spring constant, k.
Okay. Lets start looking at some specific cases.
Free, Undamped Vibrations
This is the simplest case that we can consider. Free or unforced vibrations means that F(t) = 0 and
undamped vibrations means that = 0. In this case the differential equation becomes,
This is easy enough to solve in general. The characteristic equation has the roots,
and 0 is called the natural frequency. Recall as well that m > 0 and k > 0 and so we can guarantee
that this quantity will be complex. The solution in this case is then
(4)
We can write (4) in the following form,
3 de 15
12/09/2015 23:11
http://tutorial.math.lamar.edu/Classes/DE/Vibrations.aspx
(5)
where R is the amplitude of the displacement and is the phase shift or phase angle of the
displacement.
When the displacement is in the form of (5) it is usually easier to work with. However, its easier
to find the constants in (4) from the initial conditions than it is to find the amplitude and phase
shift in (5) from the initial conditions. So, in order to get the equation into the form in (5) we will
first put the equation in the form in (4), find the constants, c1 and c2 and then convert this into the
form in (5).
So, assuming that we have c1 and c2 how do we determine R and ? Lets start with (5) and use a
trig identity to write it as
(6)
Now, R and are constants and so if we compare (6) to (4) we can see that
Taking the square root of both sides and assuming that R is positive will give
(7)
Finding is just as easy. Well start with
Before we work any examples lets talk a little bit about units of mass and the British vs. metric
system differences.
Recall that the weight of the object is given by
where m is the mass of the object and g is the gravitational acceleration. For the examples in this
problem well be using the following values for g.
This is not the standard 32.2 ft/s2 or 9.81 m/s2, but using these will make some of the numbers
come out a little nicer.
In the metric system the mass of objects is given in kilograms (kg) and there is nothing for us to
do. However, in the British system we tend to be given the weight of an object in pounds (yes,
pounds are the units of weight not mass) and so well need to compute the mass for these
problems.
At this point we should probably work an example of all this to see how this stuff works.
Example 1 A 16 lb object stretches a spring ft by itself. There is no damping and no external
forces acting on the system. The spring is initially displaced 6 inches upwards from its
equilibrium position and given an initial velocity of 1 ft/sec downward. Find the displacement
at any time t, u(t).
Solution
4 de 15
12/09/2015 23:11
http://tutorial.math.lamar.edu/Classes/DE/Vibrations.aspx
We first need to set up the IVP for the problem. This requires us to get our hands on m and k.
This is the British system so well need to compute the mass.
Now, lets get k. We can use the fact that mg = kL to find k. Dont forget that well need all of
our length units the same. Well use feet for the unit of measurement for this problem.
For the initial conditions recall that upward displacement/motion is negative while downward
displacement/motion is positive. Also, since we decided to do everything in feet we had to
convert the initial displacement to feet.
Now, to solve this we can either go through the characteristic equation or we can just jump
straight to the formula that we derived above. Well do it that way. First, we need the natural
frequency,
Now, lets convert this to a single cosine. First lets get the amplitude, R.
You can use either the exact value here or a decimal approximation. Often the decimal
approximation will be easier.
Now lets get the phase shift.
We need to be careful with this part. The phase angle found above is in Quadrant IV, but there
is also an angle in Quadrant II that would work as well. We get this second angle by adding
onto the first angle. So, we actually have two angles. They are
5 de 15
12/09/2015 23:11
http://tutorial.math.lamar.edu/Classes/DE/Vibrations.aspx
We need to decide which of these phase shifts is correct, because only one will be correct. To
do this recall that
Now, since we are assuming that R is positive this means that the sign of cos will be the same
as the sign of c1 and the sign of sin will be the same as the sign of c2. So, for this particular
case we must have cos < 0 and sin > 0. This means that the phase shift must be in Quadrant
II and so the second angle is the one that we need.
So, after all of this the displacement at any time t is.
Now, lets take a look at a slightly more realistic situation. No vibration will go on forever. So
lets add in a damper and see what happens now.
Free, Damped Vibrations
We are still going to assume that there will be no external forces acting on the system, with the
exception of damping of course. In this case the differential equation will be.
where m, , and k are all positive constants. Upon solving for the roots of the characteristic
equation we get the following.
Notice that as
the displacement will approach zero and so the damping in this case will
do what its supposed to do.
This case is called critical damping and will happen when the damping coefficient is,
The value of the damping coefficient that gives critical damping is called the critical damping
coefficient and denoted by CR.
6 de 15
12/09/2015 23:11
http://tutorial.math.lamar.edu/Classes/DE/Vibrations.aspx
2.
In this case lets rewrite the roots a little.
Using this we can see that the fraction under the square root above is less than one. Then if the
quantity under the square root is less than one, this means that the square root of this quantity
is also going to be less than one. In other words,
Why is this important? Well, the quantity in the parenthesis is now one plus/minus a number
that is less than one. This means that the quantity in the parenthesis is guaranteed to be
positive and so the two roots in this case are guaranteed to be negative. Therefore the
displacement at any time t is,
and will approach zero as
Notice that we reduced the sine and cosine down to a single cosine in this case as we did in the
undamped case. Also, since < 0 the displacement will approach zero as
and the
damper will also work as its supposed to in this case.
We will get this case will occur when
7 de 15
12/09/2015 23:11
8 de 15
http://tutorial.math.lamar.edu/Classes/DE/Vibrations.aspx
Example 2 Take the spring and mass system from the first example and attach a damper to it
that will exert a force of 12 lbs when the velocity is 2 ft/s. Find the displacement at any time t,
u(t).
Solution
The mass and spring constant were already found in the first example so we wont do the work
here. We do need to find the damping coefficient however. To do this we will use the formula
for the damping force given above with one modification. The original damping force formula
is,
However, remember that the force and the velocity are always acting in opposite directions. So,
if the velocity is upward (i.e. negative) the force will be downward (i.e. positive) and so the
minus in the formula will cancel against the minus in the velocity. Likewise, if the velocity is
downward (i.e. positive) the force will be upwards (i.e. negative) and in this case the minus sign
in the formula will cancel against the minus in the force. In other words, we can drop the minus
sign in the formula and use
and then just ignore any signs for the force and velocity.
Doing this gives us the following for the damping coefficient
Before solving lets check to see what kind of damping weve got. To do this all we need is the
critical damping coefficient.
So, it looks like weve got critical damping. Note that this means that when we go to solve the
differential equation we should get a double root.
Speaking of solving, lets do that. Ill leave the details to you to check that the displacement at
any time t is.
Notice that the vibration in the system is not really a true vibration as we tend to think of them.
In the critical damping case there isnt going to be a real oscillation about the equilibrium point
that we tend to associate with vibrations. The damping in this system is strong enough to force the
vibration to die out before it ever really gets a chance to do much in the way of oscillation.
12/09/2015 23:11
http://tutorial.math.lamar.edu/Classes/DE/Vibrations.aspx
Example 3 Take the spring and mass system from the first example and this time lets attach a
damper to it that will exert a force of 17 lbs when the velocity is 2 ft/s. Find the displacement at
any time t, u(t).
Solution
So, the only difference between this example and the previous example is damping force. So
lets find the damping coefficient
So it looks like weve got over damping this time around so we should expect to get two real
distinct roots from the characteristic equation and they should both be negative. The IVP for
this example is,
This ones a little messier than the previous example so well do a couple of the steps, leaving it
to you to fill in the blanks. The roots of the characteristic equation are
In this case it will be easier to just convert to decimals and go that route. Note that, as predicted
we got two real, distinct and negative roots. The general and actual solution for this example
are then,
Notice an interesting thing here about the displacement here. Even though we are over damped
in this case, it actually takes longer for the vibration to die out than in the critical damping case.
Sometimes this happens, although it will not always be the case that over damping will allow the
vibration to continue longer than the critical damping case.
Also notice that, as with the critical damping case, we dont get a vibration in the sense that we
usually think of them. Again, the damping is strong enough to force the vibration do die out quick
enough so that we dont see much, if any, of the oscillation that we typically associate with
vibrations.
Lets take a look at one more example before moving on the next type of vibrations.
Example 4 Take the spring and mass system from the first example and for this example lets
attach a damper to it that will exert a force of 5 lbs when the velocity is 2 ft/s. Find the
displacement at any time t, u(t).
Solution
So, lets get the damping coefficient.
9 de 15
12/09/2015 23:11
http://tutorial.math.lamar.edu/Classes/DE/Vibrations.aspx
So its under damping this time. That shouldnt be too surprising given the first two examples.
The IVP for this example is,
They are complex as we expected to get since we are in the under damped case. The general
solution and actual solution are
As with the undamped case we can use the coefficients of the cosine and the sine to determine
which phase shift that we should use. The coefficient of the cosine (c1) is negative and so cos
must also be negative. Likewise, the coefficient of the sine (c2) is also negative and so sin
must also be negative. This means that must be in the Quadrant III and so the second angle is
the one that we want.
The displacement is then
In this case we finally got what we usually consider to be a true vibration. In fact that is the point
of critical damping. As we increase the damping coefficient, the critical damping coefficient will
be the first one in which a true oscillation in the displacement will not occur. For all values of the
damping coefficient larger than this (i.e. over damping) we will also not see a true oscillation in
the displacement.
From a physical standpoint critical (and over) damping is usually preferred to under damping.
Think of the shock absorbers in your car. When you hit a bump you dont want to spend the next
few minutes bouncing up and down while the vibration set up by the bump die out. You would
10 de 15
12/09/2015 23:11
http://tutorial.math.lamar.edu/Classes/DE/Vibrations.aspx
like there to be as little movement as possible. In other words, you will want to set up the shock
absorbers in your car so get at the least critical damping so that you can avoid the oscillations that
will arise from an under damped case.
Its now time to look at systems in which we allow other external forces to act on the object in the
system.
Undamped, Forced Vibrations
We will first take a look at the undamped case. The differential equation in this case is
This is just a nonhomogeneous differential equation and we know how to solve these. The general
solution will be
where the complementary solution is the solution to the free, undamped vibration case. To get the
particular solution we can use either undetermined coefficients or variation of parameters
depending on which we find easier for a given forcing function.
There is a particular type of forcing function that we should take a look at since it leads to some
interesting results. Lets suppose that the forcing function is a simple periodic function of the form
For the purposes of this discussion well use the first one. Using this, the IVP becomes,
We will need to be careful in finding a particular solution. The reason for this will be clear if we
use undetermined coefficients. With undetermined coefficients our guess for the form of the
particular solution would be,
11 de 15
12/09/2015 23:11
http://tutorial.math.lamar.edu/Classes/DE/Vibrations.aspx
Note that we rearranged things a little. Depending on the form that youd like the
displacement to be in we can have either of the following.
If we used the sine form of the forcing function we could get a similar formula.
2.
In this case we will need to add in a t to the guess for the particular solution.
Before setting coefficients equal, lets remember the definition of the natural frequency and
note that
So, the first two terms actually drop out (which is a very good thing) and this gives us,
12 de 15
12/09/2015 23:11
13 de 15
http://tutorial.math.lamar.edu/Classes/DE/Vibrations.aspx
the t in the particular solution will mean that we are going to see an oscillation that grows in
amplitude as t increases. This case is called resonance and we would generally like to avoid this
at all costs.
In this case resonance arose by assuming that the forcing function was,
We would also have the possibility of resonance if we assumed a forcing function of the form.
We should also take care to not assume that a forcing function will be in one of these two forms.
Forcing functions can come in a wide variety of forms. If we do run into a forcing function
different from the one that used here you will have to go through undetermined coefficients or
variation of parameters to determine the particular solution.
Example 5 A 3 kg object is attached to spring and will stretch the spring 392 mm by itself.
There is no damping in the system and a forcing function of the form
is attached to the object and the system will experience resonance. If the object is initially
displaced 20 cm downward from its equilibrium position and given a velocity of 10 cm/sec
upward find the displacement at any time t.
Solution
Since we are in the metric system we wont need to find mass as its been given to us. Also, for
all calculations well be converting all lengths over to meters.
The first thing we need to do is find k.
Now, we are told that the system experiences resonance so lets go ahead and get the natural
frequency so we can completely set up the IVP.
Solution wise there isnt a whole lot to do here. The complementary solution is the free
undamped solution which is easy to get and for the particular solution we can just use the
formula that we derived above.
The general solution is then,
Applying the initial conditions gives the displacement at any time t. Well leave the details to
you to check.
The last thing that well do is combine the first two terms into a single cosine.
12/09/2015 23:11
http://tutorial.math.lamar.edu/Classes/DE/Vibrations.aspx
In this case the coefficient of the cosine is positive and the coefficient of the sine is negative.
This forces cos to be positive and sin to be negative. This means that the phase shift needs
to be in Quadrant IV and so the first one is the correct phase shift this time.
The displacement then becomes,
14 de 15
12/09/2015 23:11
http://tutorial.math.lamar.edu/Classes/DE/Vibrations.aspx
Plugging this into the differential equation and simplifying gives us,
Variation of Parameters
Laplace Transforms
Online Notes / Differential Equations (Notes) / Second Order DE`s / Mechanical Vibrations
[Contact Me] [Links] [Privacy Statement] [Site Map] [Terms of Use] [Menus by Milonic]
2003 - 2015 Paul Dawkins
15 de 15
12/09/2015 23:11