DFIR – Discrete finite input response filter

Block SymbolLicensing group: ADVANCED
PIC

Function Description
The DFIR block is a filter whose impulse response (or response to any finite length input) is of finite duration, because it settles to zero in finite time. The calculation takes place in the form of a convolutional integral (sum) - the impulse characteristic is entered in the hk field already in discretized form for the correct period.

Input

u

Analog input of the block

Double (F64)

R1

Block reset

Bool

HLD

Hold – the block code is not executed if the input is set to on

Bool

u0

Initial input value (fill buffer)

Double (F64)

Output

y

Analog output of the block

Double (F64)

RDY

Ready flag

Bool

Parameters

nmax

Allocated size of array   10  10000000 100

Long (I32)

hk

hk  [0.6 0.3 0.1]

Double (F64)

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