Speed source
Forces the flange to follow the input speed, filtered by a critical frequency.
- signal
- rotational
- Modelica Standard Library
- 2 ports
- 1 parameter
speedSourceLibraryRotationalDescription
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-damper coupling, and a load that steps its torque.
Also in this example:ConstantMechanical loadStepInertia & loadSpeed sensorSine waveSpring-damperBacklashInertia (ideal)ClutchTorque sourceConstant torqueSpeed sensor (ideal)
Ports
Inputs 1
-
ω
w_refReference angular velocity, in rad/s.
Conserving terminals 1
-
shaft
flangeDriven flange.
Parameters
-
Filter frequency
f_crit50 Hz≥ 0
Corner frequency of the reference filter, in Hz. Must be positive; at 0 the speed never changes.
Equations
ω = d(flange.phi)/dt dω/dt = 2π · f_crit · (w_ref − ω) Initial: flange.phi = 0, ω = w_ref
Implementation
Modelica.Mechanics.Rotational.Sources.SpeedAssumptions 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.