SlewRateLimiterLimits the slew rate of a signal |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
The SlewRateLimiter
block limits the slew rate of its input signal in the range of [Falling, Rising]
.
To ensure this for arbitrary inputs and in order to produce a differential output, the input is numerically differentiated
with derivative time constant Td
. Smaller time constant Td
means nearer ideal derivative.
Note: The user has to choose the derivative time constant according to the nature of the input signal.
Rising |
Value: 1 Type: Real Description: Maximum rising slew rate [+small..+inf) [1/s] |
---|---|
Falling |
Value: -Rising Type: Real Description: Maximum falling slew rate (-inf..-small] [1/s] |
Td |
Value: 0.001 Type: Time (s) Description: Derivative time constant |
initType |
Value: Modelica.Blocks.Types.Init.SteadyState Type: Init Description: Type of initialization (SteadyState implies y = u) |
y_start |
Value: 0 Type: Real Description: Initial or guess value of output (= state) |
strict |
Value: false Type: Boolean Description: = true, if strict limits with noEvent(..) |
u |
Type: RealInput Description: Connector of Real input signal |
|
---|---|---|
y |
Type: RealOutput Description: Connector of Real output signal |
Modelica.Blocks.Examples Demonstrate usage of Nonlinear.SlewRateLimiter |
|
Modelica.Blocks.Examples.NoiseExamples Demonstrates how to model measurement noise in an actuator |
|
Modelica.Electrical.Machines.Examples.ControlledDCDrives Speed controlled DC PM drive with H-bridge from battery |