modelPPWorkspace

Extends from Modelica.Icons.Example (Icon for runnable examples), Servomechanisms.Examples.PPServomechanism.Data.

Information

General

The purpose of this model is to determine de workspace and possible trayectory of the mechanism. The parameters used are located in the record. This parameters are used as the parameters of each component as needed.

Implementation

The Workspace2d generates references values between the ranges of the joints feasible motion. This values are then introduced into Angular position sources (from MSL ) and then connected to the RR component.

Notes

  • The block circletrayectory is utilized to verify that the trayectory is within the workspace.
  • Note that the parameter exact in each position source is true to avoid the minimal frequency.
  • Both, the workspace and circle trayectory are completed in 1 sec.

Results

The simulation results in parametric plot are:

Parameters

TypeNameDefaultDescription
Reall1 (from Data)0.2
Realw1 (from Data)0.02
Realh1 (from Data)0.005
Reald1 (from Data)400
Realmin1 (from Data)-0.2
Realmax1 (from Data)0
Reall2 (from Data)0.2
Realw2 (from Data)0.02
Realh2 (from Data)0.005
Reald2 (from Data)400
Realmin2 (from Data)-0.2
Realmax2 (from Data)0
Realr (from Data)0.08
Realxc (from Data)0.1
Realyc (from Data)0.1
Realratio1 (from Data)5
Realratio2 (from Data)5
RealR (from Data)0.635
RealI (from Data)0.0000208
Realk (from Data)0.00348
RealJ (from Data)0.000000173
Realkprot (from Data)4.5
Realkppris (from Data)5
Realperiod (from Data)60

Components

TypeNameDefaultDescription
Servomechanisms.Mechanism.Workspace2dworkspace1
Modelica.Mechanics.Translational.Sources.Positionposition1
Modelica.Mechanics.Translational.Sources.Positionposition2
Servomechanisms.Control.CircleTrayectorycircletrayectory1
Servomechanisms.Mechanism.PPpp1