SINT – Simple integrator

Block SymbolLicensing group: STANDARD
PIC

Function Description
The SINT block implements a discrete integrator described by the following difference equation

yk = yk1 + TS 2Ti(uk + uk1),

where TS is the block execution period and Ti is the integral time constant. If yk falls out of the saturation limits ymin and ymax, the output and state of the block are appropriately modified.

For more complex tasks, consider using the INTE block, which provides extended functionality.

Input

u

Analog input of the block

double

Output

y

Analog output of the block

double

Parameters

ti

Integral time constant Ti  1.0

double

y0

Initial output value

double

ymax

Upper limit of the output signal  1.0

double

ymin

Lower limit of the output signal  -1.0

double