.Servomechanisms.Examples.RRServomechanism.RRMotor2

Information

General

With this example the user can characterize the motor for a selected joint by its transfer function assuming a first order transfer function. With the transfer function obtained a proportional gain is then calculated for a proportional control.

Implementation

The system is interconnected using the SignalDCMotor for one joint and a Position source for the other joint (to maintain it at its initial position).
Once simulated, the values of tau (time constant T) and K (gain k) are obtain for the equivalent first order transfer function with the relations:
K = gain of system for steady state/ reference value
tau = time to reach ~ 0.63K

Then the proportional gain is calculated for a maximum overshot (O) requirement using the following equation:
kpequation.png
Note that O is the overshot value (for example 0.1) not a porcentual overshoot PO (for example 10%).

Notes

Example

Results:

rrmotor2.png
rrmotor22.png

Generated at 2024-10-21T18:25:38Z by OpenModelicaOpenModelica 1.24.0 using GenerateDoc.mos