The state-space description provides the dynamics of a system as a set of coupled first-order ordinary differential equations in a set of internal variables called state variables, together with algebraic equations that combine the state variables to produce the physical output variables.
The state of a dynamic system is a minimum set of variables that, together with knowledge of future inputs, completely determines the future behaviour of the system. Formally, a set of variables xi(t), i = 1,...,n, is a state if knowledge of x(t0) at some initial time t0 and the inputs u(t) for t ≥ t0 suffice to predict x(t) and all outputs y(t) for t > t0.

In general the dynamics are expressed as n coupled first-order ordinary differential equations, the state equations, in which the time derivative of each state variable is a (possibly nonlinear, time varying) function of the state variables, the system inputs and time:
ẋ1(t) = f1(x(t), u(t), t)
ẋ2(t) = f2(x(t), u(t), t)
...
ẋn(t) = fn(x(t), u(t), t)


In vector form the general nonlinear state equations become
ẋ(t) = f(x(t), u(t), t)

For linear time-invariant systems the functions are linear and time independent. The state equations take the matrix form
ẋ(t) = A x(t) + B u(t)

where A is an n × n matrix of constant coefficients aij, and B is an n × r matrix of coefficients bij that weight the inputs.

Compactly:

An output is any variable of interest produced by the system. For linear systems an arbitrary output y(t) (scalar) may be written as a linear combination of state variables and inputs:
y(t) = c1x1(t) + c2x2(t) + ... + cnxn(t) + d1u1(t) + ... + drur(t)
In matrix form, when m outputs are defined, the output equation is
y(t) = C x(t) + D u(t)
A system of order n is represented in block diagram form by n integrators. Each integrator's output is a state variable and the integrator input is the derivative of that state. The block diagram is constructed by following these rules:

Consider a general second-order single-input single-output system described by state equations (canonical form). A block diagram for this system is drawn by following the four steps above.


Consider a scalar transfer function represented by polynomial operators of order n:
(ansn + an-1sn-1 + ··· + a0)Y(s) = (bnsn + bn-1sn-1 + ··· + b0)U(s)
One standard procedure is to select state variables as successive derivatives (or integrals) of the output (or of an intermediate variable). This yields equivalent state equations and output equations in the time domain. Different choices of state variables produce different state-space realizations (for example, controllable canonical form, observable canonical form, or diagonal/ modal forms), all of which are algebraically equivalent.

Given the LTI state equations
ẋ(t) = A x(t) + B u(t)
y(t) = C x(t) + D u(t)
take Laplace transforms and neglect initial conditions to obtain the input-output transfer function G(s) = Y(s)/U(s).
s X(s) = A X(s) + B U(s)
(sI - A) X(s) = B U(s)
X(s) = (sI - A)-1 B U(s)
Substitute into the output equation:
Y(s) = C X(s) + D U(s) = C (sI - A)-1 B U(s) + D U(s)
Therefore the transfer function is
G(s) = C (sI - A)-1 B + D

For the homogeneous linear system
ẋ(t) = A x(t)
the solution with initial condition x(0) is expressed using the state-transition matrix ϕ(t):
x(t) = ϕ(t) x(0)
ϕ(t) must satisfy the matrix differential equation
ϕ̇(t) = A ϕ(t)
and the initial condition ϕ(0) = I.
The state-transition matrix is related to the matrix exponential:
ϕ(t) = eAt

It can also be obtained by the inverse Laplace transform:
ϕ(t) = L-1[(sI - A)-1].
Controllability expresses whether the input can move the system between arbitrary states. A continuous-time LTI system ẋ = A x + B u is said to be controllable on [t0, t1] if, for any initial state x(t0) and any final state x(t1), there exists an input u(t) defined on [t0, t1] that transfers the state from x(t0) to x(t1).
For finite-dimensional LTI systems the following algebraic test is standard:
The controllability matrix is
Wc = [ B A B A2 B ... An-1 B ]
If rank(Wc) = n, the system is controllable (reachable).
Observability expresses whether the internal state can be determined from output measurements. The system ẋ = A x + B u, y = C x + D u is observable if the initial state x(t0) can be determined from knowledge of the output y(t) over a finite time interval t ∈ [t0, t1].
The observability matrix is
Wo = [ CT AT CT ... (AT)n-1 CT ]T
Equivalently, written row-wise,
Wo = [ C C A C A2 ... C An-1 ]T.
If rank(Wo) = n, the system is observable.
Consider a second-order system with state matrices
A = [ [0, 1], [-k/m, -c/m] ] and B = [ 0, 1/m ]T (typical mass-spring-damper form).
Form the controllability matrix Wc = [ B A B ].
Compute A B and then check rank(Wc). If rank = 2 the system is controllable; if rank < 2="" it="" is="">
The state-space method provides a general and compact framework to represent linear and nonlinear dynamic systems using state variables, state equations and output equations. It is especially suited to multivariable systems and modern control design (state feedback, observers). Key algebraic relations include the LTI state equations ẋ = A x + B u and y = C x + D u, the transfer function relation G(s) = C(sI - A)-1B + D, the state-transition matrix ϕ(t) = eAt, and the algebraic tests for controllability and observability based on the matrices [B AB ... An-1B] and [C; CA; ...; C An-1].
|
53 videos|116 docs|40 tests
|
| 1. What is state space analysis in control systems? | ![]() |
| 2. How is a control system represented in state space form? | ![]() |
| 3. What are the advantages of using state space analysis in control systems? | ![]() |
| 4. How does state space analysis differ from transfer function analysis? | ![]() |
| 5. How can state space analysis be used in practical control system design? | ![]() |