After all-hands we had a Kalman Filter meeting where we learned about state-space modelling and discussed preliminary goals for Kalman Filtering.
STATE-SPACE MODELLING
State-space modelling is a way of representing a physical system (often with high order diff eqs) by way of max first-order differential equations like so:
Mathinline |
---|
body | \dot{x} = A\vec{x} + Bu(t) |
---|
|
Mathinline |
---|
body | y = C \vec{x} + Du(t) |
---|
|
Where
,
,
, and
are matrices.
Example:
Say we have a system that can be described with
Mathinline |
---|
body | \ddot{\theta} = k\dot{\theta} + n\theta + u(t) |
---|
|
and
To model this, let
Mathinline |
---|
body | x = \left[_{\dot{\theta}}^{\theta}\right] |
---|
|
.
We need to find matrices
and
such that
Mathinline |
---|
body | \left[_\ddot{\theta}^\dot{\theta}\right] = A\left[_\dot{\theta}^\theta\right] + Bu(t) |
---|
|
.
We find that
Mathinline |
---|
body | A = \begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix} |
---|
|
.