S2. State Space Representation Using Physical Variable
S2. State Space Representation Using Physical Variable
Session objectives:
1. Introduction- state space representation of a system
2. Developing a state space model from a system diagram
Instructions:
Students will be studying the course first time so the students should have knowledge concept
of state, state space, state vector.
Introduction
As systems become more complex, representing them with differential equations
or transfer functions becomes cumbersome. This is even more true if the system has
multiple inputs and outputs. This document introduces the state space method which
largely alleviates this problem. The state space representation of a system replaces an
nth order differential equation with a single first order matrix differential
equation. The state space representation of a system is given by two equations :
The first equation is called the state equation, the second equation is called the output
equation. For an nth order system (i.e., it can be represented by an nth order
differential equation) with r inputs and m outputs the size of each of the matrices is as
follows:
• The state equation has a single first order derivative of the state vector on the left, and
the state vector, q(t), and the input u(t) on the right. There are no derivatives on the
right hand side.
• The output equation has the output on the left, and the state vector, q(t), and the
input u(t) on the right. There are no derivatives on the right hand side.
For systems with a single input and single output (i.e., most of the systems we will
consider) these variables become (with r=1 and m=1):
where
A Simple Example
Consider an 4th order system represented by a single 4th order differential equation
with input x and output z.
but
We can now rewrite the 4th order differential equation as 4 first order equations
with
For this problem a state space representation was easy to find. In many cases (e.g.,
if there are derivatives on the right side of the differential equation) this problem can
be much more difficult. Such cases are explained in the discussion of transformations
between system representations.
The state space representation is not unique
In this case the new state space variables are given by (the details of how these
matrices are determined are not important for this discussion. They are given here if
you are interested):
This new state space system is quite different from the original one, and it is not at all
obvious that they represent the same system. (It can be shown that the systems are
identical by transforming the state space representation to a transfer
function. Techniques for doing so are discussed elsewhere.)
Key Concept: Defining a State Space Representation
th
A n order linear physical system can be represented using a state space approach
as a single first order matrix differential equation:
The first equation is called the state equation and it has a first order derivative of the
state variable(s) on the left, and the state variable(s) and input(s), multiplied by
matrices, on the right. The second equation is called the output equation and it has teh
output on the left and the state variable(s) and input(s), multiplied by matrices, on the
right. No other terms are allowed in the equation. In these equations:
For a single input, single output system (the case that interests us the most):
The state space representation is not unique; many (actually an infinite number) of
state space systems can be used to represent any linear physical system.