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 , .
Inputs
u | Analog output of the block | double |
RUN | Enable execution | bool |
|
|
|
tp | Time instant for prediction/filtering ( corresponds with the current sampling instant) | double |
Outputs
y | Estimate of input signal derivative | double |
z | Predicted/filtered input signal | double |
RDY | Ready flag (all samples are available) | bool |
Parameter
[Previous] [Back to top] [Up] [Next]