Inports
| |
In | Input In(k) |
Outports
| |
Out | Output Out(k) |
Mask Parameters | |
V | Gain |
fc | Cut off frequency of low pass filter |
ts_fact | Multiplication factor of base sampling time (in integer format) |
method | Discretization method |
First order low pass:
G(s) = V/(s/w + 1)
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 block TF1 is used.
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 | 3312 |
Revision | 0.1 |
C filename | PT1_FiP8.c |
H filename | PT1_FiP8.h |
8 Bit Fixed Point Implementation
Controller Parameters | |
b0 |
|
b1 |
|
a0 | |
sfrb |
|
sfra |
|
in_old | In(k-1) |
Data Structure:
Name | FiP16 |
ID | 3313 |
Revision | 0.1 |
C filename | PT1_FiP16.c |
H filename | PT1_FiP16.h |
16 Bit Fixed Point Implementation
Controller Parameters | |
b0 |
|
b1 |
|
a0 | |
sfrb |
|
sfra |
|
in_old | In(k-1) |
Data Structure:
Name | FiP32 |
ID | 3314 |
Revision | 0.1 |
C filename | PT1_FiP32.c |
H filename | PT1_FiP32.h |
32 Bit Fixed Point Implementation
Controller Parameters | |
b0 |
|
b1 |
|
a0 | |
sfrb |
|
sfra |
|
in_old | In(k-1) |
Data Structure:
Name | Float32 |
ID | 3315 |
Revision | 0.1 |
C filename | PT1_Float32.c |
H filename | PT1_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 | 3316 |
Revision | 0.1 |
C filename | PT1_Float64.c |
H filename | PT1_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: