Laplace Transforms: Vertical Motion of a Coupled Spring System: Difference between revisions
No edit summary |
No edit summary |
||
Line 157: | Line 157: | ||
\end{bmatrix} |
\end{bmatrix} |
||
</math> |
</math> |
||
= References = |
Revision as of 17:33, 24 November 2009
Problem Statement
Derive the system of differential equations describing the straight-line vertical motion of the coupled spring shown in Figure 1. Use Laplace transform to solve the system when Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_1=k_2=k_3=1} , Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle m_1=m_2=1} , and Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x_1(0)=0} , Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x'1(0)=-1} , Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x_2(0)=0} , and Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x'_2(0)=1} .
Solution
At positions Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x_1} and Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x_2} , the masses Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle m_1} and Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle m_2} are in equilibrium. Thus, the motion equations for Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle m_1} and Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle m_2} are,
- Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle m_1\ddot{x}_1=-k_1x_1+k_2(x_2-x_1)}
- ∴Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle m_1\ddot{x}_1+k_1x_1-k_2(x_2-x_1)=0}
- Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle m_2\ddot{x}_2=-k_2(x_2-x_1)-k_3x_2}
- ∴ Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle m_2\ddot{x}_2+k_2(x_2-x_1)-k_3x_2=0}
where Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle m_1x''_1}
and Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle m_2x''_2}
represent the Newton's Second Law of Motion and Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle -k_1x_1+k_2(x_2-x_1)}
and Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle -k_2(x_2-x_1)-k_3x_2}
represent the net forces acting in the masses.
Laplace Transform
Applying the Laplace Transform to the motion equations and plugging the values of Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_1} , Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_2} , Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_3} , Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle m_1} , Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle m_2} , Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x_1(0)} , Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x'1(0)} , Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x_2(0)} , and Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x'_2(0)} for this systems, we obtain,
- Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \mathcal{L}[m_1\ddot{x}_1+k_1x_1-k_2(x_2-x_1)]=m_1[s^2X_1(s)-sx_1(0)-\dot{x}_1(0)]+k_1X_1(s)-k_2(X_2(s)-X_1(s))=0}
- Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle X_1(s)(m_1s^2+k_1+k_2)=m_1(sx_1(0)-\dot{x}_1(0))+k_2X_2(s)}
- Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle X_1(s)=\dfrac{m_1(sx_1(0)+\dot{x}_1(0))+k_2X_2(s)}{(m_1s^2+k_1+k_2)}}
- Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle X_1(s)=\dfrac{1(s0+(-1)]+1X_2(s)}{(1s^2+1+1)}}
- Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle X_1(s)=\dfrac{X_2(s)-1}{(s^2+2)}}
- Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \mathcal{L}[m_2\ddot{x}_2+k_2(x_2-x_1)+k_3x_2]=m_2[s^2X_2(s)-sx_2(0)-\dot{x}_2(0)]+k_2(X_2(s)-X_1(s))+k_3X_2(s)=0}
- Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle X_2(s)(m_2s^2+k_2+k_3)=m_2(sx_2(0)-\dot{x}_2(0))+k_2X_1(s)}
- Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle X_2(s)=\dfrac{m_2(sx_2(0)+\dot{x}_2(0))+k_2X_1(s)}{(m_2s^2+k_2+k_3)}}
- Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle X_2(s)=\dfrac{1(s0+1)+1X_1(s)}{(1s^2+1+1)}}
- Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle X_2(s)=\dfrac{X_1(s)+1}{(s^2+2)}}
Finally, solving for Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle X_1(s)} and Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle X_2(s)} yields,
- Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle X_1(s)=\dfrac{-1}{s^2+3}}
- Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle X_2(s)=\dfrac{1}{s^2+3}}
Inverse Laplace Transform
First, we recognize that
Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle sin(kt) = \mathcal{L}^{-1} \left \{ \dfrac{k}{s^2+k^2} \right \}}
On the other hand, we identify that Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k^2=3} , and so Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k=\sqrt{3}} . Hence, we fix the expression by multiplying and dividing by Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sqrt{3}} ,
- Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x_1(t)=\mathcal{L}^{-1}[X_1(s)] = \mathcal{L}^{-1} \left [ \dfrac{-1}{s^2+3} \right ] = -\dfrac{1}{\sqrt{3}} \mathcal{L}^{-1} \left [ \dfrac{\sqrt{3}}{s^2+3} \right ] = -\dfrac{1}{\sqrt{3}} sin(\sqrt{3}t)}
- Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x_2=(t)\mathcal{L}^{-1}[X_2(s)] = \mathcal{L}^{-1} \left [ \dfrac{1}{s^2+3} \right ] = \dfrac{1}{\sqrt{3}} \mathcal{L}^{-1} \left [ \dfrac{\sqrt{3}}{s^2+3} \right ] = \dfrac{1}{\sqrt{3}} sin(\sqrt{3}t)}
A plot of the oscillatory motion is shown on Figure 2.
Initial-Value & Final-Value Theorem
The initial-value and final-value theorem can be useful the finding the behavior of a functionat small and large times respectively. By definition, the Initial-Value Theorem is,
Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \lim_{s\rightarrow \infty} sX(s)=x(0)\,}
and the Final-Value Theorem is,
Thus, applying both theorems to our the Laplace Transforms,
Bode Plot
The Bode plot for the Transfer Functions
and
can be easily done using a program like Octave or MATLAB. The code is displayed below. From Figure 3 we may notice that the Amplitude vs. Frequency plot for both functions overlaps. The peak amplitude occurs at seconds, as well as the phase switching as shown in the Phase vs. Frequency plot.
h1=tf([-1],[1 0 3]); h2=tf([1],[1 0 3]); bode(h1,'b',h2,'-.r'); legend('H_1(s)','H_2(s)') grid on;
Magnitude Frequency Response
Considering the Transfer Functions and described in the Bode Plot section, we notice that there are no values for the s-variable that make and equal zero.
From the Bode Plot, we notice that the break point occurs at ≈ 1.73 seconds, so the
Convolution
By definition, the convolution of two functions is,
where refers to the inverse Laplace Transform. Assuming that is a dummy variable of integration, and is the impulse function ( ), the convolution for our system is,
which is the same solution yields by the inverse Laplace Transform
State Equation Model
By definition, the the state equation is stated as
Now, consider the motion equations described in the Solution section,
Solving for and yields,
Finally, we let , , , and be the state variables. Thus,