Skip to main content

Transfer function from symbolic mass-spring-damper state model

Short answer

Apply the transfer function formula C(sI-A)^{-1}B with the given state matrices. The result is Y(s)/U(s) = 1/(Ms^2 + Bs + K).

Obtain the transfer function from the following system equations given by [ẋ1; ẋ2] = [0 1; −K/M −B/M][x1; x2] + [0; 1/M]u, y = [1 0][x1; x2].

Y(s)U(s)=C(sI−A)−1B\frac{Y(s)}{U(s)} = C(sI - A)^{-1}B

with

A=[01−KM−BM],Bm=[01M],C=[10]A = \begin{bmatrix} 0 & 1 \\ -\dfrac{K}{M} & -\dfrac{B}{M} \end{bmatrix},\quad B_m = \begin{bmatrix} 0 \\ \dfrac{1}{M} \end{bmatrix},\quad C = \begin{bmatrix} 1 & 0 \end{bmatrix}

(The input matrix is written BmB_m to avoid confusion with the damping coefficient BB.)

Step 1: (sI−A)(sI - A) and determinant

sI−A=[s−1KMs+BM]sI - A = \begin{bmatrix} s & -1 \\ \dfrac{K}{M} & s + \dfrac{B}{M} \end{bmatrix} ∣sI−A∣=s(s+BM)+KM=s2+BMs+KM|sI - A| = s\left(s + \frac{B}{M}\right) + \frac{K}{M} = s^2 + \frac{B}{M}s + \frac{K}{M}

Step 2: Inverse

(sI−A)−1=1s2+BMs+KM[s+BM1−KMs](sI - A)^{-1} = \frac{1}{s^2 + \frac{B}{M}s + \frac{K}{M}}\begin{bmatrix} s + \dfrac{B}{M} & 1 \\ -\dfrac{K}{M} & s \end{bmatrix}

Step 3: Transfer function

(sI−A)−1Bm=1s2+BMs+KM[1MsM](sI-A)^{-1}B_m = \frac{1}{s^2 + \frac{B}{M}s + \frac{K}{M}}\begin{bmatrix} \dfrac{1}{M} \\ \dfrac{s}{M} \end{bmatrix} Y(s)U(s)=[10](sI−A)−1Bm=1/Ms2+BMs+KM=1Ms2+Bs+K\frac{Y(s)}{U(s)} = \begin{bmatrix} 1 & 0 \end{bmatrix}(sI-A)^{-1}B_m = \frac{1/M}{s^2 + \frac{B}{M}s + \frac{K}{M}} = \frac{1}{Ms^2 + Bs + K}

This is the transfer function of the mass–spring–damper system My¨+By˙+Ky=uM\ddot{y} + B\dot{y} + Ky = u, with ωn=K/M\omega_n = \sqrt{K/M} and ζ=B2KM\zeta = \dfrac{B}{2\sqrt{KM}}.

Answer: Y(s)U(s)=1Ms2+Bs+K\dfrac{Y(s)}{U(s)} = \dfrac{1}{Ms^2 + Bs + K}.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Control Systems chapter 8 questions →