Vous êtes sur la page 1sur 23

State-space equations

Variable types:

- input variables
- output variables
- state variables

state-space representation is not unique for a given system


for a linear, time-invariant system described by

- r input variables:
u1, u2, , ur
- m output variables: y1, y2, , ym
- n state variables:
x1, x2, , xn

the state equation have the form

and the output equations will have the form

A - state matrix
B - input matrix
C - output matrix
D - direct transmission matrix

x - state vector
u - input vector
y - output vector

0
[0]
6

HW 4
Due date: __________________________
Problems
B-5-4
B-5-12
B-5-13
B-5-14

alternatively

where

and
A - state matrix
B - input matrix
C - output matrix
D - direct transmission matrix

x - state vector
u - input vector
y - output vector

iu - input index which specifies which input to be used for the response
if the system has multiple inputs and outputs the 'step' command produces a series of step response plots

--------------------------------------------------------------------------------------------------

Here: only linear, time-invariant systems are considered


MATLAB commands:
If initial conditions are zero
produces the system response for arbitrary input u
If initial conditions are non-zero
or
produce the system response subjected to input u and initial condition x0

MATLAB commands:
where u is an array consisting of 0 having the length size of (t)
alternatively set B = 0 and D = 0 then it doesn't matter what is in u
another alternative would be to use the MATLAB command

----------------------------------------------------------------------------------------------------------------------

HW 4
Due date: _________________
Problems
B-5-4
B-5-12
B-5-13
B-5-14

Vous aimerez peut-être aussi