Given an arbitrary system, we can use various methods to describe it such as Transfer Function, Differential Equations and State Space Model. Here we mainly foucos on State Space Model and solve following questions,
What is State Space Model?
How to contruct the State Space Model of a specified plant?
How to convert State Space Model to other description methods like Transfer Function?
What is State Space Model?
State space model (SSM) refers to a class of probabilistic graphical model (Koller and Friedman, 2009) that describes the probabilistic dependence between the latent state variable and the observed measurement. The state or the measurement can be either continuous or discrete.
Continuous Time System
Here we only discuss the simple case that the system is linear and time-invariant with p inputs, q outputs and n state variables. The SSM of the plant is written in the following form,
x˙(t)=Ax(t)+Bu(t)y(t)=Cx(t)+Du(t)
where,
x(⋅) is called the “state vector”, x(t)∈Rn;
y(⋅) is called the “output vector”, y(t)∈Rq;
u(⋅) is called the “input (or control) vector”, u(t)∈Rp;
A(⋅) is the “state (or system) matrix”, A(⋅)=n×n,
B(⋅) is the “input matrix”, B(⋅)=n×p,
C(⋅) is the “output matrix”, C(⋅)=q×n,
D(⋅) is the “feedthrough (or feedforward) matrix” (in cases where the system model does not have a direct feedthrough, D(⋅) is the zero matrix), dim[D(⋅)]=q×p,
x˙(t)=dtdx(t)
Discrete Time System
In discrete time system, we define similar equations in the following form,
x(t+1)=Ax(t)+Bu(t)y(t)=Cx(t)+Du(t)
What’s the meaning of such parameters?
Matrices A,B,C,D have its own features and by analyzing them we can understand characteristic features of the plant. \
For example, matrix A represents the stability of the system. If and only if all eigenvalues of A have neagtive or zero real part and all Jordan blocks corresponding to eigenvalues with zero real part are 1×1, the plant is Lyapunov Stable.
More detals about it will be discussed in next posts.
How to construct a SSM of a specified plant?
Consider the classic mass-spring-damper system as shown below. Two motors apply forces F1 and F2 to the mass m1 and m2 respectively, resulting translations x1 and x2,
Construct differential equations
By analyzing the system, we get its differential equations in the following form,
For a specified plant, we have various SSM since we can define different state vectors. However, there only exists an unique transfer function G(s). Besides, if we get a SSM of a plant, we can easily find its tranfer function through the following equation,