DER – Derivation, filtering and prediction from the last n+1 samples
Block SymbolLicensing group: STANDARD
Function Description
The DER block interpolates the last
samples (,
is implementation dependent) of the input signal u by a line
using
the least squares method. The starting point of the time axis is set to the current sampling
instant.
In case of the outputs y and z are computed from the obtained parameters and of the linear interpolation as follows:
In case of or samples of the input signal are not yet available (), the outputs are set to , .
This block propagates the signal quality. More information can be found in the 1.4 section.
Input
u | Analog output of the block | Double (F64) |
RUN | Enable execution | Bool |
|
|
|
tp | Time instant for prediction/filtering | Double (F64) |
Parameter
n | Number of samples for interpolation 1 10000000 10 | Long (I32) |
nmax | Allocated size of array 10 10000000 100 | Long (I32) |
Output
y | Estimate of input signal derivative | Double (F64) |
z | Predicted/filtered input signal | Double (F64) |
RDY | Outputs valid (ready flag) | Bool |
[Previous] [Back to top] [Up] [Next]
2024 © REX Controls s.r.o., www.rexygen.com