Inports
| |
In | Input In(k) |
Outports
| |
Out | Output Out(k) |
Mask Parameters | |
b1 | b1 |
b0 | b0 |
a0 | a0 |
ts_fact | Multiplication factor of base sampling time (in integer format) |
First order transfer function:
G(z) = (b1.z + b0) / (z + a0)
Due to limited value range in the 8 bit fixed point implementation rather high deviations from expected output values may occur.
Developer note: The source code of this block is used for blocks DT1 and PT1.
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 | 3280 |
Revision | 0.1 |
C filename | TF1_FiP8.c |
H filename | TF1_FiP8.h |
8 Bit Fixed Point Implementation
Controller Parameters | |
b0 | Coefficient b0 |
b1 | Coefficient b1 |
a0 | Coefficient a0 |
sfrb | Shift factor for coefficient b0 and b1 |
sfra | Shift factor for coefficient a0 |
in_old | In(k-1) |
Data Structure:
Name | FiP16 |
ID | 3281 |
Revision | 0.1 |
C filename | TF1_FiP16.c |
H filename | TF1_FiP16.h |
16 Bit Fixed Point Implementation
Controller Parameters | |
b0 | Coefficient b0 |
b1 | Coefficient b1 |
a0 | Coefficient a0 |
sfrb | Shift factor for coefficient b0 and b1 |
sfra | Shift factor for coefficient a0 |
in_old | In(k-1) |
Data Structure:
Name | FiP32 |
ID | 3282 |
Revision | 0.1 |
C filename | TF1_FiP32.c |
H filename | TF1_FiP32.h |
32 Bit Fixed Point Implementation
Controller Parameters | |
b0 | Coefficient b0 |
b1 | Coefficient b1 |
a0 | Coefficient a0 |
sfrb | Shift factor for coefficient b0 and b1 |
sfra | Shift factor for coefficient a0 |
in_old | In(k-1) |
Data Structure:
Name | Float32 |
ID | 3283 |
Revision | 0.1 |
C filename | TF1_Float32.c |
H filename | TF1_Float32.h |
32 Bit Floating Point Implementation
Controller Parameters | |
b0 | Coefficient b0 |
b1 | Coefficient b1 |
a0 | Coefficient a0 |
in_old | In(k-1) |
Data Structure:
Name | Float64 |
ID | 3284 |
Revision | 0.1 |
C filename | TF1_Float64.c |
H filename | TF1_Float64.h |
64 Bit Floating Point Implementation
Controller Parameters | |
b0 | Coefficient b0 |
b1 | Coefficient b1 |
a0 | Coefficient a0 |
in_old | In(k-1) |
Data Structure: