Transfer function#

block

Block appearance in REPEAT VISION#

 The Transfer function block implements a mathematical model of the general view transfer function (1):

(1)#\[ W(s)=\frac{b_{0}+b_{1}\cdot s+b_{2}\cdot s^{2}+...+b_{m}\cdot s^{m}}{a_{0}+a_{1}\cdot s+a_{2}\cdot s^{2}+...+a_{n}\cdot s^{n}} \]

 The numerator and denominator coefficients are set as arrays in block properties \([b_{0}, b_{1}, ... , b_{m}]\) и \([a_{0}, a_{1}, ... , a_{n}]\), respectively.

1.  Properties#

Property

Default value

Description

Units of measurement

Numerator coefficients

1

-

-

Denominator coefficients

1; 1

-

-

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

Input

-

-

Automation

Output

Output

-

-

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

Hint

The block supports displaying values of coefficients on blocks instead of an image of the block itself