Translational elements
| Element | Force | Laplace form |
|---|---|---|
| Mass $M$ | $M\,\ddot x$ | $Ms^2X(s)$ |
| Damper $B$ | $B\,\dot x$ | $BsX(s)$ |
| Spring $K$ | $Kx$ | $KX(s)$ |
For a damper or spring between two masses, use the relative motion: $B(\dot x_1 - \dot x_2)$ and $K(x_1 - x_2)$ on mass 1, and the opposite sign on mass 2.
Method (D'Alembert's principle)
- Draw a free-body diagram for each mass (node), with the inertial force $M\ddot x$ opposing positive motion.
- Write the force balance: sum of opposing forces = applied force.
- Take Laplace transforms with zero initial conditions.
- Solve the simultaneous equations for the output you want.
A quick check: in the $s$-domain each equation reads (sum of impedances on this mass) × $X_k$ − (impedances shared with the other mass) × $X_j$ = applied force, just like mesh analysis.
Worked example 1: single mass–spring–damper
$$M\ddot x + B\dot x + Kx = f(t) \quad\Rightarrow\quad \frac{X(s)}{F(s)} = \frac{1}{Ms^2 + Bs + K}$$
In the mass–spring–damper animation, set damping to zero for undamped oscillation, then raise it until the mass returns without overshoot: critical damping is $B = 2\sqrt{MK}$.
Worked example 2: two masses coupled by a spring and a damper
$M_1$ is tied to the wall by $K_1$ and $B_1$, coupled to $M_2$ by $K$ and $B$; $M_2$ has friction $B_2$ and is pushed by $f(t)$. Find $X(s)/F(s)$ for the displacement $x$ of $M_2$.
Node 1: $M_1\ddot x_1 + B_1\dot x_1 + B(\dot x_1 - \dot x) + K_1x_1 + K(x_1 - x) = 0$
Node 2: $M_2\ddot x + B_2\dot x + B(\dot x - \dot x_1) + K(x - x_1) = f(t)$
$$\begin{aligned}\left[M_1s^2 + (B + B_1)s + (K_1 + K)\right]X_1 - (Bs + K)X &= 0\\ -(Bs + K)X_1 + \left[M_2s^2 + (B + B_2)s + K\right]X &= F\end{aligned}$$
From the first equation $X_1 = \dfrac{Bs + K}{M_1s^2 + (B + B_1)s + (K_1 + K)}X$. Substituting and clearing the denominator:
$$\frac{X(s)}{F(s)} = \frac{M_1s^2 + (B + B_1)s + (K_1 + K)}{\left[M_1s^2 + (B + B_1)s + (K_1 + K)\right]\left[M_2s^2 + (B + B_2)s + K\right] - (Bs + K)^2}$$
This is the system in the two-mass simulation. Press Play: $M_2$ moves first and drags $M_1$ through the coupling. Make $K$ very stiff and the two masses move almost as one.
Worked example 3: vertical two-mass system
$M_1$ hangs from $K_1$ with damper $B$ and carries force $f(t)$; $M_2$ hangs from $M_1$ by spring $K_2$. Find $Y_2(s)/F(s)$.
Node 1: $M_1\ddot y_1 + B\dot y_1 + K_1y_1 + K_2(y_1 - y_2) = f(t)$. Node 2: $M_2\ddot y_2 + K_2(y_2 - y_1) = 0$.
From node 2, $Y_1 = \dfrac{M_2s^2 + K_2}{K_2}Y_2$. Substituting into node 1:
$$\frac{Y_2(s)}{F(s)} = \frac{K_2}{\left[M_1s^2 + Bs + (K_1 + K_2)\right](M_2s^2 + K_2) - K_2^2}$$
Worked example 4: masses coupled only by a damper
$M_1$ (with $B_1$, $K_1$ to ground) carries $f(t)$; $M_2$ (with $B_2$, $K_2$ to ground) is linked to $M_1$ by damper $B_{12}$. Find $X_1/F$ and $X_2/F$.
$$\begin{aligned}\left[M_1s^2 + (B_1 + B_{12})s + K_1\right]X_1 - B_{12}sX_2 &= F\\ -B_{12}sX_1 + \left[M_2s^2 + (B_2 + B_{12})s + K_2\right]X_2 &= 0\end{aligned}$$
With the determinant
$$\Delta = \left[M_1s^2 + (B_1 + B_{12})s + K_1\right]\left[M_2s^2 + (B_2 + B_{12})s + K_2\right] - (B_{12}s)^2$$
$$\frac{X_1(s)}{F(s)} = \frac{M_2s^2 + (B_2 + B_{12})s + K_2}{\Delta}, \qquad \frac{X_2(s)}{F(s)} = \frac{B_{12}s}{\Delta}$$
Note the $s$ in the numerator of $X_2/F$: a damper passes on only changes, so in steady state $M_2$ returns to rest.
Rotational systems and analogies
Inertia $J\ddot\theta$, rotational damping $B\dot\theta$ and torsional spring $K\theta$ play the same roles, with torque in place of force.
| Mechanical | Force–voltage | Force–current |
|---|---|---|
| Force $f$ | Voltage $v$ | Current $i$ |
| Mass $M$ | Inductance $L$ | Capacitance $C$ |
| Damping $B$ | Resistance $R$ | Conductance $1/R$ |
| Stiffness $K$ | Elastance $1/C$ | Reciprocal inductance $1/L$ |
| Displacement $x$ | Charge $q$ | Flux linkage $\psi$ |
So the single mass–spring–damper behaves exactly like the series RLC circuit of Lesson 3.