modelPathPlanning1

Generate reference angles for fastest kinematic movement

Extends from Blocks.Icons.Block (Basic graphical layout of input/output block).

Information

Given

  • start and end angle of an axis
  • maximum speed of the axis
  • maximum acceleration of the axis

this component computes the fastest movement under the given constraints. This means, that:

  1. The axis accelerates with the maximum acceleration until the maximum speed is reached.
  2. Drives with the maximum speed as long as possible.
  3. Decelerates with the negative of the maximum acceleration until rest.

The acceleration, constant velocity and deceleration phase are determined in such a way that the movement starts form the start angles and ends at the end angles. The output of this block are the computed angles, angular velocities and angular acceleration and this information is stored as reference motion on the controlBus of the r3 robot.

Parameters

TypeNameDefaultDescription
Modelica.Units.NonSI.Angle_degangleBegDeg0Start angle
Modelica.Units.NonSI.Angle_degangleEndDeg1End angle
SI.AngularVelocityspeedMax3Maximum axis speed
SI.AngularAccelerationaccMax2.5Maximum axis acceleration
SI.TimestartTime0Start time of movement
SI.TimeswingTime0.5Additional time after reference motion is in rest before simulation is stopped
SI.AngleangleBegCv.from_deg(angleBegDeg)Start angles
SI.AngleangleEndCv.from_deg(angleEndDeg)End angles

Connectors

TypeNameDefaultDescription
ControlBuscontrolBus

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.KinematicPTP2path
PathToAxisControlBuspathToAxis1
Blocks.Logical.TerminateSimulationterminateSimulation