Speed source

Forces the flange to follow the input speed, filtered by a critical frequency.

  • signal
  • rotational
  • Modelica Standard Library
  • 2 ports
  • 1 parameter
BlockSpeed sourceKindspeedSourceLibraryRotational

Description

Forces the flange to follow a reference speed, supplying whatever torque that takes. The reference is passed through a first-order filter with critical frequency f_crit, so a step in w_ref gives a finite acceleration.

Example

Clutch, backlash, and rotational sources A clutch that locks, gear backlash, a spring-and-damper coupling, and an inertia whose load torque steps.

100 rad/s at 0.1 sDriveClose at 0.5 sClutchDriven 1 kg·m²Driven speedω ref 10 sin 2πtSpeed sourceBacklash 0.1 radInertia 0.01Speed behind backlash0.5 N·mTorque sourceCoupling spring 10Coupling damper 0.1Inertia 0.02Damping 0.05HousingCoupled speed0.4 N·mInertia 0.002Damping 0.001Housing (load)Load −0.05, −0.4 at 0.45 sLoad speed
In Gradara, select a Speed source block and press F1, then choose Open example. It opens as a new model in My models, ready to run.

Also in this example:ConstantStepSine waveFixed (rotational)Torsion springTorsion damperBacklashInertia (ideal)ClutchTorque sourceConstant torqueTorque stepSpeed sensor

Ports

Inputs 1

  • ωw_ref

    Reference angular velocity, in rad/s.

Conserving terminals 1

  • shaftflange

    Driven flange.

Parameters

  • Filter frequencyf_crit50 Hz

    ≥ 0

    Corner frequency of the reference filter, in Hz. Must be positive; at 0 the speed never changes.

Equations

Modelica
ω = d(flange.phi)/dt
dω/dt = 2π · f_crit · (w_ref − ω)
Initial: flange.phi = 0, ω = w_ref

Implementation

Modelica Standard Library 4.1.0Modelica.Mechanics.Rotational.Sources.Speed
MSL documentation

Assumptions and limitations

  • The initial angle is fixed at 0 and the initial speed at w_ref; do not also fix the initial state of an inertia rigidly attached to the flange.
  • Torque is unlimited: the source is ideal.

Tips

  • Raise f_crit for closer tracking; a very high value makes the model stiff.

See also

Select a block in Gradara and press F1 to open its page offline.