modelPRTorqueAnalysis

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

Information

General

With this model the torque and RMS torque on each joint can be analysed. With this configuration the dynamic of the system can be calculated.

Implementation

The block of the trayectory is used as input. The outputs of this block are connected to the inputs of the block of inverse kinematics. In this way the coordinates of the trayectory are transform into joint variables.

Utilizing the position source the mechanisms will follow the trayectory and with the acausal modelling it is possible to obtain the torque needed in each joint. If a reduction is used, then the joint variables should be multiplied with the parameter ratio of the idealgear block in order to obtain the expected result.

Notes

  • The velocities obtain are equivalent to calculate differential fordward kinematics
  • The results in this simulations are equivalent to obtain the dynamical behaviour of the systems with methods as Euler Lagrange Equations or Newton-Euler Equations.
  • The analysis of torques and velocities allow the selection of the actuator (dc motor) following the next criteria (although it should be taken into account the effects of disturbances):
  • In order to evaluate the rms torque the simulation should run for two cycles
  • Note that there are two torque analysis (or force analysis) elements per joint, one to evaluate the needed values for the mechanisms and other for those that the motor would proportionate if a reduction is added.

Example

For the first joint:

  • Position
  • Velocity
  • Acceleration
  • Torque and RMS torque since the second cycle
  • Parameters

    TypeNameDefaultDescription
    Reall1 (from Data)0.3
    Realw1 (from Data)0.01
    Realh1 (from Data)0.075
    Reald1 (from Data)888.889
    Realmin1 (from Data)-0.3
    Realmax1 (from Data)0
    Reall2 (from Data)0.085
    Realw2 (from Data)0.02
    Realh2 (from Data)0.005
    Reald2 (from Data)2352.94
    Realmin2 (from Data)-pi/2
    Realmax2 (from Data)pi/2
    Reala (from Data)0.075
    Realb (from Data)1/8
    Realxc (from Data)0.15
    Realyc (from Data)0
    RealR (from Data)0.101
    RealL (from Data)0.0000266
    Realk (from Data)0.0115
    RealJ (from Data)0.0000119
    RealVoltage (from Data)12
    Realperiod (from Data)60
    Realratio1 (from Data)50
    Realratio2 (from Data)5
    Realkprot (from Data)3.9551
    Realkppris (from Data)5.4292

    Components

    TypeNameDefaultDescription
    Servomechanisms.Control.FlowerTrayectoryflowertrayectory1
    Modelica.Mechanics.Rotational.Sources.Positionposition1
    Modelica.Blocks.Math.Gaingain1
    Modelica.Mechanics.Translational.Components.IdealGearR2Tidealgearr2t1
    Servomechanisms.Mechanism.TorqueAnalysistorqueanalysisMotor1
    Modelica.Mechanics.Rotational.Sources.Positionposition2
    Modelica.Mechanics.Rotational.Components.IdealGearidealgear2
    Modelica.Blocks.Math.Gaingain2
    Servomechanisms.Mechanism.TorqueAnalysistorqueanalysisMotor2
    Servomechanisms.Mechanism.ForceAnalysisforceanalysisPrismatic1
    Servomechanisms.Mechanism.TorqueAnalysistorqueanalysisRotational2
    Servomechanisms.Mechanism.PRpr1
    Servomechanisms.Control.PRInverseKinematicsprinversekinematics1