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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | l1 (from Data) | 0.2 | |
| Real | w1 (from Data) | 0.02 | |
| Real | h1 (from Data) | 0.005 | |
| Real | d1 (from Data) | 400 | |
| Real | min1 (from Data) | -0.2 | |
| Real | max1 (from Data) | 0 | |
| Real | l2 (from Data) | 0.2 | |
| Real | w2 (from Data) | 0.02 | |
| Real | h2 (from Data) | 0.005 | |
| Real | d2 (from Data) | 400 | |
| Real | min2 (from Data) | -0.2 | |
| Real | max2 (from Data) | 0 | |
| Real | r (from Data) | 0.08 | |
| Real | xc (from Data) | 0.1 | |
| Real | yc (from Data) | 0.1 | |
| Real | ratio1 (from Data) | 5 | |
| Real | ratio2 (from Data) | 5 | |
| Real | R (from Data) | 0.635 | |
| Real | I (from Data) | 0.0000208 | |
| Real | k (from Data) | 0.00348 | |
| Real | J (from Data) | 0.000000173 | |
| Real | kprot (from Data) | 4.5 | |
| Real | kppris (from Data) | 5 | |
| Real | period (from Data) | 60 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Servomechanisms.Mechanism.Workspace2d | workspace1 | ||
| Modelica.Mechanics.Translational.Sources.Position | position1 | ||
| Modelica.Mechanics.Translational.Sources.Position | position2 | ||
| Servomechanisms.Control.CircleTrayectory | circletrayectory1 | ||
| Servomechanisms.Mechanism.PP | pp1 |