ChemProCal Academy ChemProCal Academy Academy
🔥 1d Streak
⚡ 0 XP
⚙ + Open Calculator Login Sign Up
Learn / Process Dynamics & Control (PDC) / Dynamic Modeling & Laplace Transforms
Dynamic Modeling & Laplace Transforms 4 Practice Questions ⚡ Live Calculator Connected

State-Space Representation of Multi-Variable Dynamic Systems

Introduces multi-variable state-space modeling for chemical engineering systems, detailing matrix formulations (A, B, C, D), eigenvalue pole relationships, resolvent matrix computation, and conversion to transfer function matrices.

⚡ Open Live Tool Practice Questions ↓

1. Theoretical Foundations & Engineering Mechanics

Modern State-Space Representation

Classical transfer functions are limited to Single-Input Single-Output (SISO) linear systems with zero initial conditions. In contrast, modern multivariable process control relies on state-space representations, formulated in terms of $n$ internal state variables $\mathbf{x}(t)$, $m$ manipulated or disturbance inputs $\mathbf{u}(t)$, and $p$ measured outputs $\mathbf{y}(t)$:

$$\mathbf{\dot{x}}(t) = \mathbf{A}\mathbf{x}(t) + \mathbf{B}\mathbf{u}(t)$$
$$\mathbf{y}(t) = \mathbf{C}\mathbf{x}(t) + \mathbf{D}\mathbf{u}(t)$$

Where the governing matrices are:
- $\mathbf{A} \in \mathbb{R}^{n \times n}$: System Matrix (characterizes internal dynamics, dissipation, and autonomous modes).
- $\mathbf{B} \in \mathbb{R}^{n \times m}$: Input Matrix (maps actuator adjustments and feed disturbances to state changes).
- $\mathbf{C} \in \mathbb{R}^{p \times n}$: Output Matrix (extracts physical sensor measurements from the state vector).
- $\mathbf{D} \in \mathbb{R}^{p \times m}$: Feedthrough (Direct Transmission) Matrix (zero for all strictly proper physical chemical processes).

Derivation of Transfer Function Matrix

Taking the Laplace transform of the state differential equation assuming zero initial states ($\mathbf{x}(0) = \mathbf{0}$):

$$s \mathbf{X}(s) = \mathbf{A} \mathbf{X}(s) + \mathbf{B} \mathbf{U}(s) \implies (s\mathbf{I} - \mathbf{A}) \mathbf{X}(s) = \mathbf{B} \mathbf{U}(s)$$

Pre-multiplying by the inverse of $(s\mathbf{I} - \mathbf{A})$, known as the resolvent matrix:

$$\mathbf{X}(s) = (s\mathbf{I} - \mathbf{A})^{-1} \mathbf{B} \mathbf{U}(s)$$

Substituting into the Laplace-transformed output equation $\mathbf{Y}(s) = \mathbf{C}\mathbf{X}(s) + \mathbf{D}\mathbf{U}(s)$:

$$\mathbf{Y}(s) = \left[ \mathbf{C}(s\mathbf{I} - \mathbf{A})^{-1} \mathbf{B} + \mathbf{D} \right] \mathbf{U}(s) = \mathbf{G}(s) \mathbf{U}(s)$$

Eigenvalues & System Stability

The poles of the transfer function matrix $\mathbf{G}(s)$ are the roots of the characteristic equation:

$$\det(s\mathbf{I} - \mathbf{A}) = 0$$

These scalar roots $\lambda_i$ are the eigenvalues of the system matrix $\mathbf{A}$. A linear system is asymptotically stable if and only if all eigenvalues possess strictly negative real parts: $\text{Re}(\lambda_i) < 0$ for all $i = 1, \dots, n$.

2. Governing Equations & Mathematical Formulation

$$\mathbf{\dot{x}} = \mathbf{A}\mathbf{x} + \mathbf{B}\mathbf{u}$$
$$\mathbf{y} = \mathbf{C}\mathbf{x} + \mathbf{D}\mathbf{u}$$
$$\mathbf{G}(s) = \mathbf{C}(s\mathbf{I} - \mathbf{A})^{-1} \mathbf{B} + \mathbf{D}$$
$$\det(s\mathbf{I} - \mathbf{A}) = 0$$
$$\mathbf{x}(t) = e^{\mathbf{A}t}\mathbf{x}(0) + \int_0^t e^{\mathbf{A}(t-\tau)}\mathbf{B}\mathbf{u}(\tau)d\tau$$

💡 Formulated according to international process engineering standards and dimensionless groups.
📌 Key Engineering Assumptions

• State equations are linearized around a selected steady-state operating point.
• The system parameters encapsulated in matrices A, B, C, and D are time-invariant (LTI system).
• All physical variables in the state vector are real-valued observable continuous functions.
• Sensor dynamics are instantaneous relative to process time constants ($D = 0$).

⚠️ Common Industrial Pitfalls

• Forgetting the identity matrix $\mathbf{I}$ when constructing the matrix $(s\mathbf{I} - \mathbf{A})$.
• Neglecting pole-zero cancellations when converting state-space models into transfer function format, which hides unobservable or uncontrollable internal modes.
• Inverting a singular or ill-conditioned matrix when evaluating steady-state gain $\mathbf{K} = -\mathbf{C}\mathbf{A}^{-1}\mathbf{B} + \mathbf{D}$.
• Assuming an open-loop stable CSTR cannot become unstable when state coupling cross-terms are altered.

3. Applied Engineering Worked Example

Design Problem Specification

Standard industrial operating and sizing conditions.

Step-by-Step Mathematical Derivation & Verification

Problem Statement:
Two well-mixed heating tanks in series operate with liquid temperatures $T_1$ and $T_2$. The linearized energy balances in deviation variables are:
$$\frac{dT'_1}{dt} = -0.50 T'_1(t) + 0.50 T'_{in}(t)$$
$$\frac{dT'_2}{dt} = 0.25 T'_1(t) - 0.25 T'_2(t)$$
The measured output is the final effluent temperature $y(t) = T'_2(t)$.

  1. Define the state vector $\mathbf{x}$, input $u$, and formulate matrices $\mathbf{A}$, $\mathbf{B}$, $\mathbf{C}$, $\mathbf{D}$.
  2. Compute the eigenvalues of $\mathbf{A}$ and confirm open-loop stability.
  3. Derive the resolvent matrix $(s\mathbf{I} - \mathbf{A})^{-1}$.
  4. Calculate the overall transfer function $G(s) = \frac{T'_2(s)}{T'_{in}(s)}$.

Step-by-Step Analytical Solution:

  1. State-space matrices:
    State vector $\mathbf{x} = \begin{bmatrix} T'_1 \\ T'_2 \end{bmatrix}$, input $u = T'_{in}$, output $y = T'_2$.
    $$\mathbf{A} = \begin{bmatrix} -0.50 & 0 \\ 0.25 & -0.25 \end{bmatrix}, \quad \mathbf{B} = \begin{bmatrix} 0.50 \\ 0 \end{bmatrix}, \quad \mathbf{C} = \begin{bmatrix} 0 & 1 \end{bmatrix}, \quad \mathbf{D} = 0$$

  2. Eigenvalues and stability:
    Because $\mathbf{A}$ is lower triangular, its eigenvalues are the diagonal entries:
    $$\det(s\mathbf{I} - \mathbf{A}) = (s + 0.50)(s + 0.25) = 0 \implies \lambda_1 = -0.50\text{ min}^{-1}, \quad \lambda_2 = -0.25\text{ min}^{-1}$$
    Since both eigenvalues are strictly negative, the system is asymptotically stable.

  3. Resolvent matrix:
    $$(s\mathbf{I} - \mathbf{A}) = \begin{bmatrix} s + 0.50 & 0 \\ -0.25 & s + 0.25 \end{bmatrix}$$
    $$\det(s\mathbf{I} - \mathbf{A}) = (s + 0.50)(s + 0.25)$$
    $$(s\mathbf{I} - \mathbf{A})^{-1} = \frac{1}{(s + 0.50)(s + 0.25)} \begin{bmatrix} s + 0.25 & 0 \\ 0.25 & s + 0.50 \end{bmatrix}$$

  4. Transfer function:
    $$\mathbf{G}(s) = \mathbf{C} (s\mathbf{I} - \mathbf{A})^{-1} \mathbf{B}$$
    $$(s\mathbf{I} - \mathbf{A})^{-1} \mathbf{B} = \frac{1}{(s + 0.50)(s + 0.25)} \begin{bmatrix} (s + 0.25)(0.50) \\ (0.25)(0.50) \end{bmatrix} = \frac{1}{(s + 0.50)(s + 0.25)} \begin{bmatrix} 0.50(s + 0.25) \\ 0.125 \end{bmatrix}$$
    $$G(s) = \begin{bmatrix} 0 & 1 \end{bmatrix} \begin{bmatrix} \dots \\ \frac{0.125}{(s + 0.50)(s + 0.25)} \end{bmatrix} = \frac{0.125}{(s + 0.50)(s + 0.25)}$$
    Factoring into standard gain-time constant format ($K / [(\tau_1 s + 1)(\tau_2 s + 1)]$):
    $$G(s) = \frac{0.125}{(0.50)(0.25) (2.0 s + 1)(4.0 s + 1)} = \mathbf{\frac{1.00}{(2.0 s + 1)(4.0 s + 1)}}$$
    Where process gain $K_p = 1.00$ and time constants are $\tau_1 = 2.0\text{ min}$ and $\tau_2 = 4.0\text{ min}$.

Interactive Practice Drill: State-Space Representation of Multi-Variable Dynamic Systems

Instant answer checking, step rationales, and tolerance scoring.
Question 1 of 4
Loading interactive questions...

Completed this lesson?

Record your study progress, build your daily streak, and unlock +25 XP toward your next engineering tier.

⚡

Connected ChemProCal Tool

Run numerical simulations with real physical property packages.
Binary Reactor & Dual Condenser Design

Reactor thermal design, binary VLE batch distillation, and dual-condenser adequacy sizing.

Verified Equations Engineering Tolerances
Launch Live Tool ⚡