Rate Limiter
The limiting rate of change of the signal.
blockType: RateLimiter
Path in the library:
|
Description
Block Rate Limiter limits the first derivative of the signal passing through it. The output does not change faster than the specified limit. The derivative is calculated using the usage of 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 parameters Rising slew rate and Falling slew rate:
-
If more parameter Rising slew rate ( ), the output signal is calculated as
-
If less than a parameter Falling slew rate ( ), the output signal is calculated as
-
If located between borders and , a change in the output is equal to a change in the input:
Ports
Input
#
IN_1
—
Input signal
scalar | vector | the matrix
Details
The input signal whose speed needs to be limited.
| Data types |
|
| Complex numbers support |
Yes |
Output
#
OUT_1
—
Output signal
scalar | vector | the matrix
Details
The output signal from the rate limiting algorithm.
| Data types |
|
| Complex numbers support |
Yes |
Parameters
Main
#
Rising slew rate —
the limit of the derivative to increase the input data
Scalar / array of real numbers
Details
Sets the limit of the input signal rise rate.
| Default value |
|
| Program usage name |
|
| Tunable |
Yes |
| Evaluatable |
Yes |
#
Falling slew rate —
the derivative limit to reduce the input data
Scalar / array of real numbers
Details
Specify the lower limit of the input signal drop rate. This parameter is configurable for fixed-point inputs.
| Default value |
|
| Program usage name |
|
| Tunable |
Yes |
| Evaluatable |
Yes |
#
Sample time mode —
calculation step mode
continuous | inherited
Details
Specify the mode of the calculation step.
-
continuous— continuous. -
inherited— inherited from the previous block in the model.
| Values |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
No |
#
Initial condition —
the initial condition
Scalar / array of real numbers
Details
Set the initial modeling condition.
Dependencies
To use this parameter, set for the parameter Sample time mode meaning inherited.
| Default value |
|
| Program usage name |
|
| Tunable |
Yes |
| Evaluatable |
Yes |