Constrained integrator with reset#

block

Block appearance in REPEAT VISION#

 The Constrained integrator with reset block implements mathematical model of integrating link with output signal limitation and reset.

 The output of the block is defined according to the expression (1):

\[ sum=\int_{_0}^{t}\:x\cdot dt \]
(1)#\[\begin{split} y =\begin{cases}sum , & \ \:y_{min}\:<\:sum\:<\:y_{max}\\y_{min}, & y_{min}\geq sum\\y_{max},&sum \geq y_{max} \end{cases} \end{split}\]

where:

 \(y_{min}\) - minimum value;

 \(y_{max}\) - maximum value.

 The output value returns to the initial value when a signal greater than 0 is applied to the reset input.

1.  Properties#

Property

Default value

Description

Units of measurement

Gain

1.0

-

-

Initial value

0.0

-

-

Min

-1.0

-

-

Max

1.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

Input

Input

-

-

Automation

Reset

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