| Inports
| |
| In |
|
| Init | Value which is loaded at rising flanke of enable signal |
| Enable | Enable == 0: Deactivation of block; Out is set to In. Enable != 0: Activation of block; Out is rate limited. Enable 0->1: Preloading of output; Out is set to value of Init input |
| Outports
| |
| Out |
|
| Mask Parameters | |
| Tr | Rising time in seconds. Slew rate will be 1/Tr |
| Tf | Falling time in seconds. Slew rate will be 1/Tf |
| ts_fact | Multiplication factor of base sampling time (in integer format) |
Limitation of rising and falling rate.
Function of Enable:
0: rate limiting disabled, signal is passed through
1: rate limiting enabled, signal is rate limited
0->1: preload of output with value from init input
Rising and falling time refer to a step from 0 to 1. Entries for Tr: Rising time and Tf: Falling time smaller than the actual sample time will be limited to the sample time internally.
The 16- and 32-Bit fixed point implementations are based on an internal 32-Bit wide slew-rate variable while the 8-Bit fixed point implementation uses a 16-Bit wide slew-rate variable.
| 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 | 288 |
| Revision | 1.0 |
| C filename | uRateLimiter_FiP8.c |
| H filename | uRateLimiter_FiP8.h |
8 Bit Fixed Point Implementation
| Controller Parameters | |
| RateUp | Rising time parameter |
| RateDown | Falling time parameter |
| out_old | Output value from last cycle in int16 format |
| enable_old | Enable value from last cycle |
Data Structure:
| Name | FiP16 |
| ID | 289 |
| Revision | 1.0 |
| C filename | uRateLimiter_FiP16.c |
| H filename | uRateLimiter_FiP16.h |
16 Bit Fixed Point Implementation
| Controller Parameters | |
| RateUp | Rising time parameter |
| RateDown | Falling time parameter |
| out_old | Output value from last cycle in int32 format |
| enable_old | Enable value from last cycle |
Data Structure:
| Name | FiP32 |
| ID | 290 |
| Revision | 1.0 |
| C filename | uRateLimiter_FiP32.c |
| H filename | uRateLimiter_FiP32.h |
32 Bit Fixed Point Implementation
| Controller Parameters | |
| RateUp | Rising time parameter |
| RateDown | Falling time parameter |
| enable_old | Enable value from last cycle |
Data Structure:
| Name | Float32 |
| ID | 291 |
| Revision | 0.1 |
| C filename | uRateLimiter_Float32.c |
| H filename | uRateLimiter_Float32.h |
32 Bit Floating Point Implementation
| Controller Parameters | |
| RateUp | Rising time parameter |
| RateDown | Falling time parameter |
| enable_old | Enable value from last cycle |
Data Structure:
| Name | Float64 |
| ID | 292 |
| Revision | 0.1 |
| C filename | uRateLimiter_Float64.c |
| H filename | uRateLimiter_Float64.h |
64 Bit Floating Point Implementation
| Controller Parameters | |
| RateUp | Rising time parameter |
| RateDown | Falling time parameter |
| enable_old | Enable value from last cycle |
Data Structure: