.2.12. .
. 5.12.
1. (Model & Subsystem Outputs).
2. (Data Viewers).
3. (Simulation Control).
.
Out .
.
Outputs . , Output , ( ) .
Edit/Create subsystem . . 5.13 - (. 5.10). Edit/Create . .
MATLAB.
Terminator . , , Simulink MATLAB. Terminator.
. 2.13. ,
File . , , . (Filename) , (Variable name). , .
Decimation. (Sample time) .
(. 5.9).
Workspace . , , MATLAB.
, , (Limit data points to last). . , Limit data points to last inf, .
(Save format).
, MATLAB, From Workspace ( Sources).
(Data Viewers) .
Scope . . .
, . , , .
|
|
(. 5.14).
. 2.14. Scope
11 , Windows .
Scope parameters, (Parameters) . :
General .
Data history MATLAB. . 5.15.
. 2.15. General
General :
1. Number of axes . .
2.Time range , . Time range, , Time range.
3 .Tick labels / .
4. Sampling . . Decimation , .
5. Floating scope ( ).
Data history (. 5.16) :
2. Limit data points to last . . , Limit data points to last , Simulink .
. 5.16. Data history
3. Save data to workspace MATLAB.
4. Variable name MATLAB.
5. Format MATLAB.
(Floating Scope), , Scope, . , (Signal selection) . :
1. , . . .
2. Signal Selector (. 5.17).
. 5.17. Signal Selector
3. , , .
Floating Scope .
Floating Scope . 5.18. Transfer Fcn.
. 5.18. Floating Scope
|
|
. 23
5.2.3. Continuous ()
5.19.
. 5.19.
. , . , . .
, , . . , .
Integrator .
(rising), (falling), (either), (level). (Initial condition) (Upper saturation limit. Lower saturation limit).
Derivative . .
.
State-Space , :
= +
= + Du,
, u , , , , , D : , , , .
(Initial condition).
. 5.20 ( State-Space).
. 5.20. State-Space
. 23 State-Space
Transfer Fcn :
. (Numerator) (Denominator). . 5.21 Transfer Fun ( Trans. Fun).
. 5.21. Transfer Fun
, Transfer Fun , , , , . .
. 23 Transfer Fun
Zero-Pole :
z1, z2, zm ( ),
p1,p2, pn ( ), K . (Zeros), (Poles), (Gain).
. . . 5.22. Zero-Pole.
. 5.22. Zero-Pole
. 23 Zero-Pole
5.2.4. Discontinuities
. 5.23.
|
|
. 5.23.
S aturation - . . (Upper limit, Lower limit).
, . .
S aturation Dynamic . up, io .
Dead Zone . " ( )".
(Start of dead zone ), (End of dead zone ).
, . , .
Dead Zone Dynamic . up, io .
Rate Limiter . ( ).
(Falling slew rate).
Rate Limiter Dynamic . up, io .
Backlash . "".
(Deaband width), (initial output).
. 5.24. Backlash . , ( ).
. 5.24. Backlash
. 23 Backlash
Relay . .
(Switch on point , ).
Switch off point , ).
(Output when on), (Output when off).
.
Relay . 5.25.
Quantzier . . (Quantization interval).
Hit Crossing . , . , (Hit crossing offset), (Hit crossing direction), :
|
|
rising .
falling .
either .
.
Coulomb and Viscous Friction . . (Coulomb friction value(Offset), (Coefficient of viscous friction (Gain).
Wrap to Zero . , Threshold . .
5.2.5. Discrete
. 5.26.
. , . , .
(Sample and Hold Delays) .
. 5.26.
. 5.27. Zero-Order Hold
. 23
5.2.6. Math
(. 5.26) :
1. Math Operations .
2. Vector Matrix Operations .
3. Complex Vector Conversation .
.5.26.
, .
.
(List of sign) : + (), () | ( ).
( ) List of sign, .
Product .
(Number of inputs) . * () / ().
Number of inputs , , .
, . . 5.28.
. 5.28.
. 23
Abs .
Abs .
(. 5.29).
. 5.29.
. 23
Sign (. 5.30). :
, 1.
, 1.
0, 0.
. 5.30.
Gain Matrix Gain . . :
Gain .
Multiplication . ( ):
Element-wise K*u .
Matrix K*u . .
Matrix u*K . .
Saturate on integer overflow. .
Gain Matrix Gain , Multiplication.
Gain , , 1. , , .
|
|
Multiplication Element-wise K*u, . , .
Math Function . .
Trigonometric Function . .
.
5.2.7. Signal Routing
. 5.31.
Bus Creator . . (, , , ) . . Bus Selector.
Mux (). .
() .
. 5. 31.
, . -1 ( ). .
Demux (). .
Bus Selection Mode () .
, . , Number of Outputs .
( Number of Outputs) N, .
, N, -1 N/, , -1 .
Bus Selection Mode Demux , . Mux Demux. Number of Outputs , , , .
Selector . , .
.
Goto . From.
:
Tag .
Tag visibility ; :
local .
scoped .
global .
Goto From .
Data Store Memory . .
Data Store Write ( ) Data Store Read ( ).
switch, manual switch, multiport switch.
6.
1. 6.1.
, , . . , .
:
, ;
, ;
;
(-, -, - );
.
, ( ), ( ) :
6.1)
u , x .
3.1, , . , MATLAB-Simulink .
.
(Numerator) (Denominator). . 5.31 Transfer Fun.
7128 s^2 + 43.56 s + 0.5
W(s) = -------------------------
46332 s^2 + 241.6 s + 0.5
. 6.1. Transfer Fun.
( , ) :
(6.2)
X ; U, Y , A ; B ; C ; D , .
. 6.2. State Space.
. 6.2. State Space
Zero-Pole :
(6.3)
z1, z2, zm ( ),
p1, p2, pm ( ,
. (Zeros), (Poles), (Gain).
.
. . 6.3.
. 6.3. Zero-Pole.
2.
3.
4.
5.