Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

ТАУ пособие

.pdf
Скачиваний:
26
Добавлен:
08.06.2015
Размер:
1.09 Mб
Скачать

.

Sine Type ( ):

Time-based – .

Sample-based – .

.

:

y Amplitude sin frequency time phase bias .

:

Amplitude – .

Bias – .

Frequency (rads/sec) – ( ).

Phase (rads) – ( ).

Sample time – .

.

:

( ) –

.

( ) –

.

.

-1 – ,

, . ,

.

Simulink. .

41

.

4) Step

: .

:

Step time – ( ).

Initial value – .

Final value – .

(

), (

).

, ( ,

–5 –3).

. 20.

.

. 20.

5) Pulse Generator

: .

:

Pulse Type – .

:

Time-based – .

42

Sample-based

.

Amplitude – .

Period – , Time-based Pulse Type Samplebased Pulse Type.

Pulse width – , %

Time-based Pulse Type

Sample-based Pulse Type.

Phase delay – ,

Time-based Pulse Type

Sample-based Pulse Type.

mple time – ,

Sample-based Pulse Type.

Pulse Generator . 21.

. 21.

6)

Chirp Generator

: ,

.

:

Initial frequence – ( );

Target time – ( );

43

Frequence at target time – ( ).

.22.

. 22.

7) Repeating Sequence

: .

:

Time values – .

Output values –

Time values.

,

Time values. . 23

.

[0 3],

[0 2].

44

. 23.

8)Inport

:

.

:

Port number – .

Port dimensions – .

–1,

.

Sample time – .

Data type – : auto, double, single, int8, uint8, int16, uint16, int32, uint32 boolean.

Signal type – :

auto – .

real – .

complex– .

Interpolate data ( ) –

. ,

MATLAB

,

.

Inport

.

45

Inport.

Inport . ,

Inport,

.

.

Inport

Simulink :

Edit/Create subsystem

1.

Inport,

.

Inport ,

,

.

,

Simulink

.

,

.

. 24 ,

.

. 24. Inport

Inport

46

MATLAB .

MATLAB

,

Workspace I/O

Simulation parameters… (

Input ,

). : Array ( ), Structure ( ) Structure with time (

") .

. 25 ,

MATLAB. Load Data

MATLAB.

. 25. ,

MATLAB Input

Sinks ( )

:

1)Scope

:

.

. 26.

47

. 26. Scope

,

“ ”

. (

, , ). ,

,

.

( . 27).

. 27. Scope

11 :

1)Print – .

2)Parameters – .

3)Zoom – .

4)Zoom X-axis – .

5)Zoom Y-axis – .

6)Autoscale –

.

7)Save current axes settings –

.

48

8)Restore saved axes settings –

.

9)Floating scope – “ ” .

10)Lock/Unlock axes selection –

. ,

Floating scope.

Signal selection – .

, Floating scope.

:

1)(, )

“ ” ,

2,5 .

2)(, ) ,

“ ”,

. . 28 .

. 28.

3) “ ”

Axes properties… .

, Y-min Y- max .

49

(Title),

%<SignalLabel> . . 29.

. 29.

:

‘Scope’ parameters,

(Parameters)

. :

General – .

Data history –

MATLAB.

. 30.

. 30. General

General :

1)Number of axes – ( )

.

.

2)Time range – ,

.

Time range,

50