Differentiation block (Time domain derivative)#

block

Block appearance in REPEAT VISION#

 The Differentiation block (Time domain derivative) block calculates the time derivative of the input signal is (1):

(1)#\[ y(t_{n})=\frac{x(t_{n})-x(t_{n-1})}{\Delta t} \]

where:

 \(x(t_{n})\), \(y(t_{1})\) - input and output signals at the current calculation step, respectively;

 \(x(t_{n-1})\) - input signal at the previous calculation step.

1.  Properties#

Property

Default Value

Description

Units of measurement

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

See also

An example of using this block can be found in section Control systems of the practical guide Fuzzy logic control for valve of water supply to tank