Laplace transforms: Under-damped Mass-Spring System on an Incline

From Class Wiki
Jump to navigation Jump to search

Brandon.plubell 03:26, 9 November 2009 (UTC)


Part 1 - Use Laplace Transformations

By Brandon Plubell

Problem Statement

Find the equation of motion for the mass in the system subjected to the forces shown in the free body diagram. The inclined surface is coated in 1mm of SAE 30 oil.

Problem Setup


Initial Conditions and Values

  • A is the area of the box in contact with the surface
  • g is the gravitational acceleration field constant
  • bt is the thickness of the fluid covering the inclined surface
  • μ is the viscosity constant of the fluid
  • m is the mass of the box
  • k is the spring constant

Let the initial conditions be

Force Equations

Free Body Diagram

The sum of the forces in the x direction yields the equation


Where

To make the algebra easier, let

Then, from the sum of forces equation


Laplace Transform

If we let be 0 and rearrange the equation,

The above is the transfer function that will be used in the Bode plot and can provide valuable information about the system.


Inverse Laplace Transform

Since the Laplace Transform is a linear transform, we need only find three inverse transforms. All of the these have complex roots, since . Because I am not yet comfortable finding the inverse with complex roots by hand, I used a laplace transform program for the TI-89.


Equation of Motion

Putting it all back together again gives,


It is useful to have the equation in the form given above because can be varied and still give accurate results. The Matlab (or Octave) script below can be edited as described. Take note! cannot be altered (else the inverse Laplace is false)!

Matlab Script

Octave Script

Position of Mass from Laplace Method

Part 2 - Final and Initial Value Theorems

Initial Value Theorem

As was derived in class, there are two theorems that relate the initial and final values (in this case positions) of the output functions in the t domain with the output function in the s domain. In a case such as this, in which the initial values are given, the initial value theorem is just a check.

Taking the limit of gives


Final Value Theorem

The Final Value Theorem is a very useful tool that will show what the final value of the output function (as ), which in this case is the final position of the block. Notice that it is not the unstretched length of the spring (else ). It is also of interest to note that only the input function comes into play here, as all the others go to zero, and is not dependent on the initial position or velocity.

Which can be seen in the plot in the section Equation of Motion.

Part 3 - Bode Plot

The bode plot shows useful information about the system we are analyzing. It has only to do with the transfer function, which means that it does not change based upon the input. However, it can show what a given frequency of a harmonic input will do to the output. For my example, it can be seen that at about there is a rise in the magnitude of the transfer function. If it were hit with a corresponding frequency by an input function, it could have very larg oscillations.

BP BodePlot-1.jpg

Part 4 - Breakpoints and Asymptotes on Bode Plot

From the transfer function in the Laplace Transform section,

it can be seen that there are no zeros (nothing in the numerator that would make the function go to zero), but there is a place in the denominator that would exhibit deviant behavior. That is when the and are on the same order of magnitude. That is one stops dominating and the other starts. This point can be visually observed by finding the intersection of the asymptotes in the Bode Plot. Where they intersect is (roughly) a breakpoint. It looks as though this is also the max of the Bode Plot and possibly the resonant frequency.

Part 5 - Convolution

The convolution is a equation that relates the output to the input and transfer function. As derived in class, it is

Where is the inverse laplace of the transfer function.

So

To solve the integral, one must do two integration by parts, or alternatively plug it into a calculator, which yields

As can be seen in the plot, the Convolution method, as executed, resulted in the same results as the Laplace methods, just without any initial conditions (starts at 0 and has a smaller amplitude, but finishes at the same point). Questions left: How could the result be adjusted to account for initial conditions?

Both Laplace and Convolution Methods of EOM

(Laplace in blue solid, Convolution in red dotted)


Part 6 - State Equation

Choose the state variable to be and , then following the example from class, the state equation is



Appendix A

Poles

If one puts the transfer function from the Laplace Transform section, it can be seen that the poles (roots of the denominator) will have both real and imaginary components, which is observable by the quadratic formula

Given and

Note the (important) switching of the terms in the square root when the was taken out front, since it is of course . Below is a nice plot (built in Matlab function, like the bode plot) which the plots poles on the imaginary and real axes. The closer the poles get to the the imaginary axis (i.e., the smaller the real values get), the closer to destructive behavior at a certain frequency.

BP Poles-1.jpg