Static Preload November 18, 2023 A simple method to calculate the static preload in a lumped body multi Degrees of Freedom system
๐ก
Tip
Final Formula
Given a system of
s s
springs and
n n
bodies in
N N
degrees of freedom, we can calculate the static preload of our springs at equilibrium by:
ฮ l o โ = [ A ] โ 1 [ b ] \vec {\Delta l_o} = [A]^{-1}[b] with
ฮ l o โ \vec {\Delta l_o}
as the vector of our
s s
ordered solution, with
[ A ] = [ ฮป k ] T [ k p h ] [A]=[\lambda_k]^T[k_{ph}] and
[ b ] = โ g [ ฮป g ] T m โ p h [b]=-g[\lambda_g]^T\vec m_{ph} [ ฮป k ] [\lambda_k]
is our standard lagrangian matrix for the springs,
[ ฮป g ] [\lambda_g]
instead is built by selecting the components of vertical displacement from
[ ฮป m ] [\lambda_m]
(lagrangian matrix of the inertial terms) and
m โ p h \vec m_{ph}
as the list of masses in column form.
Let’s start by defining our problem.
x x
is our free coordinate, so we have:
V ( x ) = V k ( x ) + V g ( x ) V(x) = V_k(x) + V_g(x) V V
is the potential energy of our system and it can be divided into an elastic component
V k V_k
and a gravitational component
V g V_g
.
The equilibrium is defined as the point
x 0 x_0
so that
โ V โ x โฃ x 0 = 0 \frac{\partial V}{\partial x}\rvert_{x_0}=0
โ V k โ x โฃ x 0 + โ V g โ x โฃ x 0 = 0 \frac{\partial V_k}{\partial x}\rvert_{x_0}+\frac{\partial V_g}{\partial x}\rvert_{x_0}=0 To simplify our math let’s suppose that
x 0 = 0 x_0=0
(it’s a simple change of coordinates that will help in the N-dof case).
The first step is to derive the components of the potential energy:
V k V_k
describes the energy stored in an ideal linear spring with Hooke’s coefficient
k k
subject to a deformation
ฮ l \Delta l
V k ( x ) = โ i = 1 s 1 2 k i ฮ l i 2 ( x ) V_k(x) = \sum_{i=1}^{s} \frac{1}{2} k_i \Delta l_i^2(x) We can ignore the index for now and express
ฮ l ( x ) \Delta l (x)
as
ฮ l ( x ) = l ( x ) โ l r \Delta l(x) = l(x) - l_r
, with
l ( x ) l(x)
as the total length of our spring and
l r l_r
as the initial length of the spring at resting position, thus giving us the convention of positive sign for tension and negative sign for compression of our spring.
We can expand it as:
ฮ l ( x ) โ ฮ l ( 0 ) + โ ฮ l โ x โฃ x = 0 x + 1 2 โ 2 ฮ l โ x 2 โฃ x = 0 x 2 = ฮ l 0 + ฮป k ( 0 ) x + 1 2 ฮฝ k ( 0 ) x 2 \Delta l(x) \approx \Delta l(0) + \frac{\partial \Delta l }{\partial x}\rvert_{x=0} x +\frac{1}{2}\frac{\partial^2 \Delta l }{\partial x^2}\rvert_{x=0} x^2 =\Delta l_0 + \lambda_k(0)x + \frac{1}{2}\nu_k(0)x^2 We are going to square and derive this expression, so every term of
x x
with power greater or equal than two
{ x n : n โฅ 2 } \{ x^n : n\geq 2 \}
is going to show up as a function of
x n โ 1 x^{n-1}
and when evaluated at
x = 0 x=0
they simply dissapear.
ฮ l ( x ) โฃ x = 0 โ ฮ l 0 + ฮป k ( 0 ) x = ฮ l 0 + ฮป k 0 x \Delta l(x)\rvert_{x=0} \approx \Delta l_0 + \lambda_k(0)x = \Delta l_0 + \lambda_{k0} x When putting it back into the sum we get:
V k ( x ) โฃ x = 0 โ โ i = 1 s 1 2 k i ( ฮ l i 0 + ฮป i k 0 x ) 2 = โ i = 1 s 1 2 k i ( ฮ l i 0 2 + ฮป i k 0 2 x 2 + 2 ฮ l i 0 ฮป i k 0 x ) V_k(x) \rvert_{x=0} \approx \sum_{i=1}^{s} \frac{1}{2} k_i (\Delta l_{i0} + \lambda_{ik0} x )^2 = \sum_{i=1}^{s} \frac{1}{2} k_i (\Delta l_{i0}^2 + \lambda_{ik0}^2 x^2 + 2 \Delta l_{i0} \lambda_{ik0} x ) Let’s evaluate the derivative in respect to
x x
:
ฮ l 0 2 \Delta l_0^2
is a constant and gets eliminated by the derivative, the other sqare term becomes
ฮป k 0 2 x \lambda_{k0}^2 x
and goes to zero when evaluated at
x = 0 x=0
, so only the mixed term
2 ฮ l o ฮป k 0 x 2\Delta l_o \lambda_{k0} x
survives and the derivative becomes:
โ V k โ x โฃ x = 0 = โ i = 1 s k i ฮ l i 0 ฮป i k 0 \frac {\partial V_k }{\partial x}\rvert_{x=0}= \sum_{i=1}^s k_i \Delta l_{i0} \lambda_{ik0} We can rewrite this in vector form as:
[ k p h ] = d i a g ( k 1 ; k 2 ; . . . ; k s ) [k_{ph}] = diag(k_1; k_2; ... ; k_s)
ฮ l 0 โ = [ ฮ l 10 ; ฮ l 20 ; . . . ; ฮ l s 0 ] \vec {\Delta l_0 } = [ \Delta l_{10}; \Delta l_{20}; ... ; \Delta l_{s0}]
ฮป โ k = [ ฮป 1 k ; ฮป 2 k ; . . . ; ฮป s k ] \vec \lambda_{k} = [\lambda_{1k};\lambda_{2k};...;\lambda_{sk}]
โ V g ( x ) โ x โฃ x = 0 = ฮป โ k T [ k p h ] ฮ l 0 โ \frac{\partial V_g(x)}{\partial x}\rvert_{x=0} = \vec \lambda_{k}^T [k_{ph}] \vec {\Delta l_0 } V g ( x ) = g โ j = 1 n m j h j ( x ) V_g(x) = g \sum_{j=1}^n m_j h_j(x) This expresses the total gravitational energy in our system supposing
n n
bodies with mass
m j m_j
and height
h j h_j
measured from an arbitrary system of coordinates.
Applying the same concepts as the elastic term we get:
h ( x ) โฃ x = 0 โ h ( x ) โฃ 0 + โ h โ x โฃ 0 x + 1 2 โ 2 h โ x 2 โฃ 0 x 2 h(x)\rvert_{x=0} \approx h(x)\rvert_{0}+\frac{\partial h}{\partial x}\rvert_{0}x+\frac{1}{2}\frac{\partial^2 h}{\partial x^2}\rvert_{0} x^2 Let’s focus on the lower order terms and we get:
h ( x ) โฃ x = 0 โ h 0 + ฮป g x h(x)\rvert_{x=0} \approx h_{0}+\lambda_gx In this context
ฮป g \lambda_g
is the linearized displacement of the height at equilibrium.
V g ( x ) = g โ j = 1 n m j ( h j 0 + ฮป j g x ) V_g(x) = g \sum_{j=1}^n m_j (h_{j0}+\lambda_{jg}x) Deriving it we get
โ V g ( x ) โ x โฃ x = 0 = g โ j = 1 n m j ฮป j g \frac{\partial V_g(x)}{\partial x}\rvert_{x=0}=g \sum_{j=1}^n m_j \lambda_{jg} Let’s put everything in vector form
m p h โ = [ m 1 m 2 โฎ m n ] \vec {m_{ph}} = \begin{bmatrix}
m_1 \\ m_2 \\ \vdots \\ m_n
\end{bmatrix}
ฮป โ g = [ ฮป 1 g ฮป 2 g โฎ ฮป n g ] \vec \lambda_{g} =
\begin{bmatrix}
\lambda_{1g} \\ \lambda_{2g}\\ \vdots \\ \lambda_{ng}
\end{bmatrix}
โ V g ( x ) โ x โฃ x = 0 = g ฮป โ g T m p h โ \frac{\partial V_g(x)}{\partial x}\rvert_{x=0} = g \vec \lambda_{g}^T \vec {m_{ph}} โ V k โ x โฃ x 0 + โ V g โ x โฃ x 0 = 0 \frac{\partial V_k}{\partial x}\rvert_{x_0}+\frac{\partial V_g}{\partial x}\rvert_{x_0}=0
ฮป โ k T [ k p h ] ฮ l 0 โ + g ฮป โ g T m p h โ = 0 \vec \lambda_{k}^T [k_{ph}] \vec {\Delta l_0 } + g \vec \lambda_{g}^T \vec {m_{ph}} = 0 To find
ฮ l 0 โ \vec {\Delta l_0 }
we just rearrange it as:
ฮ l 0 โ = โ g ( ฮป โ k T [ k p h ] ) โ 1 ฮป โ g T m p h โ = [ A ] โ 1 b โ \vec {\Delta l_0 } = -g(\vec \lambda_{k}^T [k_{ph}])^{-1} \vec \lambda_{g}^T \vec {m_{ph}} = [A]^{-1}\vec b We follow the same procedure but now we have additional dimensions for our
x โ \vec x
:
x โ = [ x 1 x 2 โฎ x N ] \vec x =
\begin{bmatrix}
x_1 \\ x_2 \\ \vdots \\ x_N
\end{bmatrix}
So we need to evaluate the gradient of our potential energy funcion for the equilibrium:
โ V ( x โ ) โ x โ โฃ x โ = 0 โ = [ โ V ( x โ ) โ x 1 โ V ( x โ ) โ x 2 โฎ โ V ( x โ ) โ x N ] โฃ x โ = 0 โ = 0 โ \frac{\partial V(\vec x)}{\partial \vec x}\rvert_{\vec x= \vec 0} =
\begin{bmatrix}
\frac{\partial V(\vec x)}{\partial x_1} \\
\frac{\partial V(\vec x)}{\partial x_2} \\
\vdots \\
\frac{\partial V(\vec x)}{\partial x_N}
\end{bmatrix}\rvert_{\vec x= \vec 0} =\vec 0
โ V ( x โ ) โฃ x โ = 0 โ = โ V k ( x โ ) โฃ x โ = 0 โ + โ V g ( x โ ) โฃ x โ = 0 โ = 0 โ \nabla V(\vec x)\rvert_{\vec x= \vec 0} = \nabla V_k(\vec x)\rvert_{\vec x= \vec 0} + \nabla V_g(\vec x)\rvert_{\vec x= \vec 0} = \vec 0 V k ( x โ ) = 1 2 โ i = 1 s k i ฮ l i 2 ( x โ ) = 1 2 ฮ l 0 โ T ( x โ ) k p h ฮ l 0 ( x โ ) โ V_k (\vec x)=\frac{1}{2}\sum_{i=1}^{s}k_i\Delta l_i^2(\vec x) =
\frac{1}{2} \vec{\Delta l_0}^T (\vec x) k_{ph} \vec{\Delta l_0(\vec x)}
with
k p h = d i a g ( k 1 , k 2 , . . . , k s ) k_{ph}=diag(k1,k2,...,ks)
ฮ l 0 โ ( x โ ) = [ ฮ l 10 ( x โ ) ฮ l 20 ( x โ ) โฎ ฮ l N 0 ( x โ ) ] \vec{\Delta l_0}(\vec x) = \begin{bmatrix}
\Delta l_{10}(\vec x) \\
\Delta l_{20}(\vec x) \\
\vdots \\
\Delta l_{N0}(\vec x)
\end{bmatrix}
As usual we expand our
ฮ l ( x โ ) \Delta l(\vec x)
near the equilibrium:
ฮ l ( x โ ) โ โฃ x โ = 0 โ โ ฮ l ( 0 โ ) โ + โ ฮ l โ x โ โฃ x โ = 0 โ x โ + 1 2 โ 2 ฮ l โ x 2 โฃ x โ = 0 โ x โ 2 = ฮ l 0 โ + [ ฮป k ( 0 ) ] x โ + 1 2 x โ T [ ฮฝ k ( 0 ) ] x โ \vec{\Delta l(\vec x)} \rvert_{\vec x=\vec 0} \approx \vec {\Delta l(\vec 0)} + \frac{\partial \Delta l }{\partial \vec x}\rvert_{\vec x= \vec 0} \vec x +\frac{1}{2}\frac{\partial^2 \Delta l }{\partial x^2}\rvert_{\vec x= \vec 0} \vec x^2 = \vec{\Delta l_0} + [\lambda_k(0)]\vec x + \frac{1}{2}\vec x^T[\nu_k(0)]\vec x and we simplify it as:
ฮ l ( x โ ) โ โฃ x โ = 0 โ โ ฮ l 0 โ + [ ฮป k ( 0 ) ] x โ = ฮ l 0 โ + [ ฮป k 0 ] x โ \vec{\Delta l(\vec x)}\rvert_{\vec x=\vec 0} \approx \vec{\Delta l_0} + [\lambda_k(0)] \vec x = \vec{\Delta l_0} + [\lambda_{k0}] \vec x Plugging it into the initial equation we get:
V k ( x โ ) โฃ x โ = 0 โ โ 1 2 ( ฮ l 0 โ + [ ฮป k 0 ] x โ ) T [ k p h ] ( ฮ l 0 โ + [ ฮป k 0 ] x โ ) = V_k (\vec x) \rvert_{\vec x=\vec 0} \approx
\frac{1}{2} (\vec {\Delta l_{0}} + [\lambda_{k0}] \vec x)^T [k_{ph}] (\vec {\Delta l_{0}} + [\lambda_{k0}] \vec x) =
= 1 2 ( x โ T [ ฮป k 0 ] T [ k p h ] [ ฮป k 0 ] x โ + ฮ l 0 โ T [ k p h ] ฮ l 0 โ + ฮ l 0 โ T [ k p h ] [ ฮป k 0 ] x โ + x โ T [ ฮป k 0 ] T [ k p h ] ฮ l 0 โ ) = \frac{1}{2}(
\vec x^T[\lambda_{k0}]^T [k_{ph}] [\lambda_{k0}] \vec x +
\vec {\Delta l_{0}}^T[k_{ph}] \vec {\Delta l_{0}} +
\vec {\Delta l_{0}}^T[k_{ph}] [\lambda_{k0}] \vec x +
\vec x^T[\lambda_{k0}]^T [k_{ph}] \vec {\Delta l_{0}} )
Like for our 1-DOF case the only terms that survive the gradient are the mixed ones:
โ V k โฃ x โ = 0 โ = โ V k โ x โ ( x โ ) โฃ x โ = 0 โ โ 1 2 ( ฮ l 0 โ T [ k p h ] [ ฮป k 0 ] + [ ฮป k 0 ] T [ k p h ] ฮ l 0 โ ) = [ ฮป k 0 ] T [ k p h ] ฮ l 0 โ \nabla V_k\rvert_{\vec x= \vec 0}= \frac{\partial V_k}{\partial \vec x} (\vec x) \rvert_{\vec x=\vec 0} \approx
\frac{1}{2} (\vec {\Delta l_{0}}^T[k_{ph}] [\lambda_{k0}] + [\lambda_{k0}]^T [k_{ph}] \vec {\Delta l_{0}} ) = [\lambda_{k0}]^T [k_{ph}] \vec {\Delta l_{0}}
โน๏ธ
Note
For
x , y โ R _ n , 1 x,y \in \mathbb{R}\_{n,1}
and
[ S ] โ R n , n [S] \in \mathbb{R}_{n,n}
.
Then
x T [ S ] y x^T[S]y
is just a scalar. So:
( x T [ S ] y ) T = x T [ S ] y (x^T[S]y)^T=x^T[S]y If
[ S ] [S]
is symmetric:
x T [ S ] y = ( x T [ S ] y ) T = y T [ S ] T x = y T [ S ] x x^T[S]y=(x^T[S]y)^T=y^T[S]^Tx=y^T[S]x This must be straightforward now if you understood the past passages but for completeness let’s write them down:
V g ( x โ ) = g h โ ( x โ ) T m p h โ V_g(\vec x) = g \vec h(\vec x)^T \vec {m_{ph}} with
m โ p h = [ m 1 m 2 โฎ m n ] \vec m_{ph}= \begin{bmatrix}
m_1 \\ m_2 \\ \vdots \\ m_n
\end{bmatrix}
h โ ( x โ ) = [ h 1 ( x โ ) h 2 ( x โ ) โฎ h n ( x โ ) ] \vec h(\vec x) = \begin{bmatrix}
h_1(\vec x) \\ h_2(\vec x) \\ \vdots \\ h_n(\vec x)
\end{bmatrix} Expanding the height we get:
h โ ( x โ ) โฃ x โ = 0 โ โ h โ ( x โ ) โฃ 0 โ + โ h โ โ x โ โฃ 0 โ x โ + 1 2 โ 2 h โ x โ โ x โ โฃ 0 โ x โ 2 = h โ 0 + [ ฮป k ( 0 ) ] x โ + 1 2 x โ T [ ฮฝ k ( 0 ) ] x โ \vec h(\vec x)\rvert_{\vec x=\vec 0} \approx \vec h(\vec x)\rvert_{\vec 0}+\frac{\partial \vec h}{\partial \vec x}\rvert_{\vec 0}\vec x+\frac{1}{2}\frac{\partial^2 h}{\partial \vec x \partial \vec x}\rvert_{\vec 0} \vec x^2 = \vec h_0 + [\lambda_k(0)]\vec x+ \frac{1}{2}\vec x^T[\nu_k(0)]\vec x Picking just the linear and terms we get:
h โ ( x โ ) โฃ x โ = 0 โ โ h โ 0 + [ ฮป g ] x โ \vec h(\vec x)\rvert_{\vec x=\vec 0} \approx \vec h_{0}+[\lambda_g]\vec x Transposing and putting it back in the original energy expression we get:
V g ( x โ ) โฃ 0 โ = g ( h โ 0 T + x โ T [ ฮป g ] T ) m p h โ V_g(\vec x)\rvert_{\vec 0} = g ( \vec h_0^T + \vec x^T [\lambda_g]^T)\vec {m_{ph}} Deriving it we get
โ V g โฃ x โ = 0 โ = โ V g ( x โ ) โ x โ โฃ x = 0 = g [ ฮป g ] T m p h โ \nabla V_g\rvert_{\vec x= \vec 0} = \frac{\partial V_g(\vec x)}{\partial \vec x}\rvert_{x=0}=g [\lambda_g]^T \vec{m_{ph}} โ V โฃ x โ = 0 โ = โ V k โฃ x โ = 0 โ + โ V g โฃ x โ = 0 โ = 0 \nabla V\rvert_{\vec x= \vec 0} = \nabla V_k\rvert_{\vec x= \vec 0} + \nabla V_g\rvert_{\vec x= \vec 0} = 0
[ ฮป k 0 ] T [ k p h ] ฮ l 0 โ = โ g [ ฮป g ] T m p h โ [\lambda_{k0}]^T [k_{ph}] \vec {\Delta l_{0}} = -g [\lambda_g]^T \vec{m_{ph}}
letย [ A ] = [ ฮป k 0 ] T [ k p h ] \text{let } [A]=[\lambda_{k0}]^T [k_{ph}]
letย b โ = โ g [ ฮป g ] T m p h โ \text{let } \vec b = -g [\lambda_g]^T \vec{m_{ph}}
ฮ l 0 โ = [ A ] โ 1 b โ \vec {\Delta l_{0}} = [A]^{-1}\vec b