Gap#

block

Block appearance in REPEAT VISION#

 The block implements the transformation of input signals vector by a single nonlinear static characteristic of “Gap” type under different initial conditions.

 The block is described by the following equations (1):

(1)#\[\begin{split} y\left(t\right) =\begin{cases}k\left(x\left(t\right)-b\right) , & \ если ~ x(t)>\frac{y(t-∆t)}{k}+b\\k\left(x\left(t\right)+b\right), & \ если ~ x(t)>\frac{y(t-∆t)}{k}-b, \\y(t-∆t) , & если ~ \frac{y(t-∆t)}{k}-b≤x(t)≤ \frac{y(t-∆t)}{k}+b\end{cases} \end{split}\]

where:

 \(b\) – half-width of the gap;

 \(t\) – current integration step;

 \((t-∆t)\) – previous integration step.

1.  Properties#

Property

Default value

Description

Units of measurement

Halfwidth of the gap area

1.0

Halfwidth of the gap area

-

Gain

1.0

Gain

-

Initial conditions

0.0

Initial conditions

-

2.  Inputs and outputs#

Parameters

Input/Output

Description

Units of measurement

Port type

Signal

Input

Signal

-

Automation

Signal

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