Introduction
-
State space representation
-
State equation solutions
-
Controllability & observability
-
Pole placement
-
State observers
-
Transfer function conversion
-
Canonical forms
-
Lyapunov stability
-
LQR and Kalman filtering
-
Handles MIMO systems
-
Reveals internal states
-
Modern control approach
-
Time-varying systems
-
Suitable for computer implementation
State Space Representation
-
\(x\): state vector (\(n \times 1\))
-
\(u\): input vector (\(m \times 1\))
-
\(y\): output vector (\(p \times 1\))
-
\(A\): system matrix (\(n \times n\))
-
\(B\): input matrix (\(n \times m\))
-
\(C\): output matrix (\(p \times n\))
-
\(D\): feedforward matrix (\(p \times m\))
Mass-spring-damper system:
Transfer Function to State Space
Canonical Forms
For repeated eigenvalues, Jordan blocks are used:
Solution of State Equations
Matrix Exponential
-
Cayley-Hamilton theorem
-
Laplace transform method: \(e^{At} = \mathcal{L}^{-1}\{(sI - A)^{-1}\}\)
-
Similarity transformation
-
Series expansion: \(e^{At} = I + At + \dfrac{(At)^2}{2!} + \dfrac{(At)^3}{3!} + \dots\)
For \(A = \begin{bmatrix} 0 & 1 \\ -2 & -3 \end{bmatrix}\):
Controllability & Observability
-
Can inputs control all states?
-
Test: Rank \([B\ AB\ A^2B\ \dots\ A^{n-1}B] = n\)
-
Controllability matrix: \(\mathcal{C}_o\)
-
Gramian: \(W_c = \int_0^T e^{At}BB^Te^{A^Tt}dt\)
\(A = \begin{bmatrix} -1 & 0 \\ 0 & -2 \end{bmatrix}, B = \begin{bmatrix} 1 \\ 1 \end{bmatrix}\): Controllable
-
Can states be inferred from outputs?
-
Test: Rank \([C^T\ A^TC^T\ \dots\ (A^T)^{n-1}C^T] = n\)
-
Observability matrix: \(\mathcal{O}_b\)
-
Gramian: \(W_o = \int_0^T e^{A^Tt}C^TCe^{At}dt\)
Same \(A\), \(C = [1\ 1]\): Observable
\((A, B, C)\) is controllable if and only if \((A^T, C^T, B^T)\) is observable
Controllability: \((A, B)\) is controllable if and only if
Stabilizability & Detectability
-
Uncontrollable modes must be stable
-
Condition: All uncontrollable eigenvalues in LHP
-
Weaker condition than controllability
-
Required for feedback stabilization
-
Unobservable modes must be stable
-
Condition: All unobservable eigenvalues in LHP
-
Weaker condition than observability
-
Required for observer design
Required for closed-loop stability with feedback control
Pole Placement
For SISO systems:
Alternative method for pole placement design
State Observers
-
Controller gain \(K\) and observer gain \(L\) designed independently
-
Ensures closed-loop stability
-
Combined system poles: \(\{A-BK\} \cup \{A-LC\}\)
-
Estimates only unmeasurable states (order \(n-p\))
-
More efficient for systems with many outputs
Similarity Transformations
Given system \((A, B, C, D)\), apply transformation \(z = Tx\):
-
Eigenvalues (characteristic polynomial)
-
Transfer function
-
Controllability and observability
-
Rank of system matrices
-
Modal transformation (diagonalization)
-
Balanced realization
-
Canonical form transformations
Lyapunov Stability
-
System is asymptotically stable if \(P > 0\) exists
-
All eigenvalues of \(A\) have negative real parts
-
Lyapunov function: \(V(x) = x^TPx\)
For \(A = \begin{bmatrix} -1 & 0 \\ 0 & -2 \end{bmatrix}\), choose \(Q = I\):
Linear Quadratic Regulator
-
Guaranteed stability margins: \(\geq 60°\) phase margin
-
Infinite gain margin at loop breaking point
-
Optimal with respect to quadratic cost
Kalman Filter
Prediction:
Minimal Realization
-
Minimal realization: Controllable and observable
-
Dimension equals McMillan degree of transfer function
-
Unique up to similarity transformation
System can be decomposed into four subsystems:
-
Controllable and observable
-
Controllable but not observable
-
Not controllable but observable
-
Neither controllable nor observable
Remove uncontrollable and unobservable modes
GATE Questions
System: \(A = \begin{bmatrix} 0 & 1 \\ -2 & -3 \end{bmatrix}, B = \begin{bmatrix} 0 \\ 1 \end{bmatrix}\) is controllable because:
-
\(A\) is diagonal
-
Controllability matrix rank = 2
-
\(B\) has non-zero elements
-
System is stable
\(\mathcal{C}_o = [B\ AB] = \begin{bmatrix} 0 & 1 \\ 1 & -3 \end{bmatrix}\), rank = 2. Answer: B
Transfer function \(G(s) = \dfrac{2s+1}{s^2+3s+2}\) in controller canonical form has:
-
\(A = \begin{bmatrix} 0 & 1 \\ -2 & -3 \end{bmatrix}\)
-
\(C = \begin{bmatrix} 1 & 2 \end{bmatrix}\)
-
\(B = \begin{bmatrix} 0 \\ 1 \end{bmatrix}\)
-
All of the above
From \(G(s) = \dfrac{2s+1}{s^2+3s+2}\): \(a_0 = 2, a_1 = 3, b_0 = 1, b_1 = 2\) All matrices are correct. Answer: D
The state transition matrix \(\Phi(t) = e^{At}\) for \(A = \begin{bmatrix} -1 & 0 \\ 0 & -2 \end{bmatrix}\) is:
-
\(\begin{bmatrix} e^{-t} & 0 \\ 0 & e^{-2t} \end{bmatrix}\)
-
\(\begin{bmatrix} e^{t} & 0 \\ 0 & e^{2t} \end{bmatrix}\)
-
\(\begin{bmatrix} -e^{-t} & 0 \\ 0 & -2e^{-2t} \end{bmatrix}\)
-
\(\begin{bmatrix} e^{-t} & e^{-2t} \\ 0 & e^{-2t} \end{bmatrix}\)
For diagonal matrix \(A\), \(e^{At} = \text{diag}(e^{\lambda_1 t}, e^{\lambda_2 t})\). Answer: A
Important Formulas
-
Transfer function: \(G(s) = C(sI - A)^{-1}B + D\)
-
Controllability: rank\([B\ AB\ \dots\ A^{n-1}B] = n\)
-
Observability: rank\([C^T\ A^TC^T\ \dots\ (A^T)^{n-1}C^T] = n\)
-
Pole placement: \(\det(sI - (A - BK)) = 0\)
-
Observer: \(\dot{\hat{x}} = A\hat{x} + Bu + L(y - C\hat{x})\)
-
Lyapunov: \(A^TP + PA + Q = 0\)
-
LQR: \(A^TP + PA - PBR^{-1}B^TP + Q = 0\)
Summary
-
State space: models internal dynamics with matrices
-
Canonical forms: standard representations for analysis
-
Solutions: time/Laplace domain methods using \(e^{At}\)
-
Controllability/observability: fundamental system properties
-
Pole placement: state feedback control design
-
Observers: state estimation from outputs
-
Similarity transformations: preserve system properties
-
LQR: optimal quadratic control design
-
Kalman filter: optimal state estimation with noise
-
Minimal realization: controllable and observable systems