Of course. Here is a general formal definition of state-space models, broken down into their core components and common variations.
1. Conceptual Introduction
A state-space model is a mathematical framework for representing the dynamics of a system as a set of first-order differential (for continuous-time) or difference (for discrete-time) equations. Its central idea is to describe a system using an internal state vector that contains all the information from the system's past necessary to predict its future.
The model consists of two main equations:
- The State Equation: Describes how the internal state of the system evolves over time.
- The Observation Equation: Describes how the observed output or measurement is related to the internal state.
This structure is powerful because it allows us to model systems where the internal state is not directly observable (it is "hidden" or "latent"), and it naturally incorporates notions of system dynamics, external inputs, and noise.
2. General Formal Definition (Nonlinear, Stochastic)
Let the time index be t. The most general form of a state-space model is given by two equations:
1. State Equation:
xt=f(xt−1,ut,wt)
2. Observation Equation:
yt=g(xt,ut
Where the components are defined as:
- t: The time index. For discrete-time systems, t∈{0,1,2,...}. For continuous-time systems, t∈R.
- : The at time . This is an -dimensional vector representing the internal state of the system. It is often unobserved.
To complete the definition, we must also specify the initial conditions:
- Initial State: The distribution of the initial state, p(x0).
- Noise Distributions: The probability distributions for the noise processes, p(w) and p(v). It is common to assume they are independent, zero-mean Gaussian processes.
3. Common Specializations
The general form can be specialized for different types of systems.
a) Discrete-Time vs. Continuous-Time
Discrete-Time Model:
The time steps are discrete (k=0,1,2,...). The state equation is a difference equation. This is the form most commonly used in digital signal processing and econometrics (e.g., Kalman Filter).
- State Equation: xk+1=f(xk,u
Continuous-Time Model:
Time is a continuous variable (t∈R). The state equation is a differential equation. This form is common in physics and control theory.
- State Equation: x˙(t)=dtd
b) Linear Time-Invariant (LTI) Model
This is the most widely used and studied form, where the functions f and g are linear and their parameters do not change over time.
Discrete-Time LTI System:
xk+1=Axk+Bu
Continuous-Time LTI System:
x˙(t)=Ax(t)+Bu(t)+w(t)
The constant matrices are:
- A: The State Matrix (or System Matrix). It describes the internal dynamics of the system (how the state evolves on its own).
- B: The Input Matrix. It describes how the external inputs affect the state.
- C: The Output Matrix (or Observation Matrix). It describes how the internal state is converted into an observable output.
- D: The Feedthrough Matrix (or Feedforward Matrix). It allows for a direct connection from the input to the output, bypassing the state. In many systems, D.
c) Linear Time-Varying (LTV) Model
In this case, the matrices A,B,C,D are not constant but are functions of time.
Discrete-Time LTV System:
xk+1=Akxk
Summary of Key Components in the LTI Case
| Component | Symbol | Description |
|---|
| State Vector | x | The internal, often unobserved, state of the system. |
| Observation Vector | y | The measured output of the system. |
| Input Vector | u | Known external inputs or control signals. |
| Process Noise | w | Uncertainty in the system's dynamics. |
| Measurement Noise | |