Laplace transforms:Mass-Spring Oscillator: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
'''Part 1'''
'''Part 1'''


An ideal mass ''m''=10kg is sitting on a plane, attached to a rigid surface via a spring. The spring with ''k''=10.8 kN/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. Find the equation of motion that the spring mass system follows if there is an initial impulse applied, and then find the kinematic 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.
An ideal mass ''m''=10kg is sitting on a plane, attached to a rigid surface via a spring. The spring with ''k''=10.8 kN/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 kinematic 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.




Line 20: Line 20:


===Solution===
===Solution===



'''Part 1'''
'''Part 1'''




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


By Newton's first law:
math>\mathbf{F}=m{a} 21:28, 22 October 2009 (UTC) \Rightarrow 21:28, 22 October 2009 (UTC) \mathbf{f}_m(t)=m\ddot{x}</math>
By Hooke's law:
math>\mathbf{F}=k{x} 21:28, 22 October 2009 (UTC) \Rightarrow 21:28, 22 October 2009 (UTC) \mathbf{f}_k(t)=kx</math>


Now we set up our equation of motion:




Line 92: Line 84:




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:
We know from Laplace transforms that:


<math>\mathcal{L}_s\left\{sin(w_0t)\right\}=\frac{w_0}{s^2+w_0^2}</math>

<math>\mathcal{L}_s\left\{cos(w_0t)\right\}=\frac{s}{s^2+w_0^2}</math>


From this we know that we are going to have two parts to our solution, and sine wave and a cosine wave. We can also tell that:


<math>\frac{k}{m}=w_0^2</math>


Once we get the Laplace transform into the correct form, we have:


<math>\mathbf{X}(s)=x_0\frac{s}{s^2+w_0^2}+\frac{v_0}{w_0}\frac{w_0}{s^2+w_0^2}</math>




<math>x(t)=0.010194cos(10.38027t)e^{-1.533t} \,</math>
Now we take the inverse Laplace transform:




So 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 kinematic viscosity that goes with that ''b'' value.
<math>\mathcal{L}_s^{-1}\left\{x_0\frac{s}{s^2+w_0^2}\right\}=x_0cos(w_0t)</math>




The equation below is one of the standard shear stress equations:
<math>\mathcal{L}_s^{-1}\left\{\frac{v_0}{w_0}\frac{w_0}{s^2+w_0^2}\right\}=\frac{v_0}{w_0}sin(w_0t)</math>




<math>\tau=\mu\frac{\dot{x}}{t}</math>.....where <math>t</math> is the film thickness and <math>\mu</math> is the kinematic viscosity.
Now that we are back in the time domain we just add the two parts together and we have:




We know that force is just a certain stress applied to an area, so:
<math>x(t)=x_0cos(w_0t)+\frac{v_0}{w_0}sin(w_0t)</math>




<math>b=\mu A \frac{\dot{x}}{t}</math>
So we have found the equation that governs the motion of the spring mass system, all that is left is putting in constants for the variables to find numerical answers for any problem of this type.


'''Part 2'''
'''Part 2'''

Revision as of 23:19, 22 October 2009

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=10.8 kN/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 kinematic 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.

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:



So 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 kinematic viscosity 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:


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:







It seems as though the Final Value Theorem predicts the final result to be 0. However, in this case, the function is an oscillating one, and the prediction is telling us the average, which is 0. So, in this case the Final Value Theorem is not used to its full potential.



Written by: David Steinweg

Checked by: Nathan Reeves