MATLAB CONTROL SYSTEM TOOLBOX 9 Dokumentacja Strona 548

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 591
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 547
ss
16-208
sys = ss(A,B,C,D,0.05,'statename',{'position' 'velocity'},...
'inputname','force',...
'notes','Created 10/15/96')
creates a discrete-time model with matrices and sample time 0.05
second. This model has two states labeled
position and velocity,andone
input labeled
force (the dimensions of should be consistent with
these numbers of states and inputs). Finally, a note is attached with the date
ofcreationofthemodel.
Example 2
Compute a state-space realization of the transfer function
by typing
H = [tf([1 1],[1 3 3 2]) ; tf([1 0 3],[1 1 1])];
sys = ss(H);
size(sys)
State-space model with 2 outputs, 1 input, and 5 states.
Note that the number of states is equal to the cumulative order of the SISO
entries of H(s).
To obtain a minimal realization of H(s), type
sys = ss(H,'min');
size(sys)
State-space model with 2 outputs, 1 input, and 3 states.
The resulting state-space model order has order three, the minimum number
of states needed to represent H(s).ThiscanbeseendirectlybyfactoringH(s)
as the product of a first order system with a second order one.
ABCD
,,,
ABCD
,,,
Hs
()
s 1+
s
3
3s
2
3s 2+++
-------------------------------------------
s
2
3+
s
2
s 1++
------------------------
=
Przeglądanie stron 547
1 2 ... 543 544 545 546 547 548 549 550 551 552 553 ... 590 591

Komentarze do niniejszej Instrukcji

Brak uwag