Problem Statement
For the below system set up a set of state variable equations, and then solve using Laplace transformations. Assume all motion takes place in the vertical directions.
Initial Values
For the upper mass:
And for the lower mass:
Find the Force Equations
First we need to sum forces in the y-direction for each block.
For mass 1:
For mass 2:
So if we put the equations above into the correct form we have:
and
State Space Equation
The general form for the state equation is as shown below:
Where denotes a matrix and denotes a vector.
If we let , , , and be the state variables, then
We don't need to include gravity here if we allow are initial conditions for the spring to be zero with gravity accounted for.