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.