Laplace transforms:Mass-Spring Oscillator

From Class Wiki
Revision as of 11:11, 27 October 2009 by David.steinweg (talk | contribs)
Jump to navigation Jump to search

Problem Statement

Part 1

An ideal mass m=10kg is sitting on a plane, attached to a rigid surface via a spring. The spring with k=500N/m is exerting zero force when the mass is centered at x=0. Between the mass and plane there is a 1 mm layer of a viscous fluid and the block has an area of .1m^2 in contact the plane. Find the equation of motion that the spring mass system follows if there is an initial impulse applied, and then find the viscosity value of the fluid so that the mass comes to a stop within three seconds with the initial impulse used. Below is a picture/FBR of the system.


Fig. 1


As set up, the mass is sitting at x=0 with positive being to the right.

Part 2

Apply the Initial Value and Final Value Theorems to this problem.

Part 3

Make a bode plot.

Part 4

Find how to use the break points and asymptotes to obtain the magnitude frequency response.

Part 5

Use convolution to find the output.


Solution

Part 1

Using the FBR from the problem statement we can set up our differential equation:




We now have a second order differential equation that governs the motion of the mass. If we make our initial conditions equal to zero, we save a few steps. Taking the Laplace transform of both sides gives:













Now that we have the Laplace transform of the differential equation that governs the motion of the spring and mass system, we need to solve for X(s):



We now have the function in terms of X(s). We will use the above equation to help in part 3, but for now we want to continue with part 1. We now want to find the value of b so that the mass stops oscillating after t=3s. However, we know that it will never actually be zero until a long time after, so for now we will consider motion >2% of original to be stopped. The below formula helps us find the value of b:





Now using the relationship below, we are able to compute the value of b:




When we plug this number into the Laplace transform equation along with the values given:




The next step of taking the inverse Laplace transform is pretty complicated since we have complex roots, so I will just show the equation after it has been put back through:



If we want to plot the equation above to see whether or not it looks good, we can use the below code in Matlab:

t=0:.01:4;
x=0.2.*cos(6.9029.*t).*exp(-1.533.*t);
plot(t,x);
grid
xlabel('time (sec)');
ylabel('amplitude (m)');
Fig. 1


Well, it looks good within that 2% value that we were looking for.


We have found the equation that the mass follows with the value of b that brings the mass to a "stop" within three seconds. But now we need to find the viscosity of the fluid that goes with that b value.


The equation below is one of the standard shear stress equations:


.....where is the film thickness and is the kinematic viscosity.


We know that force is just a certain stress applied to an area, so:




Now we just plug in the values that are given and what we have found and we get:




We have now found the viscosity value of the fluid used to damper the system. If we look that value up in a book, we find that this is about the viscosity of some SAE-10W oils at reasonable temperatures.


Part 2

The Initial Value Theorem states:



So if we plug our equation into this we have:





As expected, the Initial Value Theorem shows us that the initial value is just the initial x value.


The Final Value Theorem States:






As expected, the final value will be zero because the mass will come back to rest in the position from which it began at x=0.


Part 3

I used maple to plot the bode plots of the system using the below code which is pretty simple.


g = tf([.1],[1 3.066 50]);
bode(g);
grid 
Fig. 2

Part 4

Part 5


Written by: David Steinweg

Checked by: Nathan Reeves