WOLFRAM SYSTEM MODELER
SlewRateLimiterDemonstrate usage of Nonlinear.SlewRateLimiter |
SystemModel["Modelica.Blocks.Examples.SlewRateLimiter"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
This example demonstrates how to use the Nonlinear.SlewRateLimiter block to limit a position step with regards to velocity and acceleration:
positionStep
demands an unphysical position step.limit_v
limits velocity.v
calculates velocity from the smoothed position signal.limit_a
limits acceleration of the smoothed velocity signal.a
calculates acceleration from the smoothed velocity signal.positionSmoothed
calculates smoothed position from the smoothed velocity signal.A position controlled drive with limited velocity and limited acceleration (i.e. torque) is able to follow the smoothed reference position.
vMax |
Value: 2 Type: Velocity (m/s) Description: Max. velocity |
---|---|
aMax |
Value: 20 Type: Acceleration (m/s²) Description: Max. acceleration |
positionStep |
Type: Step Description: Generate step signal of type Real |
|
---|---|---|
limit_v |
Type: SlewRateLimiter Description: Limits the slew rate of a signal |
|
v |
Type: Der Description: Derivative of input (= analytic differentiations) |
|
limit_a |
Type: SlewRateLimiter Description: Limits the slew rate of a signal |
|
positionSmoothed |
Type: Integrator Description: Output the integral of the input signal with optional reset |
|
a |
Type: Der Description: Derivative of input (= analytic differentiations) |