
connect
16-38
inputs = [1 2 15];
outputs = [2 7];
The final model sysc has these particular inputs and outputs.
Sinceitiseasytomakeamistakeenteringallthedatarequiredforalarge
model, be sureto verify yourmodel in as many ways as you can. Here are some
suggestions:
• Make sure the poles of the unconnected model
sys match the poles of the
various blocks in the diagram.
• Check that the final poles and DC gains are reasonable.
• Plot the
step and bode responses of sysc and compare them with your
expectations.
If you need to work extensively with blockdiagrams, Simulink is a much easier
and more comprehensive tool for model building.
Example Consider the following block diagram
Given the matrices of the state-space model
sys2
A = [ -9.0201 17.7791
-1.6943 3.2138 ];
B = [ -.5112 .5362
-.002 -1.8470];
C = [ -3.2897 2.4544
x
·
Ax Bu+=
yCxDu+=
2 s 1+
()
s 2+
--------------------
10
s 5+
------------
y
1
y
2
u
2
u
1
u
c
sys1
sys2
sys3
+
–
Commenti su questo manuale