Rate Limiter
Limit rate of change of the signal.
Description
The Rate Limiter block limits the first derivative of the signal passing through it. The output data does not change faster than the specified limit. The derivative is calculated using this equation:
,
where
-
and are the current block input data and time;
-
and - output data and time at the previous step.
The output signal is determined by comparing with Rising slew rate and Falling slew rate:
-
If is greater than the Rising slew rate parameter ( ), the output signal is calculated as
-
If is less than Falling slew rate ( ), the output signal is calculated as
-
If is between and , the change in output is equal to the change in input:
Ports
Parameters
Rising slew rate - derivative limit for increasing input data
1 (by default)
| scalar
| vector
| matrix
Sets the limit of the input signal slew rate.
Block parameter |
|
Values |
|
By default |
|
Falling slew rate - derivative limit for reducing input data
-1 (by default)
| scalar
| vector
| matrix
Specify the lower limit of the input slew rate. This parameter is adjustable for fixed-point input data.
Block parameter |
|
Values |
|
By default |
|
Sample time mode - calculation step mode
inherited (by default)
| continuous
Specify the calculation step mode.
-
continuous
- continuous. -
inherited
- inherited from the previous block in the model.
Block parameter |
|
Values |
|
By default |
|
Initial condition - initial condition
0 (By default)
| scalar
Set the initial condition of the simulation.
Dependencies
To use this parameter, set the Sample time mode parameter to inherited
.
Block parameter |
|
Values |
|
By default |
|