Laplace transforms:Mass-Spring Oscillator: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 38: Line 38:




<math>\ddot{x}+\frac{b}{m}\dot{x}+\frac{k}{m}x=\frac{k}{m}f</math>
<math>\ddot{x}+\frac{b}{m}\dot{x}+\frac{k}{m}x=\frac{\delta(t)}{m}</math>




Line 44: Line 44:




<math>\mathcal{L}_s\left\{\frac{k}{m}f\right\}=\mathcal{L}_s\left\{\ddot{x}+\frac{b}{m}\dot{x}+\frac{k}{m}x\right\}</math><br /><br />
<math>\mathcal{L}_s\left\{\frac{\delta(t)}{m}\right\}=\mathcal{L}_s\left\{\ddot{x}+\frac{b}{m}\dot{x}+\frac{k}{m}x\right\}</math><br /><br />


<math>\frac{k}{m}\mathcal{L}_s\left\{f\right\}=\mathcal{L}_s\left\{\ddot{x}\right\}+\frac{b}{m}\mathcal{L}_s\left\{\dot{x}\right\}+\frac{k}{m}\mathcal{L}_s\left\{x\right\}</math><br /><br />
<math>\frac{1}{m}\mathcal{L}_s\left\{\delta(t)\right\}=\mathcal{L}_s\left\{\ddot{x}\right\}+\frac{b}{m}\mathcal{L}_s\left\{\dot{x}\right\}+\frac{k}{m}\mathcal{L}_s\left\{x\right\}</math><br /><br />




<math>\frac{k}{m}\mathbf{F}(s)=\mathbf{X}(s)s^2+\frac{b}{m}\mathbf{X}(s)s+\frac{k}{m}\mathbf{X}(s)</math><br /><br />
<math>\frac{1}{m}\left\{1\right\}=\mathbf{X}(s)s^2+\frac{b}{m}\mathbf{X}(s)s+\frac{k}{m}\mathbf{X}(s)</math><br /><br />




<math>\frac{k}{m}\mathbf{F}(s)=\left\{s^2+\frac{b}{m}s+\frac{k}{m}\right\}\mathbf{X}(s)</math><br /><br />
<math>\frac{1}{m}=\left\{s^2+\frac{b}{m}s+\frac{k}{m}\right\}\mathbf{X}(s)</math><br /><br />




Line 58: Line 58:




<math>\mathbf{X}(s)=\frac{\frac{k}{m}\mathbf{F}(s)}{\left\{s^2+\frac{b}{m}s+\frac{k}{m}\right\}} </math>
<math>\mathbf{X}(s)=\frac{\frac{1}{m}}{\left\{s^2+\frac{b}{m}s+\frac{k}{m}\right\}} </math>





Revision as of 15:51, 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=5 N/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.


Fig. 1

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

Part 2

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

Part 3

Make a bode plot.

Solution

Part 1


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:




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):



The above function is now ready to have the driving function put in, although we will use the equation from above in part 3. We could pick whatever we want for the driving function, a sine wave, a square wave, ect... However, we are going to go with an impulse, or a one time "kick" to the mass. This turns this equation into:



Now we can go ahead and put in the values that we know from the problem statement which gives us:



We know from Laplace transforms that:



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:



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



Now we take the inverse Laplace transform:




Now that we are back in the time domain we just add the two parts together and we have:



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


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