Sawtooth reverse wave#

block

Block appearance in REPEAT VISION#

 The Sawtooth reverse wave block creates a periodic linear decreasing sawtooth like signal at the output (1):

(1)#\[ y=H\cdot \left(1-\frac{\left(t-t_0\right)\cdot modT}{T}\right)+y_0 \]

where:

 \(T\) - period, [s];

 \(H\) - height of a tooth, [m];

 \(t_0\) – initial phase, [s];

 \(y_0\) – minimum value.

1.  Properties#

Property

Default value

Description

Units of measurement

Period

1.0

Period

s

Phase

0.0

Phase

s

Sawtooth height

1.0

Maximum value

-

Minimum value

0.0

-

-

Sampling type:
Fundamental project frequency decimation;
Sample time;
Sampling frequency

Fundamental project frequency decimation

-

-

Decimation factor of project fundamental discretization frequency, available when selecting Sampling type - Fundamental project frequency decimation

1

-

-

Sample time, available when selecting Sampling type - Sample time

0.05

-

s

Sampling frequency, available when selecting Sampling type - Sampling frequency

20.0

-

Hz

2.  Inputs and outputs#

Parameters

Input/Output

Description

Units of measurement

Port type

Output

Output

Signal

-

Automation

In order to see the connection capabilities of the block, you need to go to page Description of block ports

3.  Code generation#

Important

Block supports C source code generation