Slew Rate Limiter
Limits the slew rate of a signal
Description
Equations
Connections
Parameters
Modelica Standard Library
The Slew Rate Limiter block limits the slew rate of its output signal to the range Falling,Rising. To ensure this for arbitrary inputs and in order to produce a differentiable output, the input is numerically differentiated with derivative time constant Td. Smaller time constant Td means nearer ideal derivative. The user has to choose the derivative time constant according to the nature of the input signal.
The Signal Size parameter assigns the dimension of the input and output connectors.
dyidt={smooth⁡1,noEvent⁡min⁡Rising,max⁡Falling,ui−yiTdstrictsmooth⁡1,min⁡Rising,max⁡Falling,ui−yiTdotherwise
Name
Modelica ID
u
Real input vector
y
Real output vector
General Parameters
Default
Units
Signal Size
1
Dimension of input and output signals
signalSize
Rising
1s
Maximum rising slew rate
Falling
−Rising
Maximum falling slew rate
Td
0.001
s
Time constant used to compute numerical derivative
ystart
0
Initial or guess value of output (=state)
y_start
Init type
Steady state initialization (derivatives of states are zero)
Type of initialization (SteadyState implies y = u)
initType
Advanced Parameters
strict
false
True (checked) ensures limits are strictly enforced via events
The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.
See Also
Discontinuous Signal Blocks
Signal Blocks
Download Help Document