INTE – Controlled integrator

Block SymbolLicensing group: STANDARD
PIC

Function Description
The INTE block implements a controlled integrator with variable integral time constant ti and two indicators of the output signal level (ymin a ymax). If RUN = on and R1 = off then

y(t) = 1 Ti0tu(τ)dτ + C,

where C = y0. If RUN = off and R1 = off then the output y is frozen to the last value before the falling edge at the RUN input signal. If R1 = on then the output y is set to the initial value y0. The integration uses the trapezoidal method as follows

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

where TS is the block execution period. If Ti = 0, the block realize summation by following equation

yk = yk1 + uk.

If Ti < 0, the block behaviour is undefined.

Consider using the SINT block, whose simpler structure and functionality might be sufficient for elementary tasks.

This block propagates the signal quality. More information can be found in the 1.4 section.

Input

u

Analog input of the block

Double (F64)

RUN

Enable execution

Bool

off ..

Integration stopped

on ...

Integration running

R1

Block reset

Bool

y0

Initial output value

Double (F64)

ti

Integral time constant

Double (F64)

Parameter

ymin

Lower level definition  -1.0

Double (F64)

ymax

Upper level definition  1.0

Double (F64)

SAT

Limit output if level limit is reach

Bool

Output

y

Integrator output

Double (F64)

Q

Running integration indicator

Bool

LY

Lower saturation indicator

Bool

HY

Upper saturation indicator

Bool

2024 © REX Controls s.r.o., www.rexygen.com