Mean value (variable frequency)#

block

Block appearance in REPEAT VISION#

 The Mean value (variable frequency) block calculates the arithmetic average value of the input signal during one period of the specified fundamental frequency according to the formula (1) :

(1)#\[Mean(f(t))=\frac{1}{T}\cdot \int_{t-T}^{t}f(t)\cdot dt\]

where:

 f(t) - input signal;

 T = 1/f - period of the fundamental harmonic of signal with frequency f.

 The frequency f is set as an input signal of the block and may be a variable quantity.

 During the first period of the fundamental frequency of the signal, the output value of the block will be equal to the specified initial parameter, because in order to obtain the calculated value, the first period of the fundamental frequency must be completed.

1.  Properties#

Property

Default Value

Description

Units of measurement

Initial value

0.0

-

-

Starting frequency

50.0

-

Hz

Minimal frequency

40.0

-

Hz

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

Input signal

Input

-

-

Automation

Signal frequency

Input

-

Hz

Automation

Output signal

Output

-

-

Automation

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