ТАУ пособие
.pdf,
Time range.
3)Tick labels – .
( ):
all – ,
none – ,
bottom axis only –
.
4)Sampling – .
.
Decimation ,
. . 31 32.
, 0.1. . 31 Scope
Decimation 1). . 32
( Decimation 2).
.
. 31. (Decimation = 1)
51
. 32. (Decimation = 2)
,
Sample time,
. . 33
,
Sample time 0.1.
. 33. (Sample time = 0.1)
5. floating scope – “ ”
).
Data history ( .34) :
52
Limit data points to last –
.
.
Limit data points to last , Simulink
.
Save data to workspace –
MATLAB.
Variable name –
MATLAB.
Format –
MATLAB.
:
Array – ,
Structure – ,
Structure with time –
”.
. 34. Data history
2)Graph
:
( . Y(X)).
:
x-min – X.
x-max – X
53
y-min – Y.
y-max – Y
Sample time – .
.
, (X), –
(Y).
.35, ,
.
. 35. Graph
.
Clock.
. 36.
54
. 36. Graph
3)Display
: .
:
Format – . Format
:
short – 5 .
long – 15 .
short_e –5 3
.
long_e – 15 3
.
bank – " "
.
Decimation – .
Decimation = 1
, Decimation = 2
, Decimation = 3 – .
55
Sample time – ,
.
Floating display ( )– “ ”
, ,
“ ” .
Signal storage reuse
off ( Advanced
Simulation parameters…).
.37 Display
Format.
. 37. Display
Format
Display
, ,
, . 38.
,
,
( . Display4 . 38).
56
. 38. Display ,
Outport
:
.
:
Port number – .
Output when disabled – ,
, .
( ):
held –
,
reset – ,
Initial output,
Initial output –
, .
.
Outport
Outport . ,
Outport ,
) .
.
57
Outport
Simulink :
Edit/Create subsystem ,
1.
Outport,
.
Outport ,
,
.
,
Simulink
.
,
.
. 39 , ,
.
. 39. Outport
, ,
, . . 40
, (
58
, ).
Output when disabled
held, – reset,
. ,
,
,
( ).
. 40.
Outport
:
MATLAB;
.
MATLAB
,
Workspace I/O
Simulation parameters… (
Output
). : Array ,
59
Structure ( ) Structure with time (
”) – .
. 41 ,
MATLAB.
. 41. , MATLAB
Outport
Outport
, : linmod trim.
Continuous ( )
:
1)Derivative
:
.
:
du u , dt t
u – t , t –
.
.
.
.
.
. 42
.
60