![]() |
|
|||||||||||||||||
State space (controls)In control engineering, a state space representation is a mathematical model of a physical system as a set of input, output and state variables related by first-order differential equations. To abstract from the number of inputs, outputs and states, the variables are expressed as vectors and the differential and algebraic equations are written in matrix form. The state space representation (also known as the "time-domain approach") provides a convenient and compact way to model and analyze systems with multiple inputs and outputs. With n inputs and m outputs, we would otherwise have to write down mn Laplace transforms to encode all the information about a system. Unlike the frequency domain approach, the use of the state space representation is not limited to systems with linear components and zero initial conditions. "State space" refers to the space whose axes are the state variables. The state of the system can be represented as a vector within that space.
State Variables
Linear systemsThe state space representation of a system with n inputs, m outputs and p state variables is written in the following form: where
x is the "state vector", y is the "output vector", u is the "input (or control) vector", A is the "state matrix", B is the "input matrix", C is the "output matrix", and D is the "feedthrough (or feedforward) matrix". For simplicity, D is often chosen to be the zero matrix, i.e. the system is chosen not to have direct feedthrough. There are other forms of the state-space model.
StabilityThe stability of a time-invariant state-space model can easiest be determined by looking at the system's transfer function in factored form. It will then look something like this: The denominator of the transfer function is equal to the characteristic polynomial found by taking the determinant of
The roots of this polynomial (the eigenvalues) yields the poles in the system's transfer function. These poles can be used to analyze whether the system is asymptotically stable or marginally stable. An alternative approach to determining stability, which does not involve calculating eigenvalues, is to analyze the system's Lyapunov stability.
The zeros found in the numerator of The system may still be input-output stable (see BIBO stable) even though it is not internally stable. This may be the case if unstable poles are canceled out by zeros. Controllability and ObservabilityA continous time-invariant state-space model is controllable iff A continous time-invariant state-space model is observable iff See Controllability and Observability for information about the implications of controllability and observability. (Rank is the number of linearly independent rows in a matrix.) Transfer FunctionThe "transfer function" of a continous time-invariant state-space model can be derived in the following way which after the laplace transform yields this is substituted for which results in our final transfer function
Clearly Canonical RealizationsAny given transfer function which is strictly proper can easily be transferred into state-space by the following approach: Given a transfer funtion, expand it to reveal all coefficients in both the numerator and denominator. This should result in the following form:
The coefficients can now be inserted directly into the state-space model by the following approach:
This state-space realization is called controllable canonical form because the resulting model is guaranteed to be controllable. The transfer function coefficients can also be used to construct another type of canonical form
This state-space realization is called observable canonical form because the resulting model is guaranteed to be observable. Proper transfer functionsTransfer functions which are only proper (and not strictly proper) can also be realised quite easily. The trick here is to separate the transfer function into two parts: a stricly proper part and a constant.
The strictly proper transfer function can then be transformed into a canonical state space realization using techniques shown above. The state space realization of the constant is trivially
which yields the following controllable realization Notice how the output also dependends directly on the input. This is due to the FeedbackA common method for feedback is to multiply the output by a matrix K and setting this as the input to the system: becomes solving the output equation for The advantage of this is that the eigenvalues of A can be controlled by setting K appropriately through eigendecomposition of One fairly common simplification to this system is removing D and setting C to identity, which reduces the equations to This reduces the necessary eigendecomposition to just A + BK. Feedback with setpoint input
becomes solving the output equation for One fairly common simplification to this system is removing D, which reduces the equations to Moving object exampleA classical linear system is that of one-dimensional movement of an object. The Newton's laws of motion for an object moving horizontally on a plane and attached to a wall with a spring where
The state equation would then become where
The controllability test is then which has full rank for all k1 and m. The observability test is then which also has full rank. Ergo, this system is both controllable and observable. Nonlinear systemsThe more general form of a state space model can be written as two functions. The first is the state equation and the latter is the output equation. If the function f is a linear combination of states and inputs then the equations can be written in matrix notation like above. The u argument to the functions can be dropped if the system is unforced (i.e., it has no inputs). Pendulum exampleA classic nonlinear system is a simple unforced pendulum where
The state equations are then where
Instead, the state equation can be written in the general form The equilibrium/stationary points of a system are when for integers n. References
See alsoThe contents of this article are licensed from Wikipedia.org under the GNU Free Documentation License.
How to see transparent copy 01-04-2007 01:21:04 |
|






,
,
,
,
.





can similarly be used to determine whether the system is
in the output equation
must have
.
.
.
. Together we then get a state space realization with matrices A,B and C determined by the strictly proper part, and matrix D determined by the constant.
constant in the transfer function.
.
Since the values of K are unrestricted the values can easily be negated for
and substituting in the state equation results in
.
This assumes that the open-loop system is
.
is velocity;
is acceleration
is the velocity of the object
is the acceleration of the objection
and so the equilibrium points of a pendium are those that satisfy