Rate Limiter
The maximum rate of change of the signal.
blockType: RateLimiter
Path in the library:
|
Description
Block Rate Limiter restricts 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 — input data of the current block and time;
-
and — output data and time in the previous step.
The output signal is determined by comparing with the Rising slew rate and Falling slew rate parameters:
-
If more parameter Rising slew rate ( ), the output signal is calculated as
-
If less than the Falling slew rate parameter ( ), the output signal is calculated as
-
If located between the borders and , a change in the output is equal to a change in the input:
Ports
Parameters
Rising slew rate — the limit of the derivative to increase the input data
1 (default)
| scalar
| vector
| the matrix
Sets the limit of the input signal rise rate.
Block parameter |
|
Values |
|
By default |
|
Falling slew rate — the limit of the derivative to reduce the input data
-1 (default)
| scalar
| vector
| the matrix
Specify the lower limit of the input signal drop rate. This parameter is configurable for fixed-point inputs.
Block parameter |
|
Values |
|
By default |
|
Sample time mode — pass calculation step mode:q[<br>] inherited (default)
| continuous
Specify the mode of the calculation step.
-
continuous
— continuous. -
inherited
— inherited from the previous block in the model.
Block parameter |
|
Values |
|
By default |
|
Initial condition — initial condition of
0 (default)
| scalar
Set the initial modeling condition.
Dependencies
To use this parameter, set the Sample time mode parameter to inherited
.
Block parameter |
|
Values |
|
By default |
|