Inports
| |
In | Input In(k) |
fc | Cutoff frequency |
Outports
| |
Out | Output Out(k) |
Mask Parameters | |
V | Gain |
fmax | Maximum frequency [Hz] (not used in floating point implementations) |
ts_fact | Multiplication factor of base sampling time (in integer format) |
method | Discretization method |
First order low pass with adaptive cut off frequency:
G(s) = V/(s/(2*pi*fc) + 1)
Transfer function (zero-order hold discretization method):
FiP8 | 8 Bit Fixed Point Implementation |
FiP16 | 16 Bit Fixed Point Implementation |
FiP32 | 32 Bit Fixed Point Implementation |
Float32 | 32 Bit Floating Point Implementation |
Float64 | 64 Bit Floating Point Implementation |
Name | FiP8 |
ID | 3408 |
Revision | 0.1 |
C filename | AdaptivePT1_FiP8.c |
H filename | AdaptivePT1_FiP8.h |
8 Bit Fixed Point Implementation
Controller Parameters | |
w_scale | Calculation base for wc: -2*pi*Ts*fmax |
gain | Gain |
sfr | Shift factor for gain |
in_old | In(k-1) |
Data Structure:
Name | FiP16 |
ID | 3409 |
Revision | 1 |
C filename | AdaptivePT1_FiP16.c |
H filename | AdaptivePT1_FiP16.h |
16 Bit Fixed Point Implementation
Controller Parameters | |
w_scale | Calculation base for wc: -2*pi*Ts*fmax |
gain | Gain |
sfr | Shift factor for gain |
in_old | In(k-1) |
Data Structure:
Name | FiP32 |
ID | 3410 |
Revision | 0.1 |
C filename | AdaptivePT1_FiP32.c |
H filename | AdaptivePT1_FiP32.h |
32 Bit Fixed Point Implementation
Controller Parameters | |
w_scale | Calculation base for wc: -2*pi*Ts*fmax |
gain | Gain |
sfr | Shift factor forgain |
in_old | In(k-1) |
Data Structure:
Name | Float32 |
ID | 3411 |
Revision | 0.1 |
C filename | AdaptivePT1_Float32.c |
H filename | AdaptivePT1_Float32.h |
32 Bit Floating Point Implementation
Controller Parameters | |
w_scale | Calculation base for wc: -2*pi*Ts*fmax |
gain | Gain |
in_old | In(k-1) |
Data Structure:
Name | Float64 |
ID | 3412 |
Revision | 0.1 |
C filename | AdaptivePT1_Float64.c |
H filename | AdaptivePT1_Float64.h |
64 Bit Floating Point Implementation
Controller Parameters | |
w_scale | Calculation base for wc: -2*pi*Ts*fmax |
gain | Gain |
in_old | In(k-1) |
Data Structure: